We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4fbd9 commit e9bb5cfCopy full SHA for e9bb5cf
ports/espressif/boards/makergo_esp32c6_supermini/board.c
@@ -5,5 +5,20 @@
5
// SPDX-License-Identifier: MIT
6
7
#include "supervisor/board.h"
8
+#include "mpconfigboard.h"
9
+#include "shared-bindings/microcontroller/Pin.h"
10
+#include "driver/gpio.h"
11
+#include "common-hal/microcontroller/Pin.h"
12
+
13
+bool espressif_board_reset_pin_number(gpio_num_t pin_number) {
14
+ if (pin_number == 15) {
15
+ /*
16
+ * Turn on the spare led on boot as a power indicator
17
+ */
18
+ config_pin_as_output_with_level(pin_number, true);
19
+ return true;
20
+ }
21
+ return false;
22
+}
23
24
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
0 commit comments