Suite :
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:167:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((_r), REG_SET_BIT); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h:101:5: note: in expansion of macro 'REG_SET_BIT'
REG_SET_BIT(PIN_NAME, FUN_PU);
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/esp32/esp_assert.h:23:28: error: expression in static assertion is not constant
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:142:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:167:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((_r), REG_SET_BIT); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h:101:5: note: in expansion of macro 'REG_SET_BIT'
REG_SET_BIT(PIN_NAME, FUN_PU);
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h: In function 'PIN_PULLDWN_DIS':
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/esp32/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); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:142:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:173:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((_r), REG_CLR_BIT); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h:106:5: note: in expansion of macro 'REG_CLR_BIT'
REG_CLR_BIT(PIN_NAME, FUN_PD);
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/esp32/esp_assert.h:23:28: error: expression in static assertion is not constant
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:142:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:173:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((_r), REG_CLR_BIT); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h:106:5: note: in expansion of macro 'REG_CLR_BIT'
REG_CLR_BIT(PIN_NAME, FUN_PD);
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h: In function 'PIN_PULLDWN_EN':
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/esp32/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); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:142:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:167:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((_r), REG_SET_BIT); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h:111:5: note: in expansion of macro 'REG_SET_BIT'
REG_SET_BIT(PIN_NAME, FUN_PD);
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/esp32/esp_assert.h:23:28: error: expression in static assertion is not constant
_Static_assert(__builtin_choose_expr(__builtin_constant_p(CONDITION), (CONDITION), 1), #MSG); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:142:38: note: in expansion of macro 'TRY_STATIC_ASSERT'
#define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(r), (Cannot use OP for DPORT registers use DPORT##OP));
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/soc.h:167:13: note: in expansion of macro 'ASSERT_IF_DPORT_REG'
ASSERT_IF_DPORT_REG((_r), REG_SET_BIT); \
^
C:\Users\Gérard\Documents\Arduino\hardware\espressif\esp32/tools/sdk/include/soc/soc/io_mux_reg.h:111:5: note: in expansion of macro 'REG_SET_BIT'
REG_SET_BIT(PIN_NAME, FUN_PD);
^
exit status 1
Erreur de compilation pour la carte ESP32 Dev Module
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.
Pensez vous pouvoir m'aider, s'il vous plait ?
Merci d'avance