summaryrefslogtreecommitdiff
path: root/docs/esp32
diff options
context:
space:
mode:
authorPeter Harper <peter.harper@raspberrypi.com>2024-07-08 15:57:13 +0100
committerDamien George <damien@micropython.org>2024-10-15 12:12:04 +1100
commit4af09de19cbcf8acef549d094eab846b87ea46ba (patch)
treefa7857756234bb56dd836eafa3e9f94be3cb45a4 /docs/esp32
parente6093c0fbdc7e9da5e044aaa4442bb125939aef9 (diff)
rp2/boards/make-pins.py: Pass num-gpios/num-ext-gpios into make-pins.
NUM_GPIOS amd NUM_EXT_GPIOS are currently hardcoded in make-pins.py, which makes it difficult to support SoCs with different pin count. This commit generalises make-pins.py by passing in the pin count in via the new arguments `--num-gpios` and `--num-ext-gpios`. These default to the current values supported by Pico, namely 30/10. This can be changed with PICO_NUM_GPIOS and PICO_NUM_EXT_GPIOS in `mpconfigboard.cmake`. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions