Commit Graph

300 Commits

Author SHA1 Message Date
Dan Halbert
27fb96e6b0
Remove trailing whitespace 2022-06-01 21:35:01 -04:00
SimonVail
b2344bcde2
Update pins.c 2022-05-30 11:52:29 -04:00
SimonVail
f36dbb386b
Add files via upload 2022-05-30 11:47:51 -04:00
Scott Shawcroft
c676253834
Switch translate() to the header file
This allows the compile stage to optimize most of the translate()
function away and saves a ton of space (~40k on ESP). *However*, it
requires us to wait for the qstr output before we compile the rest
of our .o files. (Only qstr.o used to wait.)

This isn't as good as the current setup with LTO though. Trinket M0
loses <1k with this setup.

So, we should probably conditionalize this along with LTO.
2022-05-27 10:33:53 -07:00
Dan Halbert
99d7d0d8bb Disable ulab for ESP32-S3 TFT 2022-05-24 14:59:34 -04:00
lady ada
e22de975b3 try just bitbangio remove 2022-05-24 11:46:03 -04:00
lady ada
9439ce04bd try to remove some space? 2022-05-24 11:28:55 -04:00
lady ada
bb4beb3fab add esp32s3 tft 2022-05-23 23:57:35 -04:00
dahanzimin
6454c5895b Repair import and stock in under the frozen / directory 2022-05-23 11:19:11 +08:00
大汉子民
e5a5ffb9b0
Update board.c 2022-05-22 11:37:39 +08:00
dahanzimin
37e376631a Fix format issues 2022-05-22 11:22:58 +08:00
dahanzimin
b62799a798 Add mixgo_ ce_ Serial function, repair sdkconfig 2022-05-22 10:42:56 +08:00
dahanzimin
3e47d24fb9 Update submodule and create tag 2022-05-21 10:52:14 +08:00
大汉子民
4356a12504
Update mpconfigboard.mk 2022-05-20 10:55:23 +08:00
大汉子民
73f2621cda
Repair No newline at end of file 2022-05-20 10:38:14 +08:00
大汉子民
525262cd9a
Merge branch 'main' into main 2022-05-20 10:04:02 +08:00
dahanzimin
e3896be345 Modify mixgoce_ Lib is a submodule 2022-05-20 09:46:55 +08:00
Tod Kurt
d2d08fc944 fix SPI pin names qtpy esp32s3 2022-05-13 16:48:13 -07:00
Dan Halbert
64ca3aa359
Merge pull request #6387 from SimonVail/main
Lilygo TTGO T-OI Plus ESP32C3
2022-05-13 18:31:50 -04:00
SimonVail
1f0bdad083
Update ports/espressif/boards/lilygo_ttgo_t-oi-plus/mpconfigboard.mk
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-05-13 15:02:26 -04:00
SimonVail
ef4d298ca8
Update pins.c 2022-05-12 17:49:48 -04:00
SimonVail
0d92b0a155
Update board.c 2022-05-12 17:46:49 -04:00
SimonVail
b1935975a2
Update board.c 2022-05-12 17:27:48 -04:00
SimonVail
c5db1280ee
Update mpconfigboard.mk 2022-05-12 13:21:58 -04:00
SimonVail
6bdd128fb3
Add files via upload 2022-05-12 13:18:39 -04:00
SimonVail
f69a293795
Create sdkconfig 2022-05-12 13:18:17 -04:00
SimonVail
a4f505dcab
Delete ports/espressif/boards/Lilygo-T-oi-Plus-ESP32C3 directory 2022-05-12 13:17:17 -04:00
SimonVail
0b586e9c94
Update board.c 2022-05-12 12:43:52 -04:00
SimonVail
6fe728a9d2
Update ports/espressif/boards/Lilygo-T-oi-Plus-ESP32C3/pins.c
Co-authored-by: Neradoc <Neradoc@users.noreply.github.com>
2022-05-12 11:57:59 -04:00
SimonVail
6908f5a97e
Update ports/espressif/boards/Lilygo-T-oi-Plus-ESP32C3/board.c
Co-authored-by: Neradoc <Neradoc@users.noreply.github.com>
2022-05-12 11:57:52 -04:00
SimonVail
b6e6ee7505
Update ports/espressif/boards/Lilygo-T-oi-Plus-ESP32C3/mpconfigboard.mk
Co-authored-by: Neradoc <Neradoc@users.noreply.github.com>
2022-05-12 11:57:44 -04:00
SimonVail
b9ea7458ab
Add files via upload 2022-05-12 11:41:53 -04:00
SimonVail
35d78c135a
Create sdkconfig 2022-05-12 11:41:29 -04:00
SimonVail
f86ebe71b6
Delete Lilygo-T-oi-Plus-ESP32C3 2022-05-12 11:40:16 -04:00
SimonVail
0d1740ad27
Create Lilygo-T-oi-Plus-ESP32C3 2022-05-12 11:39:39 -04:00
大汉子民
d4b02e22ae
Thank you. I have applied for PID in espressif 2022-05-12 09:38:13 +08:00
Kong Wai Weng
b9c28742be Added newline at the end of the file. 2022-05-11 15:30:45 +08:00
Kong Wai Weng
466f2a3644 Updated copyright information. 2022-05-11 15:25:32 +08:00
Kong Wai Weng
142ed2a024 Added Maker Feather AIoT S3. 2022-05-11 15:18:31 +08:00
dahanzimin
d48f961d0a Add MixGo CE board 2022-05-10 18:56:13 +08:00
billvanleeuwen424
76040a9380 removed duplicate include per issue 6278 2022-05-04 14:57:37 -04:00
Tod Kurt
7e622c3ff7 mpconfigboard.h also needs neopixel tweak 2022-05-02 13:23:55 -07:00
Tod Kurt
5d4e964de0 fix qtpy_esp32s3_nopsram neopixel pins 2022-05-02 13:04:05 -07:00
Neradoc
17bba7b17d remove Adafruit_CircuitPython_BusDevice from frozen modules, it's built in now 2022-04-19 06:49:11 +02:00
Dan Halbert
c3cfbc1259 Force pin 21 high; patch; need to diagnose further 2022-04-09 22:03:16 -04:00
root
b993313ac1 Don't reset GPIO4 (used for voltage monitoring) 2022-04-05 11:30:12 -05:00
Tod Kurt
390a473dda add board.DISPLAY since display already set up by CirPy 2022-04-01 15:08:43 -07:00
Dan Halbert
6fd968fc12
Merge pull request #6199 from erongd/muselab-wrover-spiram-fix
enable SPIRAM support on muselab nanoESP32S2 board
2022-03-30 21:14:59 -04:00
Jeff Epler
dd73182441
Merge pull request #6190 from tannewt/esp32s3_usb_devkit
Add ESP32-S3-USB-OTG board
2022-03-26 15:05:30 -05:00
Eric Rong
7ad6fa8df5 enable SPIRAM support on muselab nanoESP32S2 board 2022-03-24 16:46:13 -07:00
Scott Shawcroft
e13d32b832
Add ESP32-S3-USB-OTG board
This board has both types of USB connectors, a display and buttons
to select items on the display. It also has a micro-B connector for
the UART output.
2022-03-23 14:10:26 -07:00
Scott Shawcroft
ee4c501936
Merge remote-tracking branch 'adafruit/main' into c3_serial_jtag 2022-03-23 12:17:02 -07:00
Scott Shawcroft
110857c12e
Actually turn on serial over Serial/JTAG for QTPy 2022-03-22 11:45:47 -07:00
Scott Shawcroft
4363361c87
Board definition clean up
Removes:
* AUTORESET_DELAY_MS which never did anything but was introduced
  somehow.
