File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,16 @@ extern "C" {
6363
6464#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
6565static const uint8_t BOOT_PIN = 0 ;
66- #define BOOT_PIN BOOT_PIN
6766#elif CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C61
6867static const uint8_t BOOT_PIN = 9 ;
69- #define BOOT_PIN BOOT_PIN
7068#elif CONFIG_IDF_TARGET_ESP32P4
7169static const uint8_t BOOT_PIN = 35 ;
72- #define BOOT_PIN BOOT_PIN
7370#elif CONFIG_IDF_TARGET_ESP32C5
7471static const uint8_t BOOT_PIN = 28 ;
75- #define BOOT_PIN BOOT_PIN
72+ #else
73+ #error BOOT_PIN not defined for this chip!
7674#endif
75+ #define BOOT_PIN BOOT_PIN
7776
7877//forward declaration from freertos/portmacro.h
7978void vPortYield (void );
You can’t perform that action at this time.
0 commit comments