Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add display object to board module globals
Make sure we have board.DISPLAY available.
  • Loading branch information
dglaude authored Oct 1, 2026
commit d2391beb6166494e04a3bd95db08b8b97ca1ff16
3 changes: 3 additions & 0 deletions ports/espressif/boards/waveshare_esp32_c5_lcd_1_47/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {

// Shared SPI bus singleton
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },

// Built-in Display
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display) },
};
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);
Loading