Commit Graph

7880 Commits

Author SHA1 Message Date
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
Dan Halbert 8bae6af12a
Merge pull request #5888 from tannewt/esp_tick_core
Ensure supervisor_tick is run on the same core as CP
2022-01-19 19:26:50 -05:00
Kattni Rembor 880d43a4f7 Fix pin typo. 2022-01-19 17:04:30 -05:00
Scott Shawcroft 42fbebe62a
Merge pull request #5832 from ladyada/main
ESP32S2 camera board draft
2022-01-19 12:04:13 -08:00
Scott Shawcroft 78942112c7
Ensure supervisor_tick is run on the same core as CP 2022-01-19 11:36:40 -08:00
lady ada f13ea93fe6 fix A5 pin name 2022-01-19 14:22:01 -05:00
lady ada 6d7472357d newline 2022-01-18 20:46:09 -05:00
Scott Shawcroft 7ee5c01cf8
Add Espressif C3 dev board 2022-01-18 17:39:52 -08:00
lady ada 09cf95a51c no psram :( 2022-01-18 20:14:17 -05:00
lady ada de45a20b08 EOF 2022-01-18 20:14:17 -05:00
lady ada 71c792d608 try initial esp32s3 qtpy def 2022-01-18 20:14:17 -05:00
lady ada d4dab79234 add buttonpin 2022-01-18 20:14:17 -05:00
lady ada c1cee63c5a fix tuplecompile 2022-01-18 20:14:17 -05:00
lady ada 1d44bf1c0c add camera data port 2022-01-18 20:14:17 -05:00
lady ada 3381ac149e fix camera display io to use default spi bus 2022-01-18 20:14:16 -05:00
lady ada 13b319c430 try rotation 0 2022-01-18 20:14:16 -05:00
lady ada e9f0c1796e oof fix i2c lines! 2022-01-18 20:14:16 -05:00
lady ada 4400124efe snappysnap 2022-01-18 20:14:16 -05:00
lady ada 8b26f594c9 try not resetting i2c power 2022-01-18 20:14:16 -05:00
lady ada 647b894e7b ?? some include needed 2022-01-18 20:14:16 -05:00
lady ada 9c933558b5 enable I2C by default 2022-01-18 20:14:15 -05:00
Scott Shawcroft c839d9b3cc
Fix S2 builds by not turning on USB with wifi 2022-01-18 15:50:32 -08:00
Scott Shawcroft 679f4b30ba
Tweak heap sizes for different targets 2022-01-18 15:23:19 -08:00
Dan Halbert 09bdad6c5b
Merge pull request #5877 from 0hotpotman0/main
Add softdev_version 7.0.1
2022-01-17 21:39:12 -05:00
Dan Halbert 3453ced296
Merge pull request #5860 from tannewt/s3_core_1
Switch CP to core 1 on S3
2022-01-17 16:10:05 -05:00
Jeff Epler 895a8a9e72
Merge pull request #5866 from dhalbert/espressif-open-drain
fix espressif DigitalInOut open-drain
2022-01-17 12:51:31 -06:00
0hotpotman0 9b9dd97e00 add softdev_version 7.0.1 2022-01-17 14:49:11 +08:00
Neradoc 784a5edc4b
Define default SPI pins on kb2040
Fixes #5875
2022-01-17 06:52:08 +01:00
Dan Halbert 11848b1826 use GPIO_MODE_ instead of GPIO_MODE_DEF 2022-01-15 23:05:33 -05:00
Dan Halbert c70c8a9390 fix espressif open-drain 2022-01-15 19:54:31 -05:00
Scott Shawcroft f6cf15de43
Switch CP to core 1 on S3 2022-01-14 12:22:38 -08:00
Scott Shawcroft 993e51e5cc
Fix USB when enabling wifi 2022-01-14 11:52:14 -08:00
Scott Shawcroft 7af7cd418c
Merge pull request #5853 from tannewt/s3_config_rework
Split out target specific configs.
2022-01-14 10:25:50 -08:00
Scott Shawcroft 86e7247d11
Merge pull request #5854 from jepler/issue-5680
patch esp-idf for i2c crash
2022-01-14 09:37:23 -08:00
Jeff Epler c87d9c947b
patch esp-idf for i2c crash
In theory, this Closes: #5680 -- I didn't test it on HW yet.
2022-01-14 08:53:24 -06:00
Scott Shawcroft 869cf5eba5
Run USB on the same core as CP 2022-01-13 15:55:37 -08:00
Scott Shawcroft 39639ecd17
Rework configs to take target into account
New script will filter settings to different tiers.
2022-01-13 15:55:37 -08:00
Scott Shawcroft 2233026556
Merge pull request #5848 from prplz/esp32s3-devkits
Esp32s3 devkits
2022-01-13 14:02:44 -08:00
Dan Halbert 59275c7225
Merge pull request #5846 from jepler/feather-esp32s2-tft-spi
feather esp32s2 tft: fix sharing of main display bus
2022-01-12 23:05:42 -05:00
Michael Himing a878e3377c Rename espressif_esp32s3_devkitc_1 to devkitc_1_n8r2 2022-01-13 13:24:06 +11:00
Michael Himing 212eedc42f Rename espressif_esp32s3_devkitc_1_nopsram to devkitc_1_n8 2022-01-13 13:24:06 +11:00
Michael Himing 7575cacdc5 Add espressif_esp32s3_devkitc_1_n8r8 2022-01-13 13:24:06 +11:00
Kattni 1022866d95
Merge pull request #5844 from kattni/add-button-pin
Add button pin to Feathers, fix pin order on QT Py.
2022-01-12 18:11:46 -05:00
Jeff Epler 10c3836bc0
feather esp32s2 tft: fix sharing of main display bus 2022-01-12 14:35:00 -06:00
Scott Shawcroft ae58858036
Merge pull request #5820 from CharString/waveshare_rp2040_zero
Waveshare RP2040-Zero board definition
2022-01-12 10:56:55 -08:00
Kattni Rembor fb96c09118 Add button pin to Feathers, fix pin order on QT Py. 2022-01-12 13:54:56 -05:00
Scott Shawcroft d5ca7f0348
Merge pull request #5842 from dhalbert/pdmin-fix
Fixes SAMD PDMIn
2022-01-12 10:50:04 -08:00
Dan Halbert dd54e8f657 PDMIn: enable IRQ; need a volatile; call pdmin_reset()
enable IRQ for PDMIn
2022-01-12 11:44:43 -05:00
Chris Wesseling 8226fb8e0b Bring pins in line with board documentation.
This brings the pins in line with the documented [pinouts]. The only
"special" pins:

 - GP0, GP1 are mentioned as the default UART, so we init them as
   such and give them the TX and RX alternative names.
 - GP16 is connected to the onboard neopixel DIN line and we assign it
   the NEOPIXEL name. (Power of the neopixel is connected to the 3.3V
   rail, not a pin. See [schematic].)
 - GP26, GP27, GP28, GP29 have unambiguous ADC designations in the
   [pinouts], so we assign the `A` analogue names as the Pico board
   definition does.

  [pinouts]: https://www.waveshare.com/wiki/RP2040-Zero#Pinouts
  [schematic]: https://www.waveshare.com/w/upload/4/4c/RP2040_Zero.pdf
2022-01-12 12:27:54 +01:00