Skip to content

Commit d2cbb39

Browse files
committed
S3 pin qty
1 parent 80fb12b commit d2cbb39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

boards/ESP32S3_IDF4.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,10 @@
146146
boards = [ board_esp32 ];
147147

148148
def get_pins():
149-
# Todo review as ESP32-S3 has there are 45 Physical GPIO pins Numbered 0->21 and 26->48
149+
# ESP32-S3 has 45 Physical GPIO pins Numbered 0->21 and 26->48
150150
# see https://www.espressif.com/sites/default/files/documentation/esp32-s3_technical_reference_manual_en.pdf
151-
pins = pinutils.generate_pins(0,39) # 40 General Purpose I/O Pins.
151+
pins = pinutils.generate_pins(0,48)
152+
# TODO: we could delete 22..25 as ESP32-S3 doesn't seem to have those
152153

153154
# I2C added for issue #2589 - all decided by user (not defined in specs)
154155
pinutils.findpin(pins, "PD8", True)["functions"]["I2C1_SDA"]=0;

0 commit comments

Comments
 (0)