Any suggestions ??/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:26:21: error: 'CONFIG_EFUSE_MAX_BLK_LEN' undeclared here (not in a function)
#define MAX_BLK_LEN CONFIG_EFUSE_MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:29:28: note: in expansion of macro 'MAX_BLK_LEN'
#define LAST_FREE_BIT_BLK1 MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:33:16: note: in expansion of macro 'LAST_FREE_BIT_BLK1'
_Static_assert(LAST_FREE_BIT_BLK1 <= MAX_BLK_LEN, "The eFuse table does not match the coding scheme. Edit the table and restart the efuse_common_table or efuse_custom_table command to regenerate the new files.");
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:26:21: error: expression in static assertion is not an integer
#define MAX_BLK_LEN CONFIG_EFUSE_MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:29:28: note: in expansion of macro 'MAX_BLK_LEN'
#define LAST_FREE_BIT_BLK1 MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:33:16: note: in expansion of macro 'LAST_FREE_BIT_BLK1'
_Static_assert(LAST_FREE_BIT_BLK1 <= MAX_BLK_LEN, "The eFuse table does not match the coding scheme. Edit the table and restart the efuse_common_table or efuse_custom_table command to regenerate the new files.");
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:26:21: error: expression in static assertion is not an integer
#define MAX_BLK_LEN CONFIG_EFUSE_MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:30:28: note: in expansion of macro 'MAX_BLK_LEN'
#define LAST_FREE_BIT_BLK2 MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:34:16: note: in expansion of macro 'LAST_FREE_BIT_BLK2'
_Static_assert(LAST_FREE_BIT_BLK2 <= MAX_BLK_LEN, "The eFuse table does not match the coding scheme. Edit the table and restart the efuse_common_table or efuse_custom_table command to regenerate the new files.");
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:31:28: error: expression in static assertion is not an integer
#define LAST_FREE_BIT_BLK3 192
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:35:16: note: in expansion of macro 'LAST_FREE_BIT_BLK3'
_Static_assert(LAST_FREE_BIT_BLK3 <= MAX_BLK_LEN, "The eFuse table does not match the coding scheme. Edit the table and restart the efuse_common_table or efuse_custom_table command to regenerate the new files.");
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:26:21: error: initializer element is not constant
#define MAX_BLK_LEN CONFIG_EFUSE_MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:71:21: note: in expansion of macro 'MAX_BLK_LEN'
{EFUSE_BLK1, 0, MAX_BLK_LEN}, // Flash encrypt. Key. (length = "None" - 256. "3/4" - 192. "REPEAT" - 128),
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:26:21: note: (near initialization for 'ENCRYPT_FLASH_KEY[0].bit_count')
#define MAX_BLK_LEN CONFIG_EFUSE_MAX_BLK_LEN
^
/nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.c:71:21: note: in expansion of macro 'MAX_BLK_LEN'
{EFUSE_BLK1, 0, MAX_BLK_LEN}, // Flash encrypt. Key. (length = "None" - 256. "3/4" - 192. "REPEAT" - 128),
^
../../py/mkrules.mk:47: recipe for target 'build//nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.o' failed
make: *** [build//nfs/qnap/dev/uPython/build/micropython/ports/esp32/esp-idf/components/efuse/esp32/esp_efuse_table.o] Error 1
make: *** Waiting for unfinished jobs....
[Solved] Cannot Build Latest using esp-idf 6b3da6b
[Solved] Cannot Build Latest using esp-idf 6b3da6b
Just updated uPython and the esp-idf to 6b3da6b188 (3.3 Beta) and cannot get it to build anymore.
Last edited by devnull on Tue Jul 02, 2019 11:32 am, edited 1 time in total.
Re: Cannot Build Latest using esp-idf 6b3da6b
No issues here. Did you
- also update the tool package to xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0?
- run git submodule update --init after checkou out esp-idf 6b3da6b (my favorite omission)?
- also update the tool package to xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0?
- run git submodule update --init after checkou out esp-idf 6b3da6b (my favorite omission)?
Re: Cannot Build Latest using esp-idf 6b3da6b
Thanks Robert;
Yes, fully updated including the toolchain.
Silly mistake, needed to make clean
Yes, fully updated including the toolchain.
Silly mistake, needed to make clean
Re: [Solved] Cannot Build Latest using esp-idf 6b3da6b
Sounds familiar. Another one of my top ten.