diff options
author | iabdalkader <i.abdalkader@gmail.com> | 2022-10-25 20:45:00 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-01-16 11:44:26 +1100 |
commit | c214c9e6481749d90a7c487e24afddef061c0d8d (patch) | |
tree | 4916456e5935a7b5ce06a3e6259db6170c4296d8 /docs/esp32/tutorial | |
parent | 66e0cfc3b96b60e8be7e69e004ded525cedc3391 (diff) |
rp2/machine_pin: Add support for named pins and alternate functions.
This commit adds support for generating named pin mappings for all pins
including CPU, board-defined, LED and externally controlled pins. CPU pins
are mapped to `pin_GPIO<n>`, externally-controlled pins are mapped to
`pin_EXT_GPIO<n>`, and defined conditionally (up to 10 pins, and can be
expanded in the future), and they are non-const to allow `machine-pin.c` to
write the pin object fields. Both CPU and externally controlled pins are
generated even if there's no board CSV file; if one exists it will just be
added to board pins.
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions