Commit Graph

799 Commits

Author SHA1 Message Date
Scott Shawcroft a5ac5e1efb
Merge pull request #5297 from durapensa/s2mini
Lolin S2 Mini - remove NeoPixel, pin assignments to match Wemos
2021-09-07 14:11:21 -07:00
Durapensa 7e10785ec7 Lolin S2 Mini - fix EOF issue caught by pre-commit 2021-09-03 16:46:50 -04:00
durapensa 2fc372b9e1
Lolin S2 Mini - Apply suggestions from code review
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-09-03 15:10:22 -04:00
Neradoc 8625e53817 change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
Durapensa 15fc44cab7 Lolin S2 Mini fix typo in pin assignment 2021-09-03 12:20:07 -04:00
Durapensa 32b9450e7f Lolin S2 Mini removed some redundant comments 2021-09-03 12:14:59 -04:00
Durapensa c0f039da29 Lolin S2 Mini added pin definitions from Wemos/Lolin D1 Mini 2021-09-03 12:08:38 -04:00
Durapensa ef6d7fe731 Lolin S2 Mini change 'Espressif' references to 'Wemos' 2021-09-03 10:17:44 -04:00
Durapensa 765eee424e Lolin S2 Mini added I2C & SPI defs from Espressif MicroPython 2021-09-03 10:08:38 -04:00
Durapensa ec20b2a02e Merge branch 'main' of github.com:adafruit/circuitpython into s2mini 2021-09-03 09:26:47 -04:00
Durapensa 762c15535f Lolin S2 Mini pin assignment changes 2021-09-03 09:12:14 -04:00
Scott Shawcroft 3508b01ed9
Merge pull request #5294 from tannewt/patch-1
Add FeatherS2 Neo from Unexpected Maker
2021-09-02 12:44:27 -07:00
Scott Shawcroft bf5e8bf20b
Use Espressif PID 2021-09-02 10:17:38 -07:00
Seon Rozenblum 9bfa2a416d Added STAGE support for my TinyS2 board 2021-09-02 18:09:08 +10:00
Seon Rozenblum 24859ed596 Added support for my new FeatherS2 Neo esp32s2 board 2021-09-02 15:01:52 +10:00
Scott Shawcroft cf0899487f
Merge pull request #5237 from jepler/hmi
Add Espressif's HMI DevKit
2021-09-01 13:49:58 -07:00
Scott Shawcroft 9557ca89f2
Update USB PID 2021-09-01 10:50:48 -07:00
Bruce Segal bec7a6265a Change name VBAT_SENSE -> BATTERY 2021-08-31 19:52:40 -07:00
Bruce Segal 736b592d2d Add IO9 / VBAT_SENSE to lilygo-t8-s2-st7789 2021-08-31 16:50:50 -07:00
Scott Shawcroft 5fb4fa6f12
Merge pull request #5260 from jepler/paralleldisplay
Split out paralleldisplay to its own module
2021-08-30 18:35:15 -07:00
Scott Shawcroft 838d30b3a4
Fix incorrect macros 2021-08-30 14:40:14 -07:00
Scott Shawcroft 8fbb3e6d25
Merge pull request #5239 from durapensa/s2mini
Add board Lolin S2 Mini
2021-08-30 14:12:56 -07:00
Durapensa 80cadc6ec1 Added Espressif-assigned PID for "Lolin S2 Mini - CircuitPython" 2021-08-30 06:31:20 -04:00
Jeff Epler 7520feed1c Move ParallelBus to its own module 2021-08-29 07:33:54 -05:00
Scott Shawcroft ca989c4357
Update the idf to a newer 4.3 commit
Also, make all port-level CIRCUITPY_ settings overridable.
2021-08-27 10:49:57 -07:00
Jeff Epler 318ea7c8cb Add Espressif's HMI DevKit
this is only tested to come up to the REPL & mount CIRCUITPY. Pin
assignments should be right but were not double-checked.  The screen
is unsupported so far.

