Merge pull request #3820 from theacodes/bhb-v6

Update Big Honking Button configuration to support its newest board revision.
This commit is contained in:
Dan Halbert 2020-12-12 20:14:19 -05:00 committed by GitHub
commit 6cced49402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,8 @@ CHIP_VARIANT = SAMD21G18A
CHIP_FAMILY = samd21
SPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICE_COUNT = 1
EXTERNAL_FLASH_DEVICES = "GD25Q16C"
EXTERNAL_FLASH_DEVICE_COUNT = 2
EXTERNAL_FLASH_DEVICES = "GD25Q16C, GD25Q64C"
LONGINT_IMPL = MPZ
CIRCUITPY_AUDIOIO = 1

View File

@ -6,5 +6,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_GATE_OUT), MP_ROM_PTR(&pin_PA11) },
{ MP_ROM_QSTR(MP_QSTR_GATE_IN), MP_ROM_PTR(&pin_PA14) },
{ MP_ROM_QSTR(MP_QSTR_PITCH_IN), MP_ROM_PTR(&pin_PB08) },
/* Board revisions starting from v5 have PB10 tied to ground. */
{ MP_ROM_QSTR(MP_QSTR_V5), MP_ROM_PTR(&pin_PB10) },
};
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);