You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ grep -rn mz_crc32 esp-idf/components/esp_rom/*
esp-idf/components/esp_rom/esp32/ld/esp32.rom.ld:185:PROVIDE ( mz_crc32 = 0x4005ee88 );
esp-idf/components/esp_rom/esp32c3/ld/esp32c3.rom.ld:69:mz_crc32 = 0x400000c4;
esp-idf/components/esp_rom/esp32h2/ld/rev1/esp32h2.rom.ld:74:mz_crc32 = 0x400000c0;
esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.ld:428:PROVIDE ( mz_crc32 = 0x40002f58 );
esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld:71:mz_crc32 = 0x40000798;
esp-idf/components/esp_rom/include/esp32s3/rom/miniz.h:88:// mz_crc32() returns the initial CRC-32 value to use when called with ptr==NULL.
esp-idf/components/esp_rom/include/esp32s3/rom/miniz.h:89:mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len);
esp-idf/components/esp_rom/include/esp32s3/rom/miniz.h:298:#define crc32 mz_crc32
esp-idf/components/esp_rom/include/esp32h2/rom/miniz.h:89:// mz_crc32() returns the initial CRC-32 value to use when called with ptr==NULL.
esp-idf/components/esp_rom/include/esp32h2/rom/miniz.h:90:mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len);
esp-idf/components/esp_rom/include/esp32h2/rom/miniz.h:299:#define crc32 mz_crc32
esp-idf/components/esp_rom/include/esp32/rom/miniz.h:89:// mz_crc32() returns the initial CRC-32 value to use when called with ptr==NULL.
esp-idf/components/esp_rom/include/esp32/rom/miniz.h:90:mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len);
esp-idf/components/esp_rom/include/esp32/rom/miniz.h:300: #define crc32 mz_crc32
esp-idf/components/esp_rom/include/esp32s2/rom/miniz.h:89:// mz_crc32() returns the initial CRC-32 value to use when called with ptr==NULL.
esp-idf/components/esp_rom/include/esp32s2/rom/miniz.h:90:mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len);
esp-idf/components/esp_rom/include/esp32s2/rom/miniz.h:300: #define crc32 mz_crc32
esp-idf/components/esp_rom/include/esp32c3/rom/miniz.h:89:// mz_crc32() returns the initial CRC-32 value to use when called with ptr==NULL.
esp-idf/components/esp_rom/include/esp32c3/rom/miniz.h:90:mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len);
esp-idf/components/esp_rom/include/esp32c3/rom/miniz.h:299:#define crc32 mz_crc32
esp-idf/components/esp_rom/include/esp32c2/rom/miniz.h:94:// mz_crc32() returns the initial CRC-32 value to use when called with ptr==NULL.
esp-idf/components/esp_rom/include/esp32c2/rom/miniz.h:95:mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len);
esp-idf/components/esp_rom/include/esp32c2/rom/miniz.h:304:#define crc32 mz_crc32
The text was updated successfully, but these errors were encountered:
Good catch, I checked the ROM code and found that the mz_crc32 now equals to crc32_le. We will update the rom/include/esp32c2/rom/miniz.h to reflect that change.
Answers checklist.
General issue report
The following code builds correctly on any of esp32/esp32s2/esp32s3/esp32c3.
But esp32c2 gives an error.
The text was updated successfully, but these errors were encountered: