summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorIhor Nehrutsa <Ihor.Nehrutsa@gmail.com>2022-10-28 19:02:28 +0300
committerDamien George <damien@micropython.org>2022-10-31 11:42:20 +1100
commit5b2929a0e69a4f3667ae9f0dbbfe3677ebc840ad (patch)
tree03059d4d4a388b30337556b73cd02ad993b86ba4 /py
parent12f99481518b0ebcb14f00b2323865a845c2a4f1 (diff)
esp32/machine_pin: Fix size of machine_pin_irq_handler array.
Set the size of machine_pin_irq_handler array to GPIO_NUM_MAX: - Min GPIO_NUM_MAX is 22 for IDF_TARGET_ESP32C3. - Max GPIO_NUM_MAX is 49 for IDF_TARGET_ESP32S3. The MP_REGISTER_ROOT_POINTER entry must be hard-coded, because the location that it's evaluated by the compiler does not include the relevant IDF header to get a definition of GPIO_NUM_MAX.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions