After cloning the latest version (including pycom-esp-idf) on OS X I get the following compilation error:
/Users/avb/Work/Pycom/pycom-esp-idf/components/soc/esp32/include/soc/io_mux_reg.h: In function 'PIN_PULLUP_DIS':
/Users/avb/Work/Pycom/pycom-esp-idf/components/esp32/include/esp_assert.h:23:28: error: first argument to 'builtin_choose_expr' not a constant
_Static_assert(builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG); \
... many similar messages to follow
This is for a LOPY on 868 MHz
As earlier versions compiled and worked correctly I think something is broken. Any suggestions how to fix this?
Followed yahia13's suggestion, see other thread, to install the newer toolchain. All errors automagically disappeared. Still wondering what the root cause was.
After cloning the latest version (including pycom-esp-idf) on OS X I get the following compilation error: /Users/avb/Work/Pycom/pycom-esp-idf/components/soc/esp32/include/soc/io_mux_reg.h: In function 'PIN_PULLUP_DIS': /Users/avb/Work/Pycom/pycom-esp-idf/components/esp32/include/esp_assert.h:23:28: error: first argument to 'builtin_choose_expr' not a constant _Static_assert(builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG); \ ... many similar messages to follow
This is for a LOPY on 868 MHz As earlier versions compiled and worked correctly I think something is broken. Any suggestions how to fix this?
Tnx, Auke