Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe32dd0

Browse filesBrowse files
committed
Update Big Honking Button configuration to support its newest board revision.
v5 of the BHB board has: * GD25Q64C instead of the GD25Q16C. * Pin PB10 tied to ground for board revision detection.
1 parent eda3392 commit fe32dd0
Copy full SHA for fe32dd0

2 files changed

+4-2Lines changed: 4 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: ports/atmel-samd/boards/winterbloom_big_honking_button/mpconfigboard.mk
+2-2Lines 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
Collapse file

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

Copy file name to clipboardExpand all lines: ports/atmel-samd/boards/winterbloom_big_honking_button/pins.c
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.