Commit Graph

429 Commits

Author SHA1 Message Date
Scott Shawcroft
61d0f7947b
WIP doesn't flush response before closing 2022-06-27 13:34:13 -07:00
Scott Shawcroft
301f3e0456
Start of web server 2022-06-27 13:34:13 -07:00
Neradoc
ba72287db4 Implement default ports to IOTS2 2022-06-22 07:24:27 +02:00
Scott Shawcroft
0c418e98b1
Merge remote-tracking branch 'adafruit/main' into auto_wifi 2022-06-13 15:44:43 -07:00
Scott Shawcroft
dc794f91c0
Speed up auto-wifi with wrong password
This adds basic timeout support to connect by preventing subsequent
retries if over time. The first connect may still take more than
the timeout.
2022-06-13 15:38:19 -07:00
Scott Shawcroft
b191075ab8
Better length checks 2022-06-13 09:18:42 -07:00
Scott Shawcroft
39b8c2c94e
Merge pull request #6453 from KurtE/ESP32_UART
ESP32 USE uart_param_config
2022-06-13 08:56:32 -07:00
Scott Shawcroft
6446010753
Wi-Fi autoconnect and title bar status
This adds support for CIRCUITPY_WIFI_SSID and CIRCUITPY_WIFI_PASSWORD
in `/.env`. When both are defined, CircuitPython will attempt to
connect to the network even when user code isn't running. If the
user code attempts to a network with the same SSID, it will return
immediately. Connecting to another SSID will disconnect from the
auto-connected network. If the user code initiates the connection,
then it will be shutdown after user code exits. (Should match <8
behavior.)

This PR also reworks the default displayio terminal. It now supports
a title bar TileGrid in addition to the (newly renamed) scroll area.
The default title bar is the top row of the display and is positioned
to the right of the Blinka logo when it is enabled. The scroll area
is now below the Blinka logo.

