Dan Halbert
d755238005
add pin_skip_reset_once capability
2023-05-19 15:08:53 -04:00
Scott Shawcroft
10b2e6bb4a
Add defined check
2023-05-15 13:04:12 -07:00
Scott Shawcroft
bd2c1198d9
Minor C3 debug tweaks
2023-05-12 14:51:59 -07:00
Dan Halbert
9d1b12066d
Espressif: do not hold pins during deep sleep if not necessary
2022-09-29 20:11:48 -04:00
Dan Halbert
60f43b1703
allow preserving pin state during deep sleep
2022-09-15 17:35:14 -04:00
Scott Shawcroft
df1435ae94
Audit all boards with LED pins defined
...
Add them as MICROPY_HW_LED_STATUS so that we can share reset code
for them. They aren't actually used for the status if another RGB
option is available. (But maybe they should be.)
Fixes #6717
2022-08-11 14:41:20 -07:00
Jeff Epler
f54c7adddc
Must treat NO_PIN cast to uint8_t the same as NO_PIN
...
Otherwise, deinitializing a camera with e.g., the powerdown
pin unspecified results in an assertion failure in a debug build.
2022-08-04 15:11:54 -05:00
Scott Shawcroft
74e841d835
Read fuses to know what flash and ram pins to never reset
2022-08-02 12:01:42 -07:00
Scott Shawcroft
9661d3256c
Add more ESP32 boards and enable web workflow
2022-08-01 15:52:08 -07:00
Dan Halbert
2c7ad7a39f
make translate and pre-commit formatting fixes
2022-07-08 16:53:53 -04:00
Dan Halbert
76e32dcf93
remove need for CIRCUITPY_ESP_PSRAM
2022-07-08 14:54:55 -04:00
Dan Halbert
8bb369cac5
refactor debug UART to console UART; get working on ESP32
2022-06-30 23:16:46 -04:00
Dan Halbert
b0efd130c9
ESP32 REPL working through debug UART
2022-06-29 23:19:36 -04:00
Dan Halbert
780c4963cb
wip; change never-ever reset pin mechanism
2022-06-28 23:06:49 -04:00
Dan Halbert
ca64950503
wip fixes
2022-06-28 18:32:08 -04:00
Dan Halbert
55784c93de
wip; compiles
2022-06-26 21:22:22 -04:00
Scott Shawcroft
6dd9db31b3
Add USB to Serial/JTAG support for REPL
...
Adds Adafruit QT Py C3 board that uses it. Also revamps size
check script to work for S3 and C3 as well.
Fixes #6030
2022-03-21 14:03:57 -07:00
Scott Shawcroft
c4fb5f7df1
Allow ESP boards to customize how a pin is reset
...
This allows board code to override the default pull up reset state.
It is useful for pins that are already externally connected, pulled
or otherwise used by the board.
Fixes #5931
2022-02-17 16:32:29 -08:00
Scott Shawcroft
65af10cd23
Tweak I2C and TFT power pin defaults
...
This should set the power to on by default without preventing the
user code from repeatedly using it.
Fixes #5903
2022-02-14 16:19:56 -08:00
Scott Shawcroft
35175715f9
Check target defined
2022-01-20 14:11:33 -08:00
Scott Shawcroft
d99847b410
Refactor pin reset on ESP
...
This makes it easier to blanket never reset flash and USB pins. It
also allows us to set a custom state after reset. The first case
is for the double tap reset that needs to be pulled low.
Fixes #5893
2022-01-20 12:40:41 -08:00
Scott Shawcroft
13db65566d
ESP NeoPixel fixes
...
This tweaks the RMT timing to better match the 1/3 and 2/3 of 800khz
guideline for timing. It also ensures a delay of 300 microseconds
with the line low before reset.
Pin reset is now changed to the IDF default which pulls the pin up
rather than CircuitPython's old behavior of floating the pin.
Fixes #5679
2022-01-19 16:29:07 -08:00
Jeff Epler
fae6d47a45
espressif: keep never_reset_pins marked as in use
2021-12-06 10:08:44 -06:00
microDev
1be6c41da4
fix espressif serial over uart
2021-09-25 09:03:24 +05:30
Scott Shawcroft
973a90f2aa
Rename esp32s2 port to espressif
...
This is in preparation for ESP32-S3 support and potentially others.
Related to #4363
2021-09-13 16:44:55 -07:00