Skip to content

Commit b9305fc

Browse files
authored
Merge pull request #10984 from JonNelson/support-io41-aka-antenna-switch
Support pin IO41 (aka ANTENNA_SWITCH)
2 parents 45fecd2 + 9c64406 commit b9305fc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • ports/espressif/boards/unexpectedmaker_feathers3

ports/espressif/boards/unexpectedmaker_feathers3/pins.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
128128
{ MP_ROM_QSTR(MP_QSTR_LDO2), MP_ROM_PTR(&pin_GPIO39) },
129129
{ MP_ROM_QSTR(MP_QSTR_IO39), MP_ROM_PTR(&pin_GPIO39) },
130130

131+
// built-in vs uFL antenna switch (LOW=built-in, HIGH=uFL, default=built-in)
132+
{ MP_ROM_QSTR(MP_QSTR_ANTENNA_SWITCH), MP_ROM_PTR(&pin_GPIO41) },
133+
{ MP_ROM_QSTR(MP_QSTR_IO41), MP_ROM_PTR(&pin_GPIO41) },
134+
131135
// I2C
132136
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
133137
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C), MP_ROM_PTR(&board_i2c_obj) },

0 commit comments

Comments
 (0)