Dan Halbert
8814ee03f1
Merge pull request #6542 from todbot/wifi-tx-power
...
Add wifi.radio.tx_power
2022-07-01 14:09:08 -04:00
Tod Kurt
698d563dcf
adust wifi.radio.tx_power to be x4 (in db) as mentioned in #6540
2022-06-30 15:33:03 -07:00
Tod Kurt
2a563cc8ba
first cut at wifi.radio.tx_power
2022-06-30 15:10:16 -07:00
Scott Shawcroft
3be3e89d82
Merge branch 'main' into cp_webserver
2022-06-29 14:01:32 -07:00
Scott Shawcroft
8dc8265275
Fix auto-wifi created crash
...
The wifi event_handler runs on the other core so we need to be
careful when calling into CP APIs.
Fixes #6503
2022-06-29 11:53:10 -07:00
Scott Shawcroft
41039445c9
Clean up and add docs
2022-06-27 13:39:09 -07:00
Scott Shawcroft
3cd05291d0
Static files + welcome page
2022-06-27 13:39:09 -07:00
Scott Shawcroft
7543dd9af0
CORS works and autoreload too
2022-06-27 13:39:08 -07:00
Scott Shawcroft
92593aa7a1
Fix bind, remove hard coded ip
2022-06-27 13:34:13 -07:00
Scott Shawcroft
4f0a7aedfd
WIP adding devices.json and auth
2022-06-27 13:34:13 -07:00
Scott Shawcroft
32478345f8
more tweaks
2022-06-27 13:34:13 -07:00
Scott Shawcroft
0882cbf823
web server kinda works
2022-06-27 13:34:13 -07:00
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
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
be67067809
Merge remote-tracking branch 'adafruit/main' into translate_header
2022-06-03 15:18:18 -07: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
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
Dan Halbert
b143314b22
Espressif: fix allocation of multiple Incremental Encoders
2022-05-24 22:37:24 -04:00
Dan Halbert
f63b26c534
address jepler's comments and further squeezes
2022-05-20 10:10:55 -04:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Scott Shawcroft
3e85cfe26b
Fix ESP and HCI build
2022-05-12 15:23:26 -07: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
Dan Halbert
0f3eb9f46e
espressif: check properly for pull values
2022-05-04 22:51:27 -04: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
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
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
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
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
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
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
92d946fcac
Guard against NULL result
2022-03-21 10:15:46 -07:00
Scott Shawcroft
6f0d62d85e
Formatting and shrink build size on C3
2022-03-18 12:05:54 -07: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
Scott Shawcroft
96dd11a198
Update ESP-IDF to fix PinAlarm
...
Fixes #5973
2022-03-11 14:40:49 -08:00