Add missing ESP32-S3 pins to microcontroller module
ESP32-S3 defines two additional general use pins in ports/espressif/peripherals/esp32s3/pins.h, for which support is missing in the microcontroller module HAL.
This commit is contained in:
parent
137e55696e
commit
74624e7c22
|
@ -304,5 +304,11 @@ STATIC const mp_rom_map_elem_t mcu_pin_global_dict_table[] = {
|
|||
#ifdef GPIO46_EXISTS
|
||||
{ MP_ROM_QSTR(MP_QSTR_GPIO46), MP_ROM_PTR(&pin_GPIO46) },
|
||||
#endif
|
||||
#ifdef GPIO47_EXISTS
|
||||
{ MP_ROM_QSTR(MP_QSTR_GPIO47), MP_ROM_PTR(&pin_GPIO47) },
|
||||
#endif
|
||||
#ifdef GPIO48_EXISTS
|
||||
{ MP_ROM_QSTR(MP_QSTR_GPIO48), MP_ROM_PTR(&pin_GPIO48) },
|
||||
#endif
|
||||
};
|
||||
MP_DEFINE_CONST_DICT(mcu_pin_globals, mcu_pin_global_dict_table);
|
||||
|
|
Loading…
Reference in New Issue