Skip to content

Commit b439464

Browse files
authored
Merge pull request #6107 from prplz/add-missing-board-items
Add missing BOARD_DICT_STANDARD_ITEMS to two boards
2 parents ff865b6 + c243478 commit b439464

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ports/nrf/boards/Seeed_XIAO_nRF52840_Sense/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
#define MICROPY_HW_BOARD_NAME "Seeed XIAO nRF52840 Sense"
3131
#define MICROPY_HW_MCU_NAME "nRF52840"
3232

33-
#define MICROPY_HW_LED_STATUS (&pin_P0_26)
34-
3533
#if QSPI_FLASH_FILESYSTEM
3634
#define MICROPY_QSPI_DATA0 NRF_GPIO_PIN_MAP(0, 20)
3735
#define MICROPY_QSPI_DATA1 NRF_GPIO_PIN_MAP(0, 24)

ports/nrf/boards/Seeed_XIAO_nRF52840_Sense/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#include "shared-bindings/board/__init__.h"
22

33
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
4+
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
5+
46
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_P0_02) },
57
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_P0_03) },
68
{ MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_P0_28) },

ports/stm/boards/swan_r5/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
// Core Feather Pins
55
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
6+
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
7+
68
{ MP_ROM_QSTR(MP_QSTR_ENABLE_3V3), MP_ROM_PTR(&pin_PE04) },
79
{ MP_ROM_QSTR(MP_QSTR_DISCHARGE_3V3), MP_ROM_PTR(&pin_PE06) },
810
{ MP_ROM_QSTR(MP_QSTR_DISABLE_DISCHARGING), MP_ROM_TRUE },

0 commit comments

Comments
 (0)