The Wi-Fi auto-connect code now uses the title bar to show its
state including the IP address when connected. It does this through
the "standard" OSC control sequence `ESC ] 0 ; <s> ESC \` where <s>
is the title bar string. This is commonly supported by terminals
so it should work over USB and UART as well.

Related to #6174
2022-06-09 14:55:54 -07:00
Scott Shawcroft
2baf476530
Merge pull request #6463 from adafruit/7.3.x
Catch main up to 7.3.x
2022-06-06 11:58:05 -07:00
Scott Shawcroft
6b09f99eaa
Add back ULAB 2022-06-06 10:35:37 -07:00
Dan Halbert
80ae14202a
Merge pull request #6416 from FoamyGuy/display_brightness_pwm
display brightness pwm 500hz frequency
2022-06-05 23:52:42 -04:00
Dan Halbert
ac282b2a73
Merge pull request #6440 from tannewt/translate_header
Switch translate() to the header file
2022-06-05 23:50:47 -04:00
Dan Halbert
c149bbdcfc
Merge pull request #6447 from SimonVail/main
Add files via upload
2022-06-05 17:11:44 -04:00
Dan Halbert
db6d506b15
Merge pull request #6456 from dhalbert/adafruit_feather_esp32s3_4mbflash_2mbpsram
add adafruit_feather_esp32s3_4mbflash_2mbpsram
2022-06-05 12:31:20 -04:00
foamyguy
67de89861e new argument for feather s3 tft display init 2022-06-04 11:36:45 -05:00
foamyguy
260994d16e Merge branch 'main' into display_brightness_pwm 2022-06-04 11:32:15 -05:00
foamyguy
cbff9dd8e3 add new argument for all boards with built-in display 2022-06-04 11:08:20 -05:00
Dan Halbert
d1cdb72020
Update ports/espressif/boards/adafruit_feather_esp32s3_4mbflash_2mbpsram/mpconfigboard.h
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-06-03 18:21:20 -04:00
Scott Shawcroft
be67067809
Merge remote-tracking branch 'adafruit/main' into translate_header 2022-06-03 15:18:18 -07:00
Dan Halbert
fdb133bbe8 add adafruit_feather_esp32s3_4mbflash_2mbpsram 2022-06-02 21:09:37 -04:00
Dan Halbert
27fb96e6b0
Remove trailing whitespace 2022-06-01 21:35:01 -04:00
gamblor21
40e890323b Add DNS optional to set IP 2022-06-01 20:13:51 -05:00
KurtE
14ab3c7375 ESP32 USE uart_param_config
Use this function instead of several individual configuration functions
to configure such things as Baud rate, transfer size, stop bits,
parity...

This function also resets both the RX and TX Hardware Fifo
reset functions are called to setup the hardware.
2022-06-01 17:09:44 -07:00
gamblor21
4f6d4e2284 Doc fix and add set for DNS 2022-05-31 22:13:18 -05: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
gamblor21
90fe20a153 Adding manual IP address set 2022-05-27 15:33:54 -05:00
Scott Shawcroft
9d10a3da66
Conditionalize LTO 2022-05-27 12:59:54 -07: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
b143314b22 Espressif: fix allocation of multiple Incremental Encoders 2022-05-24 22:37:24 -04: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
Dan Halbert
64df933a83
Merge pull request #6422 from dahanzimin/main
Repair mixgo_ce frozen lib to frozen/
2022-05-23 15:00:42 -04:00
dahanzimin
6454c5895b Repair import and stock in under the frozen / directory 2022-05-23 11:19:11 +08:00
Dan Halbert
6f4f7e089e
Merge pull request #6383 from dahanzimin/main
Add MixGo CE board
2022-05-22 08:47:53 -04: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
Dan Halbert
f63b26c534 address jepler's comments and further squeezes 2022-05-20 10:10:55 -04: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
Dan Halbert
a01dec1df9 message consolidation and more use of validators 2022-05-19 15:38:37 -04: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
Scott Shawcroft
3e85cfe26b
Fix ESP and HCI build 2022-05-12 15:23:26 -07: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
Scott Shawcroft
269d51d023
Add two stage reset for BLE
This lets the BLE stack run through the wait period after a VM run
when it may be waiting for more writes due to an auto-reload.

User BLE functionality will have their events stopped. Scanning and
advertising is also stopped.
2022-05-12 13:20:44 -07: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
Dan Halbert
8b026a2c38 apply i2c delay fix from adafruit/esp-idf 2022-05-08 09:49:18 -04:00
Dan Halbert
30904a8638
Merge pull request #6354 from dhalbert/espressif-dio-fixes
espressif: check properly for pull values
2022-05-05 22:44:29 -04:00
Dan Halbert
0f3eb9f46e espressif: check properly for pull values 2022-05-04 22:51:27 -04: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
Michael Wisslead
e63a327107 Bound PulseIn start indexes to maxlen. 2022-04-28 02:28:34 +00:00
Dan Halbert
4eeaf41edc test and adjust NeoPixel timings on multiple products 2022-04-25 23:12:24 -04: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
Dan Halbert
d5deddcaf5
Merge pull request #6207 from domdfcoding/esp32-rotaryio
Add espressif rotaryio divisor support.
2022-04-06 21:35:02 -04:00
Dominic Davis-Foster
f297e872d6
Account for divisor when overriding position. 2022-04-06 18:13:59 +01:00
Dan Halbert
99dc4029dc Espressif: disable pull-up on AnalogIn creation 2022-04-06 11:33:56 -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
Dominic Davis-Foster
319ca8560c
Always configure the second PCNT channel. 2022-03-31 20:00:34 +01:00
Dan Halbert
ec5c9507b9
Merge pull request #6187 from prplz/espressif-uart-workflow-fixes
Espressif: Fix interrupts in UART workflow
2022-03-30 21:18:02 -04: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
Dominic Davis-Foster
6d025a239e
Add espressif rotaryio divisor support. 2022-03-28 09:04:02 +01:00
Michael Himing
f96cd7361d Fix esp32s2 build 2022-03-27 10:09:23 +11: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
Jeff Epler
35aa32bec0
Merge pull request #6193 from tannewt/fix_empty_mdns
Fix MDNS crash on S2
2022-03-26 15:05:17 -05:00
Michael Himing
686012426d Espressif: Fix interrupts in UART workflow 2022-03-25 16:20:04 +11:00
Eric Rong
7ad6fa8df5 enable SPIRAM support on muselab nanoESP32S2 board 2022-03-24 16:46:13 -07:00
Scott Shawcroft
8642dc4aa7
Fix MDNS crash on S2
Fixes #6186
2022-03-23 17:17:48 -07:00
Scott Shawcroft
380a7087d4
Fix 3-wire SPI on ESP
Simplifying the checks fixed it.

Fixes #6141
2022-03-23 14:53:46 -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