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 3131
3232#define MICROPY_HW_LED_STATUS (&pin_GPIO2)
3333
34- #define CIRCUITPY_BOARD_I2C (1)
35- #define CIRCUITPY_BOARD_I2C_PIN {{.scl = &pin_GPIO15, .sda = &pin_GPIO4}}
36-
3734#define CIRCUITPY_BOARD_SPI (1)
3835#define CIRCUITPY_BOARD_SPI_PIN {{.clock = &pin_GPIO18, .mosi = &pin_GPIO23, .miso = &pin_GPIO19}}
3936
40- #define CIRCUITPY_BOARD_UART (0)
41-
42- // For entering safe mode, use VOL button
4337#define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0)
4438
4539// 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.")
4741
4842// UART pins attached to the USB-serial converter chip
4943#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[] = {
102102 { MP_ROM_QSTR (MP_QSTR_START ), MP_ROM_PTR (& pin_GPIO39 ) },
103103 { MP_ROM_QSTR (MP_QSTR_EXP26 ), MP_ROM_PTR (& pin_GPIO39 ) },
104104
105- { MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
106105 { 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 ) },
108106
109107 { MP_ROM_QSTR (MP_QSTR_DISPLAY ), MP_ROM_PTR (& displays [0 ].display )},
110108};
You can’t perform that action at this time.
0 commit comments