* CIRCUITPY_BOOT_BUTTON in all but one ESP board because they all have
  them. There is a default based on the strapping pins.
* BOARD_USER_SAFE_MODE_ACTION because it was all the same for boards
  with boot buttons. Now the safe mode code manages the message.
2022-03-21 17:58:43 -07:00
Scott Shawcroft
623b6fad16
Fix nested categories in update_sdkconfig.py
Also, mark QTPy C3 as BIN only.
2022-03-21 17:04:19 -07: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
Jeff Epler
4465adfe01
Merge pull request #6175 from tannewt/mdns
Add mdns module
2022-03-21 15:55:03 -05:00
lady ada
fdf27eee12 add feather esp32-s3 8mb flash, 0 psram 2022-03-19 23:04:20 -04:00
Jeff Epler
e9d81c2826
Add mdns module
This allows for CircuitPython to resolve a .local domain and find
other devices with MDNS services.

First step for #6174
2022-03-17 18:16:16 -07:00
Michael Himing
da92d508c2 lilygo_ttgo_t-01c3: Add creation ID 2022-03-17 19:21:34 +11:00
Michael Himing
de168b106c Add board lilygo_ttgo_t-01c3 2022-03-17 17:24:24 +11:00
Dan Halbert
f13d218749
Merge pull request #6125 from tannewt/usb_host
Start of USB host API
2022-03-11 21:41:28 -05:00
Dan Halbert
862210b3fb
Merge pull request #6135 from CircuitART/main
merge hexky_s2 board
2022-03-11 07:48:54 -05:00
CircuitART
43bd2c41e0
Update pins.c 2022-03-11 13:27:08 +08:00
CircuitART
597430ef96
Update pins.c 2022-03-11 12:26:49 +08:00
CircuitART
016bc00f01
Update pins.c
fixed
2022-03-11 11:54:32 +08:00
Scott Shawcroft
c9ec5c89b6
Fix ESP32-S3 box display color order 2022-03-10 15:50:07 -08:00
CircuitART
4bfe9e53df
merge hexky_s2 board
Hello, please add support to my custom esp32-s2 board.
thanks
2022-03-10 13:27:14 +08:00
Dan Halbert
442026548f
Merge pull request #6084 from fabaff/lilygo-ttgo-esp32-s2
Add support for LILYGO TTGO T8 ESP32-S2-WROOM
2022-03-08 21:00:44 -05:00
Fabian Affolter
0a72420dcb Add support for LILYGO TTGO T8 ESP32-S2-WROOM 2022-03-08 20:07:37 +01:00
Fabian Affolter
1b1b363515 Add support for LILYGO TTGO T8 ESP32-S2 2022-03-08 19:56:41 +01:00
Scott Shawcroft
83593a1558
Start of USB host API
This allows you to list and explore connected USB devices. It
only stubs out the methods to communicate to endpoints. That will
come in a follow up once TinyUSB has it. (It's in progress.)

Related to #5986
2022-03-07 18:07:25 -08:00
Dan Halbert
90c5fb2515
Update ports/espressif/boards/adafruit_feather_esp32s2/pins.c 2022-03-01 19:56:23 -05:00
lady ada
ee52795540 fix automatic i2c enablement with rev C 2022-03-01 18:15:37 -05:00
lady ada
a9d87e6e8b fix missing pins, speed up 2022-02-25 20:30:35 -05:00
Scott Shawcroft
e2f56e9031
Merge pull request #6065 from prplz/ai-thinker-esp32c3s-changes
ai_thinker_esp32-c3s: Pull LEDs down on reset
2022-02-22 10:53:50 -08:00
Scott Shawcroft
85b53eab0a
Merge pull request #5963 from arturo182/esp32-s3-devkitm-1
espressif: Add ESP32-S3-DevKitM-1 board support
2022-02-22 10:48:07 -08:00
Michael Himing
dbedb1575e ai_thinker_esp32-c3s: Pull LEDs down on reset 2022-02-19 14:30:51 +11:00
arturo182
e57e4bd667 esp32s3: Rename to devkitm_1 to devkitm_1_n8 to make more future-proof 2022-02-18 21:32:36 +01:00
Dan Halbert
57bbe7922d
Merge pull request #6058 from Neradoc/add-hiibot-iots2
Add hiibot iots2
2022-02-18 12:18:25 -05:00
Dan Halbert
1c3e03d1b1
Merge pull request #6057 from tannewt/board_pin_reset
Allow ESP boards to customize how a pin is reset
2022-02-17 21:12:11 -05:00
Dan Halbert
60ceb6e367
Merge pull request #6043 from makermelissa/main
Add PortalBase and Fake Requests and update Frozen Libs on Portal boards
2022-02-17 20:19:33 -05: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
Neradoc
3acb0d48bc free RX and TX on QTPY-ESP32S2 in non debug builds 2022-02-18 01:13:37 +01:00
Neradoc
aedae120c7 use espressif assigned PID for Hiibot IOTS2 2022-02-17 15:06:38 +01:00
Neradoc
139c2710aa rebase, fix call to common_hal_busio_spi_construct 2022-02-17 14:41:47 +01:00
Neradoc
b1a55e3904 add board.DISPLAY and init to hiibot itos2 (copying from TTGO) 2022-02-17 14:41:47 +01:00
Neradoc
f9f711ab96 now it compiles, so there is that 2022-02-17 14:41:47 +01:00
Neradoc
727dd41a8c add hiibot itos2, original commit before checking 2022-02-17 14:41:47 +01:00
Kattni Rembor
c9213481b3 Update pin name to match TFT pins. 2022-02-16 16:32:08 -05:00
Melissa LeBlanc-Williams
726bf02ea8 Add PortalBase and Fake Requests and update Frozen Libs on Portal boards 2022-02-16 10:12:54 -08:00
Scott Shawcroft
11647f56e4
Merge pull request #6034 from tannewt/i2c_power
Tweak I2C and TFT power pin defaults
2022-02-15 18:00:34 -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
Michael Himing
ca5095c94b Add AI thinker esp32c3s 2M 2022-02-15 07:00:38 +11:00
Scott Shawcroft
2bf5a1ee45
Merge pull request #5998 from anecdata/ESP32-S2-DevKitC-1-N4R2
Espressif ESP32-S2 DevKitC-1-N4R2 board
2022-02-09 11:03:14 -08:00
Dan Halbert
da035fe958
Merge pull request #5990 from sgauche/stm_spi_3wire
Add support for half-duplex SPI to CPy
2022-02-09 13:11:37 -05:00
anecdata
f87c027e00 Espressif ESP32-S2 DevKitC-1-N4R2 board 2022-02-08 22:14:01 -06:00
Scott Gauche
309f4fb2b9 add half_duplex false param to spi construct function call in some board files 2022-02-08 22:59:26 -05:00
anecdata
8e625728d6 LED_INVERTED 2022-02-08 20:34:37 -06:00
Michael Himing
a639004c89 unexpectedmaker_tinys3: Fix D43, D44 2022-02-08 16:13:56 +11:00
Michael Himing
15914edd56 unexpectedmaker_feathers3: Fix A12 2022-02-08 16:13:56 +11:00
Michael Himing
a2fd1e6eb3 unexpectedmaker_pros3: Fix D43, D44 2022-02-08 16:13:56 +11:00
arturo182
6623fe0a53
esp32s3_devkitm: Add GPIO40 2022-02-03 04:06:08 +01:00
Bryan Walsh
2f1c42b15f added GPIO40 pin to esp32s3 devkit boards 2022-02-02 20:16:39 -05:00
Dan Halbert
a04cd6444b
Merge pull request #5966 from Neradoc/add-alias-stemma-i2c
Add alias board.STEMMA_I2C for all boards with qwiic/stemma/QT
2022-02-02 11:08:13 -05:00
Neradoc
b2c8fd3938 add board.STEMMA_I2C alias to some boards 2022-02-02 01:18:46 +01:00
arturo182
2a87a80f69 espressif: Add ESP32-S3-DevKitM-1 board support 2022-02-02 00:18:04 +01:00
Neradoc
93f612eea2 add board.STEMMA_I2C on ESP QT PYs 2022-02-01 20:15:24 +01:00
Seon Rozenblum
1277852501 Added initial support for my new TinyS3, FeatherS3 and ProS3 ESP32-S3 development boards 2022-01-29 14:04:57 +11:00
Dan Kulinski
19f9163892 Bringing branch up to date with current main 2022-01-25 11:02:00 -07:00
Dan Kulinski
60801066b2 Fix magtag, openbook for EPaperDisplay constructor 2022-01-24 12:34:01 -07:00
Michael Himing
4d78e3401c Fix esp32s3 devkitc uart naming and add board.UART 2022-01-22 15:25:33 +11:00
microDev
3970aa5a5e
fix build failure on two boards 2022-01-21 10:11:33 +05:30
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
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
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
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
Jeff Epler
10c3836bc0
feather esp32s2 tft: fix sharing of main display bus 2022-01-12 14:35:00 -06:00
Kattni Rembor
fb96c09118 Add button pin to Feathers, fix pin order on QT Py. 2022-01-12 13:54:56 -05:00
Kattni Rembor
4efbfca2b0 Fix typo, pin order. 2022-01-10 14:45:54 -05:00
Dan Halbert
8aafc734a4
Merge pull request #5789 from adafruit/7.1.x
Merge latest changes from 7.1.x
2021-12-28 18:12:29 -05:00
Dan Halbert
cf70a9ca61 Turn on I2C power for each VM, instead of just after hard reset 2021-12-24 16:27:17 -05:00
Dan Halbert
889b25d792 put I2C_POWER_INVERTED alias before D7, for prettypins 2021-12-24 11:49:58 -05:00
Dan Halbert
cf349af35e turn on I2C power after reset 2021-12-24 11:45:07 -05:00
lady ada
654414e57e fix colororder 2021-12-17 10:41:06 -05:00
lady ada
26c2acae12 nuudge 2021-12-17 09:47:44 -05:00
lady ada
8e540a1738 fix final qtpys2 and s2tft feather pinouts 2021-12-17 09:47:44 -05:00
lady ada
1c1559f5af fix colororder 2021-12-17 09:41:44 -05:00
lady ada
c088090319 nuudge 2021-12-17 01:17:35 -05:00