Skip to content

Commit 780c496

Browse files
committed
wip; change never-ever reset pin mechanism
1 parent ca64950 commit 780c496

File tree

49 files changed

+117
-326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+117
-326
lines changed

ports/espressif/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ SRC_C += \
247247
bindings/espidf/__init__.c \
248248
boards/$(BOARD)/board.c \
249249
boards/$(BOARD)/pins.c \
250-
modules/$(CIRCUITPY_MODULE).c \
251250
shared/netutils/netutils.c \
252251
peripherals/i2c.c \
253252
peripherals/rmt.c \

ports/espressif/README.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Support Status:
99
.. csv-table::
1010
:header: SoC, Status
1111

12+
ESP, "beta"
1213
ESP32-C3, "beta"
1314
ESP32-S2, "stable"
1415
ESP32-S3, "beta"
@@ -20,13 +21,17 @@ How this port is organized:
2021
- **boards/** contains the configuration files for each development board and breakout available on the port.
2122
- **common-hal/** contains the port-specific module implementations, used by shared-module and shared-bindings.
2223
- **esp-idf/** contains the Espressif IoT Development Framework installation, including all the drivers for the port.
23-
- **modules/** contains information specific to certain Espressif SoC based hardware modules, such as the pins used for flash and RAM on the WROVER and WROOM.
2424
- **peripherals/** contains peripheral setup files and peripheral mapping information, sorted by family and sub-variant. Most files in this directory can be generated with the python scripts in **tools/**.
2525
- **supervisor/** contains port-specific implementations of internal flash, serial and USB, as well as the **port.c** file, which initializes the port at startup.
2626
- **tools/** includes useful Python scripts for debugging and other purposes.
2727

2828
At the root level, refer to **mpconfigboard.h** and **mpconfigport.mk** for port specific settings and a list of enabled CircuitPython modules.
2929

30+
Connecting to the ESP32
31+
---------------------------------------
32+
The ESP32 chip itself has no USB support. On many boards there is a USB-serial adapter chip, such as a CP2102N, CP2104 or CH9102F, usually connected to the ESP32 TXD0 (GPIO1)and RXD0 (GPIO3) pins, for access to the bootloader. CircuitPython also uses this serial channel for the REPL.
33+
34+
3035
Connecting to the ESP32-C3
3136
---------------------------------------
3237

ports/espressif/boards/adafruit_esp32s2_camera/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ CIRCUITPY_ESP_FLASH_MODE = dio
1616
CIRCUITPY_ESP_FLASH_FREQ = 40m
1717
CIRCUITPY_ESP_FLASH_SIZE = 4MB
1818

19-
CIRCUITPY_MODULE = esp32s2_wrover
19+
CIRCUITPY_ESP_PSRAM = 0

ports/espressif/boards/adafruit_feather_esp32_v2/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ CIRCUITPY_ESP_FLASH_MODE = dio
1414
CIRCUITPY_ESP_FLASH_FREQ = 40m
1515
CIRCUITPY_ESP_FLASH_SIZE = 8MB
1616

17-
CIRCUITPY_MODULE = esp32_pico_mini_02
17+
CIRCUITPY_ESP_PSRAM = 1

ports/espressif/boards/adafruit_feather_esp32s2/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ CIRCUITPY_ESP_FLASH_MODE = dio
1616
CIRCUITPY_ESP_FLASH_FREQ = 40m
1717
CIRCUITPY_ESP_FLASH_SIZE = 4MB
1818

19-
CIRCUITPY_MODULE = esp32s2_wroom
19+
CIRCUITPY_ESP_PSRAM = 0

ports/espressif/boards/adafruit_feather_esp32s2_tft/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ CIRCUITPY_ESP_FLASH_MODE = dio
1717
CIRCUITPY_ESP_FLASH_FREQ = 40m
1818
CIRCUITPY_ESP_FLASH_SIZE = 4MB
1919

20-
CIRCUITPY_MODULE = esp32s2_wroom
20+
CIRCUITPY_ESP_PSRAM = 0

ports/espressif/boards/adafruit_feather_esp32s2_tftback_nopsram/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CIRCUITPY_ESP_FLASH_MODE = dio
1616
CIRCUITPY_ESP_FLASH_FREQ = 40m
1717
CIRCUITPY_ESP_FLASH_SIZE = 4MB
1818

19-
CIRCUITPY_MODULE = esp32s2_wroom
19+
CIRCUITPY_ESP_PSRAM = 0
2020

2121
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Requests
2222
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel

ports/espressif/boards/adafruit_feather_esp32s3_4mbflash_2mbpsram/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ CIRCUITPY_ESP_FLASH_MODE = qio
1616
CIRCUITPY_ESP_FLASH_FREQ = 40m
1717
CIRCUITPY_ESP_FLASH_SIZE = 4MB
1818

19-
CIRCUITPY_MODULE = esp32s3_wrover
19+
CIRCUITPY_ESP_PSRAM = 0

ports/espressif/boards/adafruit_feather_esp32s3_tft/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ CIRCUITPY_ESP_FLASH_MODE = dio
1717
CIRCUITPY_ESP_FLASH_FREQ = 40m
1818
CIRCUITPY_ESP_FLASH_SIZE = 4MB
1919

20-
CIRCUITPY_MODULE = esp32s3_wroom
20+
CIRCUITPY_ESP_PSRAM = 0

ports/espressif/boards/adafruit_funhouse/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CIRCUITPY_ESP_FLASH_MODE = dio
1616
CIRCUITPY_ESP_FLASH_FREQ = 40m
1717
CIRCUITPY_ESP_FLASH_SIZE = 4MB
1818

19-
CIRCUITPY_MODULE = esp32s2_wrover
19+
CIRCUITPY_ESP_PSRAM = 0
2020

2121
# Include these Python libraries in firmware.
2222
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_PortalBase

0 commit comments

Comments
 (0)