File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
ports/nrf/boards/clue_nrf52840_express Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
#include "shared-bindings/board/__init__.h"
2
2
3
+ #include "boards/board.h"
4
+ #include "shared-module/displayio/__init__.h"
5
+
3
6
STATIC const mp_rom_map_elem_t board_module_globals_table [] = {
4
7
{ MP_ROM_QSTR (MP_QSTR_P0 ), MP_ROM_PTR (& pin_P0_04 ) },
5
8
{ MP_ROM_QSTR (MP_QSTR_D0 ), MP_ROM_PTR (& pin_P0_04 ) },
@@ -96,6 +99,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
96
99
{ MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
97
100
{ MP_ROM_QSTR (MP_QSTR_SPI ), MP_ROM_PTR (& board_spi_obj ) },
98
101
{ MP_ROM_QSTR (MP_QSTR_UART ), MP_ROM_PTR (& board_uart_obj ) },
102
+
103
+ { MP_ROM_QSTR (MP_QSTR_DISPLAY ), MP_ROM_PTR (& displays [0 ].display )}
99
104
};
100
105
101
106
MP_DEFINE_CONST_DICT (board_module_globals , board_module_globals_table );
You can’t perform that action at this time.
0 commit comments