Skip to content

Commit 6cced49

Browse files
authored
Merge pull request #3820 from theacodes/bhb-v6
Update Big Honking Button configuration to support its newest board revision.
2 parents eda3392 + fe32dd0 commit 6cced49

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ports/atmel-samd/boards/winterbloom_big_honking_button/mpconfigboard.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ CHIP_VARIANT = SAMD21G18A
99
CHIP_FAMILY = samd21
1010

1111
SPI_FLASH_FILESYSTEM = 1
12-
EXTERNAL_FLASH_DEVICE_COUNT = 1
13-
EXTERNAL_FLASH_DEVICES = "GD25Q16C"
12+
EXTERNAL_FLASH_DEVICE_COUNT = 2
13+
EXTERNAL_FLASH_DEVICES = "GD25Q16C, GD25Q64C"
1414
LONGINT_IMPL = MPZ
1515

1616
CIRCUITPY_AUDIOIO = 1

ports/atmel-samd/boards/winterbloom_big_honking_button/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
66
{ MP_ROM_QSTR(MP_QSTR_GATE_OUT), MP_ROM_PTR(&pin_PA11) },
77
{ MP_ROM_QSTR(MP_QSTR_GATE_IN), MP_ROM_PTR(&pin_PA14) },
88
{ MP_ROM_QSTR(MP_QSTR_PITCH_IN), MP_ROM_PTR(&pin_PB08) },
9+
/* Board revisions starting from v5 have PB10 tied to ground. */
10+
{ MP_ROM_QSTR(MP_QSTR_V5), MP_ROM_PTR(&pin_PB10) },
911
};
1012
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

0 commit comments

Comments
 (0)