This board depends on the I/O pull ups for the I2C bus (verified by
schematic) so this adds a compile time option that enables pull ups
for ANY i2c bus on a board.
2021-08-26 16:14:19 -05:00
Neradoc 4d05bb26bf change board.ID to board.board_id 2021-08-26 23:11:55 +02:00
Neradoc b14b294516 add board.ID 2021-08-26 23:11:55 +02:00
Durapensa 05874f3fab pre-commit fixes 2021-08-26 14:29:04 -04:00
Durapensa b0d0880f80 Add some more pin definitions, for NEOPIXEL_POWER, I2C, SPI 2021-08-26 13:53:04 -04:00
Durapensa b9c7badb56 fix for default names for BUTTON, NEOPIXEL, SDA/SCL, LED, SPI MOSI/MISO/SCK 2021-08-26 10:31:35 -04:00
Durapensa ffaad96310 fix for GPIO0 / CIRCUITPY_BOOT_BUTTON 2021-08-26 10:15:15 -04:00
Durapensa da1e29d9e4 fix in pins.c for build 2021-08-26 08:59:02 -04:00
Durapensa 5211a492cc Merge branch 'main' of github.com:adafruit/circuitpython into s2mini 2021-08-26 08:28:05 -04:00
Durapensa c6ab3b3a97 nitial try at Lolin S2 Mini board definition 2021-08-25 21:16:22 -04:00
Durapensa 52001f1678 Initial try at Lolin S2 Mini board definition 2021-08-25 21:08:42 -04:00
Jeff Epler 7098d4ccd7 8Kib may align better with flash blocks than 9KiB 2021-08-25 13:39:56 -05:00
Jeff Epler 4621cd54fb esp32s2: update how nvm is mapped onto nvs
The old way mapped each byte of nvm onto a distinct nvs key, but this
allowed storage of only a very small number of bytes out of the
theoretical capacity.

Reworked like this, about half of the nvs capacity can be used for
nvm, so you're guaranteed the ability to store 9kB this way.
2021-08-25 11:39:45 -05:00
Jeff Epler 870aa2d79d espidf: Add function to erase nvs
This may be necessary for some cases of migrating from 6.3.0 to 7.0.0.
2021-08-25 11:37:58 -05:00
microDev df13bef3a1
Merge pull request #5220 from tannewt/fix_esp_i2c_display
Allocate I2C mutex with IDF
2021-08-25 08:42:11 +05:30
Scott Shawcroft 0552ce2d3b
Allocate I2C mutex with IDF
This keeps the mutex info in the same spot in memory. "Statically
allocating it" with CircuitPython meant that the buffer moved when
the I2C object is moved to keep it alive for a display.

Fixes #4962
2021-08-24 16:06:14 -07:00
Scott Shawcroft f9f3894888
Support multiple status dotstars
Only supporting one left a white dotstar stranded.

Fixes #5170
2021-08-24 14:35:11 -07:00
Jeff Epler 379461df7d Deprecate Display's constructor arg set_vertical_scroll 2021-08-23 09:17:59 -05:00
microDev f6d1caabc9
Merge pull request #5182 from tannewt/fix_imx
Check background pending before sleep
2021-08-21 08:00:10 +05:30
Scott Shawcroft d2860b58b0
Check background pending before sleep
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.

Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Jeff Epler 371f166de1 canio: Run background tasks while waiting for message reception
Closes: #5004
2021-08-19 13:55:30 -05:00
Dan Halbert a0c340f727
Update ports/esp32s2/boards/microdev_micro_s2/mpconfigboard.h
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-08-17 11:26:43 -04:00
Dan Halbert 064e086570 correct some status LED pin defns per #5161 2021-08-17 09:33:34 -04:00
Seth Kerr 3b491ac0f3 ran pre-commit locally 2021-08-15 14:02:43 -06:00
Seth Kerr 2ebeeb5daf add ODT PixelWing ESP32S2 2021-08-15 14:02:43 -06:00