File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,16 @@ extern "C" {
63
63
64
64
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
65
65
static const uint8_t BOOT_PIN = 0 ;
66
- #define BOOT_PIN BOOT_PIN
67
66
#elif CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32C6 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C61
68
67
static const uint8_t BOOT_PIN = 9 ;
69
- #define BOOT_PIN BOOT_PIN
70
68
#elif CONFIG_IDF_TARGET_ESP32P4
71
69
static const uint8_t BOOT_PIN = 35 ;
72
- #define BOOT_PIN BOOT_PIN
73
70
#elif CONFIG_IDF_TARGET_ESP32C5
74
71
static const uint8_t BOOT_PIN = 28 ;
75
- #define BOOT_PIN BOOT_PIN
72
+ #else
73
+ #error BOOT_PIN not defined for this chip!
76
74
#endif
75
+ #define BOOT_PIN BOOT_PIN
77
76
78
77
//forward declaration from freertos/portmacro.h
79
78
void vPortYield (void );
You can’t perform that action at this time.
0 commit comments