File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
ports/espressif/boards/vidi_x Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 31
31
32
32
#define MICROPY_HW_LED_STATUS (&pin_GPIO2)
33
33
34
- #define CIRCUITPY_BOARD_I2C (1)
35
- #define CIRCUITPY_BOARD_I2C_PIN {{.scl = &pin_GPIO15, .sda = &pin_GPIO4}}
36
-
37
34
#define CIRCUITPY_BOARD_SPI (1)
38
35
#define CIRCUITPY_BOARD_SPI_PIN {{.clock = &pin_GPIO18, .mosi = &pin_GPIO23, .miso = &pin_GPIO19}}
39
36
40
- #define CIRCUITPY_BOARD_UART (0)
41
-
42
- // For entering safe mode, use VOL button
43
37
#define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0)
44
38
45
39
// Explanation of how a user got into safe mode
46
- #define BOARD_USER_SAFE_MODE_ACTION MP_ERROR_TEXT("You pressed the VOL button at start up.")
40
+ #define BOARD_USER_SAFE_MODE_ACTION MP_ERROR_TEXT("You pressed the VOLUME button at start up.")
47
41
48
42
// UART pins attached to the USB-serial converter chip
49
43
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO1)
Original file line number Diff line number Diff line change @@ -102,9 +102,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
102
102
{ MP_ROM_QSTR (MP_QSTR_START ), MP_ROM_PTR (& pin_GPIO39 ) },
103
103
{ MP_ROM_QSTR (MP_QSTR_EXP26 ), MP_ROM_PTR (& pin_GPIO39 ) },
104
104
105
- { MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
106
105
{ MP_ROM_QSTR (MP_QSTR_SPI ), MP_ROM_PTR (& board_spi_obj ) },
107
- { MP_ROM_QSTR (MP_QSTR_UART ), MP_ROM_PTR (& board_uart_obj ) },
108
106
109
107
{ MP_ROM_QSTR (MP_QSTR_DISPLAY ), MP_ROM_PTR (& displays [0 ].display )},
110
108
};
You can’t perform that action at this time.
0 commit comments