File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
ports/esp32s2/boards/microdev_micro_s2 Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 25
25
*/
26
26
27
27
//Micropython setup
28
-
29
28
#define MICROPY_HW_BOARD_NAME "microS2"
30
29
#define MICROPY_HW_MCU_NAME "ESP32S2"
31
30
32
31
#define MICROPY_HW_LED (&pin_GPIO21)
33
32
#define MICROPY_HW_BUTTON (&pin_GPIO0)
34
33
#define MICROPY_HW_NEOPIXEL (&pin_GPIO33)
35
34
35
+ // Default bus pins
36
+ #define DEFAULT_I2C_BUS_SCL (&pin_GPIO1)
37
+ #define DEFAULT_I2C_BUS_SDA (&pin_GPIO2)
38
+
39
+ #define DEFAULT_SPI_BUS_SCK (&pin_GPIO36)
40
+ #define DEFAULT_SPI_BUS_MOSI (&pin_GPIO35)
41
+ #define DEFAULT_SPI_BUS_MISO (&pin_GPIO37)
42
+
43
+ #define DEFAULT_UART_BUS_TX (&pin_GPIO43)
44
+ #define DEFAULT_UART_BUS_RX (&pin_GPIO44)
45
+
36
46
#define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0)
37
47
48
+ // Explanation of how a user got into safe mode.
38
49
#define BOARD_USER_SAFE_MODE_ACTION translate("pressing boot button at start up.\n")
39
50
40
51
#define AUTORESET_DELAY_MS 500
You can’t perform that action at this time.
0 commit comments