Dan Halbert
66efed5ba5
fix AuthMode printing regression
2022-12-15 15:49:58 -05:00
Jeff Epler
297657ea9a
Refactor so that all sites of name lookup failure result in gaierror
2022-12-14 14:45:32 -06:00
Jeff Epler
2bf5d2bc07
Merge remote-tracking branch 'origin/main' into dotenv-becomes-toml
2022-12-10 15:39:50 -06:00
Jeff Epler
44f15d563d
Rename "environ" errors to "getenv" errors
2022-12-09 14:14:53 -06:00
Jeff Epler
3a92c079fc
Finish renaming os_environ_get_key to os_getenv
...
.. for consistency.
2022-12-09 14:07:23 -06:00
Jeff Epler
3459fe322b
Withdraw the _environ module
...
This existed solely for testing, so expose it a different way during
the unix coverage build
Also turn off os.getenv support on samd21.
2022-12-08 15:33:10 -06:00
Jeff Epler
170918995c
fix mistaken code formatting
...
I wanted to use the idiom
```c
#if GUARD
if (condition) {
alternate code
} else
#else
{
common default code
}
```
idiom, in which the common default code is conditioned both on a
compile-time check and a run-time check. However, I got it wrong
and uncrustify chipped in, adding extra brackets around a following
piece of code and re-indenting it.
2022-12-08 14:16:53 -06:00
Jeff Epler
ef2bfdb5db
dotenv becomes settings.toml
2022-12-08 12:44:20 -06:00
RetiredWizard
68d510cb2f
Update mpconfigboard.h
...
Configure LED pin for STATUS display and to prevent ESP floating pins from constantly lighting led dimly.
2022-12-07 23:00:09 -05:00
Dan Halbert
44af05283a
Merge pull request #7291 from jepler/issue6502
...
Ensure orderly shutdown of ssl socket
2022-12-07 19:12:12 -05:00
Jeff Epler
2326b49b24
switch this header to 'pragma once' since I'm touching it already
2022-12-07 15:14:54 -06:00
Jeff Epler
a1dd8405f4
use a more standard method of forward-declaring the structure
2022-12-07 15:14:30 -06:00
Dan Halbert
676e40d62f
Merge pull request #7311 from dhalbert/esp32-box-lite-sdkconfig
...
make esp32-box-lite sdkconfig same as box
2022-12-06 21:31:45 -05:00
Dan Halbert
3965ef9c2a
make esp32-box-lite sdkconfig same as box
2022-12-06 19:27:00 -05:00
Scott Shawcroft
b354cec8cb
Three small ESP web workflow fixes
...
* Set nonblock on all accepted sockets. Not just ones for user code.
* Close an open websocket if another is accepted.
* Set debug level to INFO rather than DEBUG because DEBUG crashes
on ESP32-S3 USB OTG.
2022-12-06 11:49:04 -08:00
evildave666
eaf39b4c10
Update pins.c
2022-12-05 16:40:36 +09:00
evildave666
14b430ed35
Fix pre-commit issues
2022-12-05 16:35:48 +09:00
evildave666
5b6f06d84c
Add additional files
2022-12-05 16:08:12 +09:00
evildave666
05a8bf8c38
Create board.c
2022-12-05 16:06:50 +09:00
m1cha1s
b5dda0b770
Removed esp32_devkit_v1 folder
2022-12-02 14:26:46 +01:00
Scott Shawcroft
ded0ee4816
Fix MDNS hostname mangling
...
cpy-MAC hostnames were being mangled on circuitpython.local
conflicts.
Fixes #6869
2022-12-01 17:54:41 -08:00
Jeff Epler
7583ccad2a
Ensure orderly shutdown of ssl socket
...
A crash would occur if an SSL socket was not shut down before
`gc_deinit()`.
I do not fully understand the root cause, but some object deinitialization
/ deallocation prior to `gc_deinit` leaves the SSL object in an
inconsistent state.
Rather than resolve the root cause, instead ensure that the closing of
the user socket also closes the SSL socket.
Closes : #6502
2022-12-01 19:29:20 -06:00
Dan Halbert
b41f7460b7
Merge pull request #7181 from jepler/more-string-qstr-savings
...
More space savings
2022-11-30 21:36:07 -05:00
Jeff Epler
ed33f65fd9
move define to proper place
2022-11-30 14:39:52 -06:00
Jeff Epler
c46e219795
Having an input-only pin is rare, save a string on other ports
2022-11-30 14:39:49 -06:00
Dan Halbert
845b68c351
Merge pull request #7204 from jepler/build-python3x
...
return to using python 3.x for builds
2022-11-30 15:18:29 -05:00
m1cha1s
d904d8e9a0
Renamed the board folder to doit_esp32_devkit_v1
2022-11-30 20:26:41 +01:00
Jeff Epler
e489b73d88
update esp-idf to merge commit
2022-11-30 12:04:47 -06:00
Dan Halbert
2f5ec1cab0
Merge pull request #7281 from jepler/esp32-trailing-dot
...
handle domain with trailing dot
2022-11-30 11:18:47 -05:00
Jeff Epler
286efc18fc
handle domain with trailing dot
...
Closes : #7032
2022-11-30 09:29:21 -06:00
Scott Shawcroft
a8c70aa7bd
Fix S3 deep sleep
...
Adding `-u ld_include_highint_hdl` forces the linker to keep the
high priority interrupt handler that calls the ipc_isr handler.
The deep sleep is waiting for this interrupt to be handled on core
0 before sleeping from core 1.
Fixes #6090
2022-11-29 17:20:38 -08:00
Scott Shawcroft
ad2d190507
Merge pull request #7247 from tannewt/picow_web_workflow
...
Enable* web workflow for Pico W
2022-11-28 14:19:42 -08:00
m1cha1s
680e56c52a
Changed creator id
2022-11-25 14:09:35 +01:00
m1cha1s
26fbb25653
Fixed formatting
2022-11-25 13:55:06 +01:00
m1cha1s
fb46e7c4d8
Defined esp32 board for the esp32 devkit v1
2022-11-25 12:13:44 +01:00
Scott Shawcroft
30563655d7
Merge pull request #7249 from dhalbert/wifi-connect-ap-api
...
correct Radio.connect() and .start_ap() signatures; clean up some code
2022-11-23 10:29:05 -08:00
Dan Halbert
17be447c4b
correct Radio.connect() and .start_ap() signatures; clean up some code
2022-11-22 17:11:03 -05:00
Dan Halbert
6d022733b3
Merge pull request #7162 from rhooper/boards-list
...
add boards list to make error message
2022-11-21 23:18:37 -05:00
Scott Shawcroft
c3a96a63c0
Enable* web workflow for Pico W
...
* Except for circuitpython.local which depends on MDNS and will be
done in a follow up PR.
Progress on #7214
2022-11-21 16:24:05 -08:00
Dan Halbert
df0150ff0e
Add common settings to sdkconfig-esp32c3.defaults
2022-11-21 15:15:26 -05:00
Dan Halbert
85a83b8150
Simplify some ESP32-C3 board sdkconfig files
2022-11-21 12:35:10 -05:00
Jeff Epler
4e0f8e7fcd
Interrupt on UART 'break'
...
Tested and working with the CH9102F USB converter on Adafruit's
Feather ESP32 V2 (& tio as the software on the host computer)
Closes : #7233
2022-11-19 10:57:21 -06:00
MicroDev
c3c1717813
refactor common port specific Makefile code
2022-11-18 23:00:28 +05:30
MicroDev
e2a3597263
add awesome new make error message
...
Copied from initial implementation on atmel-samd
Co-authored-by: Rose Hooper <rhooper@toybox.ca>
Co-authored-by: Jeff Epler <jepler@gmail.com>
2022-11-18 11:27:23 +05:30
MicroDev
3a418379d3
Merge branch 'main' of origin into ESP32-S3-DevKitC-1-N32R8
2022-11-18 09:40:20 +05:30
Neradoc
f9f1edbb08
setup PWM status LED on aithinker ESP32-C3 boards
2022-11-17 20:32:50 +01:00
Jeff Epler
12545fb060
Add prototype feather esp32s2/s3 reverse tft board definition
...
This is not final hardware and may change!
2022-11-15 20:22:20 -06:00
Scott Shawcroft
8e4e84c58b
Match channel number, not timer number
2022-11-15 16:51:47 -08:00
Scott Shawcroft
93ee54a2fb
Fix PWM status LED never_reset
...
It doesn't need never reset because the status LED is only active
when user code isn't.
This also fixes PWM never reset on espressif so that deinit will
undo it.
Fixes #6223
2022-11-15 16:14:31 -08:00
Jeff Epler
412df210ad
Merge remote-tracking branch 'origin/main' into build-python3x
2022-11-15 14:02:09 -06:00
Jeff Epler
14b20087b5
only ignore sdkconfig* files in the espressif port's top directory
...
danh and microdev1 noticed that this ignore pattern was over-broad
and caused added sdkconfig files in boards/ (which should be committed)
to be ignored and not proposed for addition by common tools like
git status, git gui, etc.
This pattern anchors the search so that it only matches in the
ports/espressif directory, so ports/espressif/sdkconfig is ignored
but ports/espressif/boards/example/sdkconfig is not ignored anymore
2022-11-14 11:29:18 -06:00
Jeff Epler
b8f5def985
return to using python 3.x for builds
2022-11-13 09:26:49 -06:00
Dan Halbert
6e9909c65e
Merge pull request #7198 from CRCibernetica/crcibernetica-ideaboard
...
Add new board crcibernetica-ideaboard
2022-11-13 09:12:43 -05:00
root
43566dec5b
allow inclusion of board while blocking build files
2022-11-13 12:13:32 +00:00
MicroDev
512cda8b73
enable microcontroller.cpu.temperature
on esp32s3
2022-11-12 10:03:00 +05:30
root
6c3b9b64da
add crcibernetica-ideaboard
2022-11-12 03:22:15 +00:00
dronecz
11ce074318
Update mpconfigboard.mk
2022-11-08 23:43:13 +01:00
dronecz
28e4834da8
Merge branch 'adafruit:main' into main
2022-11-08 01:02:46 +01:00
dronecz
a568a5c2e2
Rename sdkonfig to sdkconfig
2022-11-06 22:14:19 +01:00
dronecz
f1e658f8bb
Update sdkonfig
2022-11-06 22:07:12 +01:00
Jeff Epler
452ebe27ae
socketpool: make socket objects selectable
...
.. which will lead to them being usable in async contexts, pending
relevant changes in asyncio
2022-11-05 12:05:19 -05:00
dronecz
882100a87a
Create sdkonfig
2022-11-02 22:10:44 +01:00
dronecz
71b5e6088b
Update mpconfigboard.mk
2022-11-02 22:07:28 +01:00
dronecz
d6fe378456
Update mpconfigboard.h
2022-11-02 22:05:39 +01:00
dronecz
9b1181804c
Merge branch 'adafruit:main' into main
2022-10-30 19:16:05 +01:00
dronecz
468709abcc
Update pins.c
...
Hopefully last change nefore merge.
2022-10-30 18:51:46 +01:00
Dan Halbert
952812cdea
Merge pull request #7154 from dhalbert/alarm-lifetime
...
Save wake alarm info in static storage, simplifying recording of alarm
2022-10-30 12:28:50 -04:00
dronecz
ae8f415bd5
Update board.c
2022-10-30 02:17:38 +02:00
Neradoc
0aa41fa92e
change BOARD_USER_SAFE_MODE_ACTION into a separate sentence
2022-10-30 01:55:42 +02:00
Neradoc
934d2a7004
remove duplicate press boot button, it's already the default
2022-10-30 01:52:17 +02:00
dronecz
5d7c58da5d
Update pins.c
...
Attempt to fix build issue
2022-10-30 01:52:09 +02:00
Dan Halbert
ded134c346
store wake_alarm in a static object
2022-10-29 16:26:36 -04:00
Dan Halbert
a064b52ad7
CIRCUITPY_ESP32_CAMERA, not CIRCUITPY_USB_CAMERA
2022-10-29 10:13:11 -04:00
Dan Halbert
2ffd16a10c
Update mpconfigboard.mk
2022-10-29 09:27:09 -04:00
CDario
19fd9107a2
Merded with main branch
2022-10-29 07:46:54 +00:00
CDarius
7282bd9c9a
Removed boilerplate already handled by MP_WEAK definitions
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-10-29 09:34:45 +02:00
Dan Halbert
053d0fa8b5
Merge pull request #7145 from chukwon/fix_lolin_s3
...
fix and add lolin_s3 pins definition
2022-10-28 23:50:53 -04:00
Dan Halbert
d95a085be4
Merge pull request #7144 from CDarius/add_m5stack_core_safe_mode
...
Added safe mode button and fix coyright attribution
2022-10-28 15:59:59 -04:00
Dan Halbert
0221cc8df7
Merge remote-tracking branch 'adafruit/main' into alarm-lifetime
2022-10-28 14:11:32 -04:00
chukwon
9c66320474
fix and add lolin_s3 pins definition
2022-10-28 21:40:35 +08:00
CDario
b815a4cc5e
Added safe mode button and fix coyright attribution
2022-10-28 12:06:11 +00:00
CDario
27142d090b
Fixed copyright attribution
2022-10-28 11:08:30 +00:00
microDev
9a09c62eee
espressif add back ESP32_CAMERA
2022-10-28 13:55:33 +05:30
CDario
b276ed7af9
Fixed copyright attribution
2022-10-28 05:32:09 +00:00
CDario
b94447fde5
Added safe mode button
2022-10-28 05:00:54 +00:00
Dan Halbert
9307b62ad5
wip
2022-10-27 22:42:04 -04:00
Dan Halbert
8fe44a23d2
Merge pull request #7140 from dhalbert/esp32-s3-box-spiram-fix
...
correct SPIRAM settings for ESP32-S3-BOX
2022-10-27 16:09:59 -04:00
Dan Halbert
26688fa826
correct SPIRAM settings for ESP32-S3-BOX
2022-10-27 14:45:29 -04:00
MicroDev
baa44a2dba
Merge pull request #7133 from CDarius/fix_m5stack_core_basic
...
Fixed wrong configuration in sdkconfig
2022-10-27 18:34:07 +05:30
dronecz
d774f3d34f
Update board.c
...
Fix for CLI
2022-10-27 15:02:44 +02:00
dronecz
0e0c106740
Add Maker badge board
2022-10-27 01:06:38 +02:00
CDario
cdbad53649
Fixed wrong configuration in sdkconfig
2022-10-26 20:06:27 +00:00
CDario
be07722bbc
Added board M5Stack Atom Lite
2022-10-26 19:57:23 +00:00
Dan Halbert
5ebdf281cb
Merge pull request #7125 from dhalbert/esp-pin-alarm-fix
...
Fix setup of Espressif PinAlarms
2022-10-26 15:24:58 -04:00
Jeff Epler
366cf4a048
Merge pull request #7113 from CDarius/m5stack_core_fire
...
Added M5Stack Core Fire board
2022-10-26 09:10:50 -05:00
Jeff Epler
76ed0445bb
Merge pull request #7120 from CDarius/m5stack_core_basic
...
Added M5Stack Core Basic board
2022-10-26 09:09:11 -05:00
Dan Halbert
56d8b9451f
don't wait for pulls in PinAlarm
2022-10-25 20:42:08 -04:00
Dan Halbert
e49cd00d60
fix debug UART pins on Metro ESP32-S2
2022-10-25 20:41:08 -04:00
Georg Bøe
032bf63f2d
Raise error with positive code in recv_into for espressif
2022-10-25 22:53:01 +02:00
CDario
f6e2369bbd
Removed not available UART in board
2022-10-25 16:53:42 +00:00
CDario
f9983ff556
Added M5Stack Core Basic board
2022-10-25 16:42:14 +00:00
CDario
c8191e8830
Better pins definitions
2022-10-25 11:41:39 +00:00
CDario
5fa67548ea
Added missing sdkconfig file
2022-10-24 20:03:06 +00:00
CDario
39171d7626
Removed unnecessary compiler flags
2022-10-24 19:21:26 +00:00
CDario
beab76c325
Added M5Stack Core Fire board
2022-10-24 18:38:30 +00:00
MicroDev
773bb99c96
Merge pull request #7099 from Neradoc/add-m5stampc3-board
...
Add M5Stack Stamp C3 Board
2022-10-23 00:05:44 +05:30
Neradoc
3c5bf4e852
Update ports/espressif/boards/m5stack_stamp_c3/mpconfigboard.mk
...
Co-authored-by: MicroDev <70126934+MicroDev1@users.noreply.github.com>
2022-10-22 16:23:27 +02:00
microDev
8f0a674a1b
coproc module enhancements
...
- add light and pretend-to-deep sleep support
- check coproc running status
2022-10-22 19:08:49 +05:30
microDev
83b54d003d
implement more checks in coproc module
...
- check memory address range
- check firmware size at an earlier stage
2022-10-22 19:05:48 +05:30
askpatrickw
d147712522
Add M5 Stamp C3 board
2022-10-22 00:45:54 +02:00
Dan Halbert
da7edf80e0
Merge pull request #7091 from MicroDev1/corpoc
...
Add `CoprocAlarm`
2022-10-21 13:36:01 -04:00
microDev
5b2728bd65
reorganize espressif mpconfigport.mk
2022-10-21 17:35:59 +05:30
microDev
2285dd1838
update espressif risc-v build configuration
...
- use optimization level O2
- explicitly state risc-v arch
2022-10-21 17:11:56 +05:30
microDev
b33a2b45dc
add coproc alarm
2022-10-20 18:38:20 +05:30
microDev
5232e3f6c3
add coproc module
2022-10-20 09:09:44 +05:30
microDev
fb91c2f436
cleanup sdkconfig-esp32.defaults
...
- remove log level: set by -opt or -debug sdkconfig
- remove lwip hostname: set by board specific sdkconfig
2022-10-17 22:05:20 +05:30
microDev
434c6d5604
fix uf2 bootloader condition in makefile
2022-10-17 19:45:48 +05:30
microDev
5114ae7a31
fix 2MB-no-uf2
partition table
2022-10-17 19:44:08 +05:30
microDev
f86377e0f1
fix 4MB-no-uf2
partition table
2022-10-17 19:42:41 +05:30
microDev
e7b25dbf73
improve dualbank
errors
2022-10-15 13:20:10 +05:30
Dan Halbert
0ce84b27e8
Merge pull request #7053 from CytronTechnologies/add-pin-definitions-maker-feather-aiot-s3
...
Added Pin Definitions for Cytron Maker Feather AIoT S3
2022-10-14 11:31:53 -04:00
Kong Wai Weng
fc00a6675e
Added some pin definitions to match with the Arduino core.
2022-10-14 17:25:24 +08:00
microDev
66b539d768
fix espressif log level
2022-10-14 11:33:10 +05:30
Dan Halbert
7e4b2a09eb
Merge pull request #7000 from MicroDev1/storage-extend
...
Add Storage Extension Support
2022-10-13 10:05:55 -04:00
microDev
728fea4ca4
add storage extension python api
2022-10-13 09:53:33 +05:30
Dan Halbert
822e806f03
Merge pull request #7031 from BPI-STEAM/CircuitPython-main-bpi-picow-dev
...
Add BananaPi BPI-PicoW-S3 .
2022-10-11 22:53:37 -04:00
Wind-stormger
376df8ec7e
Add BananaPi BPI-PicoW-S3 .
...
Adds support for the BananaPi BPI-PicoW-S3 Boards.
Based on esp32s3 chip.
With one WS2812 LED, one monochrome LED, one ceramic antenna.
Support double-reset to tinyUF2.
2022-10-12 09:11:25 +08:00
Jeff Epler
c98174eea5
Add support for SSL client certificate (load_cert_chain)
...
Tested with badssl.com:
1. Get client certificates from https://badssl.com/download/
2. Convert public portion with `openssl x509 -in badssl.com-client.pem -out CIRCUITPY/cert.pem`
3. Convert private portion with `openssl rsa -in badssl.com-client.pem -out CIRCUITPY/privkey.pem` and the password `badssl.com`
4. Put wifi settings in CIRCUITPY/.env
5. Run the below Python script:
```py
import os
import wifi
import socketpool
import ssl
import adafruit_requests
TEXT_URL = "https://client.badssl.com/ "
wifi.radio.connect(os.getenv('WIFI_SSID'), os.getenv('WIFI_PASSWORD'))
pool = socketpool.SocketPool(wifi.radio)
context = ssl.create_default_context()
requests = adafruit_requests.Session(pool, context)
print(f"Fetching from {TEXT_URL} without certificate (should fail)")
response = requests.get(TEXT_URL)
print(f"{response.status_code=}, should be 400 Bad Request")
input("hit enter to continue\r")
print("Loading client certificate")
context.load_cert_chain("/cert.pem", "privkey.pem")
requests = adafruit_requests.Session(pool, context)
print(f"Fetching from {TEXT_URL} with certificate (should succeed)")
response = requests.get(TEXT_URL)
print(f"{response.status_code=}, should be 200 OK")
```
2022-10-10 15:10:53 -05:00
Dan Halbert
21c0c4c1a6
update esp-idf; allow start/stop channels in wifi scanning
2022-10-07 15:29:09 -04:00
Dan Halbert
8d82e4ba5f
Merge pull request #7008 from MicroDev1/patch
...
Cleanup `mpconfigboard.mk` of espressif boards
2022-10-06 11:20:11 -04:00
Dan Halbert
e0517c7379
Merge pull request #6999 from jepler/picow-ssl
...
pico_w: implement ssl with caveats
2022-10-06 10:51:36 -04:00
microDev
4f753251db
cleanup mpconfigboard.mk
of espressif boards
...
- move `INTERNAL_FLASH_FILESYSTEM` to `mpconfigport.mk`
- move `LONGINT_IMPL` to `mpconfigport.mk`
- move `CFG_TUD_TASK_QUEUE_SZ` to `Makefile`
2022-10-06 16:15:01 +05:30
microDev
b0ef35d50b
update storage extension implementation
2022-10-06 09:19:56 +05:30
Dan Halbert
296960dd89
shorten board.c
2022-10-05 20:23:19 -04:00
Neradoc
d31acdef6c
we don't use AUTORESET_DELAY_MS
2022-10-06 02:19:48 +02:00
Jeff Epler
a64c1a11c5
move nina-fw certificates so it can be shared with other ports
2022-10-05 14:56:25 -05:00
Jeff Epler
09023abcd2
Update espressif function prototype to match
2022-10-05 14:56:25 -05:00
Kyle Mohr
dd5f9411c8
Merge branch 'adafruit:main' into main
2022-10-05 13:44:12 -05:00
Jeff Epler
dcb650c513
pico w: add ssl module
...
Note: at this time, the ssl module on pico_w never verifies the server
certificate. This means it does not actually provide a higher security
level than regular socket / http protocols.
2022-10-05 13:12:43 -04:00
microDev
2618e11002
use next update partition
2022-10-04 19:42:48 +05:30
microDev
9fe7308b88
conditionally add storage extension
2022-10-04 17:26:28 +05:30
microDev
7d8ff20dac
add initial storage extension support
2022-10-04 17:25:48 +05:30
Kyle Mohr
02e115cbc2
Update mpconfigboard.mk
2022-10-04 00:03:59 -05:00
Kyle Mohr
330b96726a
add newlines to end of files
2022-10-04 04:56:31 +00:00
Kyle Mohr
5268ef01c9
Utilize VID/PID from native USB port
2022-10-03 23:45:28 -05:00
Kyle Mohr
cffc1bfcab
sdkconfig didn't get committed for some reason...
2022-10-03 22:54:31 -05:00
Kyle Mohr
a948dc399b
add esp32-s2-devkitc-1-n8r2 variant
2022-10-04 03:51:51 +00:00
Dan Halbert
90f6096955
fix ai-thinker creation ids; fix some typos elsewhere
2022-10-03 15:29:03 -04:00
Dan Halbert
ad79f595a5
Merge pull request #6974 from MicroDev1/patch
...
Couple Minor Fixes
2022-10-01 13:12:01 -04:00
microDev
7eaeca4eb3
update espressif port's .gitignore
2022-10-01 09:14:48 +05:30
Dan Halbert
f9e655da47
Merge pull request #6962 from dhalbert/espressif-deep-sleep-hold-pins
...
Espressif: do not hold pins during deep sleep if not necessary
2022-09-30 22:20:44 -04:00
Jeff Epler
907c5d387f
Tweak black_bindings
...
Originally, black_bindings found each contiguous "//|" block and sent
it to black independently. This was slower than it needed to be.
Instead, swap the comment prefix: when running black, take off
"//|" prefixes and put "##|" prefixes on all un-prefixed lines.
Then, after black is run, do the opposite operation
This more than doubles the overall speed of "pre-commit run --all",
from 3m20s to 55s CPU time on my local machine (32.5s to under 10s
"elapsed" time)
It also causes a small amount of churn in the bindings, because
black now sees enough context to know whether one 'def' follows another
or ends the 'def's in a 'class'. In the latter case, it adds an extra
newline, which becomes a "//|" line.
I'm less sure why a trailing comma was omitted before down in
rp2pio/StateMachine.c but let's roll with it.
2022-09-30 11:18:13 -05:00
Dan Halbert
9d1b12066d
Espressif: do not hold pins during deep sleep if not necessary
2022-09-29 20:11:48 -04:00
Dan Halbert
db065a299f
Merge pull request #6933 from jepler/ 🥧 🐮
...
Implement a useful subset of `wifi` and `socketpool` modules on 🥧 🐮
2022-09-28 18:09:24 -04:00
Jeff Epler
72bce51ce3
restore submodule commits
2022-09-28 14:48:54 -05:00
Jeff Epler
6c3cdceb45
Implement scan, connect, ping
...
My pings go out, and then they come back
```py
import os
import wifi
import ipaddress
wifi.radio.connect(os.getenv('WIFI_SSID'), os.getenv('WIFI_PASSWORD'))
ipv4 = ipaddress.ip_address("8.8.4.4")
print("Ping google.com: %f ms" % (wifi.radio.ping(ipv4)*1000))
```
2022-09-28 10:06:33 -05:00
Jeff Epler
346fff2e7c
cyw43 basic gpio support, hwaddr in boot_out
2022-09-28 10:06:33 -05:00
Jeff Epler
b2cc8d2aad
run black_bindings across all bindings
2022-09-27 15:21:42 -05:00
Dan Halbert
de80db681f
Merge pull request #6915 from dhalbert/ringbuf-cleanup
...
ringbuf cleanup
2022-09-25 17:50:21 -04:00
Dan Halbert
d44edc4a0c
Merge pull request #6937 from jepler/issue6839
...
Use new unique ID for this board
2022-09-24 23:55:06 -04:00
Jeff Epler
f12136af7f
esp32-camera: sync doc with code.
...
Closes : #6836
2022-09-23 08:54:00 -05:00
Jeff Epler
5bbbca4d44
lock and unlock i2c bus around any ops that might access it
2022-09-22 17:03:05 -05:00
Jeff Epler
a769beed3f
Use new unique ID for this board
2022-09-22 16:23:38 -05:00
Dan Halbert
ea15a9118a
ringbuf cleanup
2022-09-21 10:03:05 -04:00
Jeff Epler
1091d51af2
Merge pull request #6918 from UnexpectedCircuitPython/main
...
Added support for Unexpected Maker TinyPICO (V2/V3) and TinyPICO Nano
2022-09-17 21:39:17 -04:00
Seon Rozenblum
268b3f0dde
Added support for Unexpected Maker TinyPICO (V2/V3) and TinyPICO Nano boards using ESP32-PICO-D4
2022-09-18 09:49:30 +10:00
Paul Price
b2ffda219a
updated a pin definition
2022-09-17 16:53:24 -04:00
MicroDev
4a69dfa50c
Merge pull request #6907 from dhalbert/preserve-pins-on-deep-sleep
...
allow preserving pin state during deep sleep
2022-09-16 17:52:04 +05:30
Dan Halbert
4df8a51982
Remove unneeded workaround for Feather ESP32-S2 TFT
2022-09-15 20:06:47 -04:00
Dan Halbert
60f43b1703
allow preserving pin state during deep sleep
2022-09-15 17:35:14 -04:00
Wind-stormger
56c5f1eedf
Add BananaPi BPI-Leaf-S3.
...
Based on esp32s3, all available pins are drawn.
2M PSRAM, 8M FLASH.
A JST SH 4-pin Connector can be used for STEMMA QT / Qwiic.
A MX 1.25mm 2-Pin Connector Lithium battery power supply.
A WS2812 LED.
2022-09-15 14:18:24 +08:00
Dan Halbert
14fc4a0797
Merge pull request #6898 from dhalbert/espressif-pwmout-reset
...
Espressif pwmout reset fixes
2022-09-14 18:47:05 -04:00
Dan Halbert
ae64f9fd78
Merge pull request #6899 from BPI-STEAM/CircuitPython-main-BPI-BIT-S2-PR
...
Add BananaPi BPI-Bit-S2 .
2022-09-13 23:02:46 -04:00
Wind-stormger
6f4cc611ed
Add BananaPi BPI-Bit-S2 .
...
Adds support for the BananaPi BPI-Bit-S2 Boards.
Based on esp32s2 chip.
With 25 ws2812 LEDs, 1 buzzer, 2 photosensitive sensors, 1 thermosensitive sensor,
2 buttons on the front, 1 reset button and 1 boot button on the back.
2022-09-14 10:21:23 +08:00
Dan Halbert
2b25a5d574
update esp32-camera
2022-09-13 13:16:37 -04:00
Dan Halbert
14adfb16dd
avoid pwmout_reset() workaround by reordering in main(); remove unnecessary never-resets
2022-09-12 21:32:21 -04:00
Dan Halbert
d0d10179c2
fix logic in pwmout_reset()
2022-09-12 17:03:45 -04:00
Kong Wai Weng
c157f1cb39
Cast pin_number to int8_t so that it can be used with switch-case.
2022-09-12 18:56:15 +08:00
Kong Wai Weng
0ae015e4d9
Removed whitespaces.
2022-09-12 18:25:27 +08:00
Kong Wai Weng
aaa2be1200
Set the default pin state for GPIOs to pull down.
2022-09-12 18:19:33 +08:00
microDev
36221bd749
update board microdev_micro_c3
2022-09-11 13:31:38 +05:30
microDev
8cd4b9fc04
fix espressif run modes
2022-09-10 18:08:09 +05:30
Kong Wai Weng
2fbb3090e2
Changed the pins assignment.
2022-09-09 16:50:14 +08:00
Dan Halbert
dd37c81136
Merge pull request #6847 from dhalbert/status-bar-control
...
Allow enabling and disabling of status bar
2022-09-08 10:48:36 -04:00
Dan Halbert
58b00467c4
Merge pull request #6878 from dhalbert/weak-board-defs
...
Use MP_WEAK for default board.c routines
2022-09-08 10:47:08 -04:00
Dan Halbert
4cb69a51d5
Use MP_WEAK for default board.c routines
2022-09-08 07:36:50 -04:00
Seon Rozenblum
6c4f352533
Fixed incorrect IO naming for ProS3 and FeatherS3
2022-09-07 19:51:45 +10:00
Dan Halbert
14498f793d
Merge pull request #6859 from wemos/s3_cpython
...
Add LOLIN S3 ESP32-S3 board.
2022-09-04 13:10:52 -04:00
bill88t
ca7fb6dede
removal of sda-scl and add "GP" to 40,41
2022-09-04 18:05:50 +03:00
bill88t
e1891038c8
Forgor the one IO pin and sda-scl
2022-09-04 16:59:56 +03:00
wemos
3a18d285a2
Add LOLIN S3 ESP32-S3 board.
2022-09-03 11:06:51 +08:00
Dan Halbert
52080e24eb
status bar control
2022-08-30 15:23:44 -04:00
Jeff Epler
2c6f57be5e
Update ports/espressif/common-hal/esp32_camera/Camera.c
...
Co-authored-by: Mark <56205165+gamblor21@users.noreply.github.com>
2022-08-28 16:46:50 -05:00
Jeff Epler
dc27fb967d
error at runtime if no psram actually reserved
2022-08-26 09:27:50 -05:00
Jeff Epler
9f22e75e5e
error if camera is configured but no psram
2022-08-26 09:27:50 -05:00
Jeff Epler
8ed6a6135a
Disable camera on boards without psram
2022-08-26 09:27:50 -05:00
Scott Shawcroft
2f0e209eca
Merge pull request #6772 from dhalbert/esp32-touch-fix
...
Fix ESP32 touch; rework common code a bit
2022-08-17 10:24:22 -07:00
Dan Halbert
2bc8d73776
Fix ESP32 touch; rework common code a bit
2022-08-16 20:04:27 -04:00
Martin
528da05f54
Add Waveshare ESP32-S2-Pico-LCD
2022-08-15 16:46:14 +02:00
lady ada
2f2ccdddbf
pycam rev b pins
2022-08-13 23:41:35 -04:00
MicroDev
fa3e265bfb
Merge pull request #6753 from tannewt/esp_led_reset
...
Audit all boards with LED pins defined
2022-08-13 15:25:02 +05:30
Scott Shawcroft
df1435ae94
Audit all boards with LED pins defined
...
Add them as MICROPY_HW_LED_STATUS so that we can share reset code
for them. They aren't actually used for the status if another RGB
option is available. (But maybe they should be.)
Fixes #6717
2022-08-11 14:41:20 -07:00
Scott Shawcroft
5823bcc744
Merge branch 'main' into c3_short_send
2022-08-11 12:45:02 -07:00
Scott Shawcroft
f1053fb963
Introduce port_yield()
...
This allows the web workflow send code to yield briefly when
waiting for more room to send in a socket. Waiting for an "interrupt"
could wait forever because the select task only waits for read and
error. Adding wait on write is tricky because much of the time we
don't care if the sockets are ready to write. Using yield avoids
this trickiness.
2022-08-11 11:25:34 -07:00
Scott Shawcroft
f9d724c09e
Fix retries after successful connection.
...
We may have set retries to 0 to enforce a timeout but the connect
succeeded. When it succeeds, we want to allow retries later in
case we lose signal briefly. (The callback will do this too but
the connect function will override it after.)
Also, remove extra code from websocket that is leftover from
debugging.
2022-08-10 15:24:08 -07:00
Jeff Epler
c2a45c1f27
Merge pull request #6739 from jepler/qrio-esp32camera
...
Enable qrio to work with rgb565 data, including byte-swapped data
2022-08-10 13:54:40 -05:00
Scott Shawcroft
7a5d2e81fc
Merge pull request #6734 from dhalbert/remove-autobrightness
...
Remove support for auto-brightness
2022-08-10 10:22:53 -07:00
Jeff Epler
86f9d98a5d
fix documentation of framebuffer_count
2022-08-10 11:12:54 -05:00
Dan Halbert
af64faae1e
switch back one I2C message
2022-08-10 12:06:43 -04:00
Dan Halbert
198c8fea11
merge from upstream and fix espressif_esp32s3_eye
2022-08-10 08:43:08 -04:00
Dan Halbert
02cc6c2aee
Merge remote-tracking branch 'adafruit/main' into remove-autobrightness
2022-08-10 08:35:53 -04:00
Dan Halbert
41bcd7b260
Remove support for auto-brightness
2022-08-09 22:40:21 -04:00
Scott Shawcroft
59b4353282
Merge pull request #6713 from tannewt/exception_filename
...
Add exception filename to title bar
2022-08-09 16:59:12 -07:00
Jeff Epler
5040e1b7a5
Merge pull request #6684 from jepler/espressif-camera-2
...
Rewrite camera support for the Espressif port
2022-08-09 18:50:25 -05:00
Scott Shawcroft
db837e2b48
Merge pull request #6725 from dhalbert/esp-stack-size-16kB
...
increase main task stack size from 8kB to 16kB
2022-08-09 16:40:16 -07:00
Scott Shawcroft
554063a817
Merge branch 'main' into espressif-camera-2
2022-08-09 14:07:14 -07:00
Scott Shawcroft
5084de1b73
Merge pull request #6708 from strid3r21/main
...
Added Smart Bee Design Boards
2022-08-09 14:06:11 -07:00
Dan Halbert
c4db71d12e
Merge pull request #6721 from dhalbert/i2c-target
...
Change I2C terminology from "peripheral" to "target"
2022-08-09 16:12:17 -04:00
Dan Halbert
4021b44a39
increase main task stack size from 8kB to 16kB
2022-08-09 15:00:01 -04:00
Scott Shawcroft
b3b27a1d80
Remove extra leading spaces
2022-08-09 10:45:47 -07:00
Scott Shawcroft
556d01a685
Remove extra newline at end of file
2022-08-09 10:44:57 -07:00
Scott Shawcroft
ce1273be7a
Pull Feather S2 TFT LED down on reset
2022-08-09 10:42:56 -07:00
Jeff Epler
c74746f052
Cross references in documentation always help
2022-08-09 12:20:02 -05:00
Dan Halbert
84807cd6eb
Change I2C terminology from "peripheral" to "target"
2022-08-09 13:13:19 -04:00
Jeff Epler
5a85b8ab95
improve docstrings based on my best sleuthing
2022-08-09 11:42:19 -05:00
Jeff Epler
ec839d6f90
these items should not have been disabled
2022-08-09 11:42:19 -05:00
Jeff Epler
f87e34b9ed
add shutter button
2022-08-09 11:42:19 -05:00
Dan Halbert
10275001ac
enable web workflow on Feather HUZZAH32
2022-08-09 07:26:18 -04:00
paul
15ad24ba62
ran pre-commit.
2022-08-09 04:32:21 -04:00
lady ada
2cd9222e5e
add includes
2022-08-07 14:32:29 -04:00
lady ada
029b6b6fbe
add default display
2022-08-07 14:12:40 -04:00
paul
a6eadd6259
Added Bee Motion S3 board
2022-08-07 11:59:43 -04:00
paul
f39058edc4
Added Bee S3 board
2022-08-06 22:22:20 -04:00
Jeff Epler
1da8065d6b
Merge remote-tracking branch 'origin/main' into espressif-camera-2
2022-08-05 16:38:51 -05:00
Dan Halbert
8c10e09ba0
Merge pull request #6667 from jepler/esp-reserve-heap-for-idf
...
Add ability to reserve psram
2022-08-05 15:06:44 -04:00
Jeff Epler
3f49d77036
Improve esp32-s3-eye board definition
2022-08-05 13:10:21 -05:00
Scott Shawcroft
125b276af0
Get CIRCUITPY FATFS directly.
...
Otherwise, you may actually get a non-root filesystem.
Fixes #6575
2022-08-04 16:06:27 -07:00
Jeff Epler
861fa9625d
Add the ESP32-EYE aka ESP-EYE
2022-08-04 15:12:12 -05:00
Jeff Epler
98202c8568
Allow changing camera settings that require reinit
...
These can only be changed in a group, though any items to keep
unchanged can be unspecified or specified as None.
2022-08-04 15:12:11 -05:00
Jeff Epler
428fbcd343
remove debug message during build
2022-08-04 15:12:10 -05:00
Jeff Epler
0e26a937cc
Disable camera everywhere it doesn't fit
2022-08-04 15:12:08 -05:00
Jeff Epler
230532f0eb
one last doc build fix
2022-08-04 15:12:07 -05:00
Jeff Epler
a9d53ad2a6
Fix "check-stubs" problems
2022-08-04 15:12:06 -05:00
Jeff Epler
7cb40c9054
further doc build fixes
2022-08-04 15:12:05 -05:00
Jeff Epler
81fb9a5f20
specify return type for docs
2022-08-04 15:12:04 -05:00
Jeff Epler
8bdbe0355a
Add more getters
2022-08-04 15:12:02 -05:00
Jeff Epler
badcae5ace
Fix docstring errors
2022-08-04 15:12:01 -05:00
Jeff Epler
aead0dfe45
Return a Bitmap from take() when appropriate
2022-08-04 15:12:00 -05:00
Jeff Epler
54fe753602
Enable gifio and qrio when appropriate
2022-08-04 15:11:59 -05:00
Jeff Epler
258f72640a
Implement a pile of getters & setters
2022-08-04 15:11:57 -05:00
Jeff Epler
69949ecb43
update PID for this board
2022-08-04 15:11:56 -05:00
Jeff Epler
d1b89fca91
Reset camera when interpreter is reset
2022-08-04 15:11:55 -05:00
Jeff Epler
f54c7adddc
Must treat NO_PIN cast to uint8_t the same as NO_PIN
...
Otherwise, deinitializing a camera with e.g., the powerdown
pin unspecified results in an assertion failure in a debug build.
2022-08-04 15:11:54 -05:00
Jeff Epler
1d1e139379
fix taking multiple pictures
2022-08-04 15:11:53 -05:00
Jeff Epler
b903a020fd
Enable display on esp32-s3-eye
2022-08-04 15:11:52 -05:00
Jeff Epler
8d673bdbf5
reserve 1MB of PSRAM for camera framebuffer on esp32s3-eye
...
.. this setting can be overridden with a bigger or smaller value in
CIRCUITPY/.env but 1/8 of PSRAM seems like a good initial value. It's
enough to store a single 800x600 or 640x480 RGB565 frame, or multiple
smaller frames such as 320x240.
2022-08-04 15:11:51 -05:00
Jeff Epler
5db6db0128
add esp32-camera
...
This uses the esp32-camera code instead of our own homebrewed camera code.
In theory it supports esp32, esp32-s2 and esp32-s3, as long as they have
PSRAM.
This is very basic and doesn't support changing any camera parameters,
including switching resolution or pixelformat.
This is tested on the Kaluga (ESP32-S2) and ESP32-S3-Eye boards.
First, reserve some PSRAM by putting this line in `CIRCUITPY/_env`:
```
CIRCUITPY_RESERVED_PSRAM=524288
```
and hard-reset the board for it to take effect.
Now, the following script will take a very low-resolution jpeg file and print
it in the REPL in escape coded form:
```python
import board
import esp32_camera
c = esp32_camera.Camera(
data_pins=board.CAMERA_DATA,
external_clock_pin=board.CAMERA_XCLK,
pixel_clock_pin=board.CAMERA_PCLK,
vsync_pin=board.CAMERA_VSYNC,
href_pin=board.CAMERA_HREF,
pixel_format=esp32_camera.PixelFormat.JPEG,
i2c=board.I2C(),
external_clock_frequency=20_000_000)
m = c.take()
if m is not None:
print(bytes(m))
```
Then on desktop open a python repl and run something like
```python
>>> with open("my.jpg", "wb") as f: f.write(<BIG PASTE FROM REPL>)
```
and open my.jpg in a viewer.
2022-08-04 15:11:50 -05:00
Jeff Epler
8e08cc38f8
Add default I2C bus to Kaluga
2022-08-04 15:11:48 -05:00
Scott Shawcroft
e0cb8ef17e
Merge pull request #6694 from dhalbert/esp32-no-psram
...
ESP32 no psram support; other ESP32 cleanup
2022-08-04 11:49:39 -07:00
Scott Shawcroft
3707b54e3b
Merge pull request #6672 from bill88t/main
...
Add Waveshare ESP32-S2-Pico
2022-08-04 11:09:59 -07:00
Dan Halbert
202fac59f8
ESP32 fixes for no PSRAM; some cleanup
2022-08-04 13:44:52 -04:00
Dan Halbert
d4e8c19b49
merge from main
2022-08-04 12:43:23 -04:00
Jeff Epler
82be75adb5
Add ability to reserve psram
...
.. the primary user of which will be the camera, since the framebuffers
must be allocated via esp-idf allocation function and never from the
gc heap.
A board can have a default value, and the value can also be set in the
/.env file using the key CIRCUITPY_RESERVED_PSRAM with the value being
the reserved size in bytes.
Co-authored-by: Dan Halbert <halbert@adafruit.com>
2022-08-03 16:19:40 -05:00
bill88t
68bb6b9988
ran precommit
2022-08-03 09:14:26 +03:00
Bill Sideris
efa3e40f90
Add the one obtained from esp
2022-08-03 08:48:28 +03:00
Dan Halbert
d3d5e36548
update adafruit/esp-idf for ESP32_ECO3_CACHE_LOCK_FIX fix
2022-08-02 22:37:06 -04:00
Dan Halbert
b027d111a9
remove custom console UART from sdkconfig-esp32.defaults
2022-08-02 22:00:59 -04:00
Dan Halbert
534a482d94
initial HUZZAH32 bring-up, with hacked pins
2022-08-02 21:47:46 -04:00
Dan Halbert
767234e79c
Merge pull request #6688 from tannewt/fix_esp32c3_paste
...
Fix C3 when pasting 128+ characters
2022-08-02 21:35:02 -04:00
Dan Halbert
524cc5e274
Merge pull request #6685 from tannewt/esp32_ww
...
Enable Web Workflow on Feather ESP32 V2
2022-08-02 21:30:23 -04:00
Scott Shawcroft
9de8ae70b6
Fix C3 when pasting 128+ characters
...
The ringbuf used to fill up and the recv interrupt would block CP.
Now it'll disable the interrupt until we have enough room in the
ringbuf.
Fixes #6678
2022-08-02 15:25:19 -07:00
Scott Shawcroft
1c69fe1727
Fix S2/S3 USB
...
The new Kconfig that fixed C3 added a dependency on USB_OTG_SUPPORTED
that is only calculated if we include the usb module in cmake.
Fixes #6679
2022-08-02 14:11:09 -07:00
Scott Shawcroft
74e841d835
Read fuses to know what flash and ram pins to never reset
2022-08-02 12:01:42 -07:00
Bill Sideris
60429f51c7
Add official vid/pid
2022-08-02 09:43:17 +03:00
Scott Shawcroft
f0c6a8c49a
Odroid pin defs
2022-08-01 15:52:08 -07:00
Scott Shawcroft
9661d3256c
Add more ESP32 boards and enable web workflow
2022-08-01 15:52:08 -07:00
bill88t
c71cc4e0dd
Add Waveshare ESP32-S2-Pico
2022-07-30 15:35:48 +03:00
Scott Shawcroft
312e298890
Fix other ESP builds and arduino_nano_33_iot
2022-07-29 11:02:35 -07:00
Scott Shawcroft
d6344812e8
Lots of web workflow, C3 and title bar fixes
...
* Fixes #6221 - C3 hang on `import wifi`. Enabling the WiFi PHY was
disabling USB. Now boards that use it set CONFIG_ESP_PHY_ENABLE_USB
explicitly.
* Fixes #6655 - Allows pasting into the web serial page. Fixes reading
more than 0xf bytes at a time.
* Fixes #6653 - Fixes web socket encoding of payloads >125 bytes. Can
happen when printing a long string.
* Fixes C3 responsiveness when waiting for key to enter REPL. (It
now correctly stops sleeping.)
* Disables title bar updates when in raw REPL. Related to #6548 .
* Adds version to title bar.
2022-07-28 16:06:56 -07:00
Dan Halbert
3817d007aa
clean up esp32 sdkconfigs
2022-07-28 17:52:27 -04:00
Scott Shawcroft
c4c15206e7
Merge pull request #6608 from tannewt/web_workflow_port
...
Allow for dynamic reconfigure including port
2022-07-28 12:59:31 -07:00
Dan Halbert
282f8c49a6
Merge pull request #6660 from tannewt/fix_c3_serial_tx
...
Improve USB to Serial/JTAG TX
2022-07-28 14:42:56 -04:00
Scott Shawcroft
c29fa9012d
Merge pull request #6645 from prplz/seeed_xiao_esp32c3
...
Add board: seeed_xiao_esp32c3
2022-07-28 11:22:43 -07:00
Scott Shawcroft
ddeb833a3a
Shrink Feather S3 4mb build with -Os
2022-07-28 07:43:39 -07:00
Michael Himing
555bf7cc12
Add board: seeed_xiao_esp32c3
2022-07-28 22:48:03 +10:00
Scott Shawcroft
bea955222a
Improve USB to Serial/JTAG TX
...
It had a tight 5ms timeout before that caused some characters to
drop. Now the wait is longer and reset after a successful transmit.
This follows what MicroPython does.
Fixes #6220
2022-07-27 12:15:13 -07:00
Scott Shawcroft
ce60beeb25
Merge pull request #6651 from tannewt/refine_select_task
...
Improve web workflow responsiveness
2022-07-27 11:24:51 -07:00
Chris Dailey
2a9d3c5ed2
Adds BOOT0 (GPIO 0) as a named pin for MagTag.
2022-07-27 08:38:52 -04:00
Scott Shawcroft
931757f4a9
Improve web workflow responsiveness
...
1. Run the socket select task at the same priority as CP. This is
needed because it queues up the background work. Without it, CP
needed to sleep to let the lower priority task go.
2. Close the active socket on disconnect. This prevents looping
over a disconnected but not closed socket.
Fixes #6610 . Fixes #6613
2022-07-26 15:29:49 -07:00
Neradoc
87e8994c4a
no default extension for ESP, fix duplicate line in rp2
2022-07-26 18:15:59 +02:00
Neradoc
eabe8b971a
list extensions instead of macros names ("bin,uf2" not BIN_UF2)
...
the modules_support_matrix usees a dictionnary per board instead of a list
optionally include the frozen modules URLs in it
2022-07-26 18:15:59 +02:00
Neradoc
d021d9ae4a
Move build extensions to board directories
...
- define CIRCUITPY_BUILD_EXTENSIONS to predefined values
- set CIRCUITPY_BUILD_EXTENSIONS in port and board config
- reuse the support matrix "get_settings_from_makefile" to get it
- move the existing port and board specific values
- remove the C3 specific board values because it's not the default
- update build_release_files.py to use get_settings_from_makefile
2022-07-26 18:15:50 +02:00
Scott Shawcroft
66d5fa9a55
Save space on Feather S3 4mb with -Os
2022-07-25 16:19:52 -07:00
Scott Shawcroft
6d6234443d
Merge remote-tracking branch 'adafruit/main' into web_workflow_port
2022-07-25 15:57:58 -07:00
Scott Shawcroft
47f718aa92
Merge pull request #6615 from askpatrickw/beetle-esp32-c3
...
Beetle esp32 c3
2022-07-25 15:00:05 -07:00
Dan Halbert
f2bbe5a6a1
Merge pull request #6614 from litui/litui-espressif-bleiofix
...
Fixed empty characteristic issue with bleio+nimble.
2022-07-20 08:42:31 -04:00
Dan Halbert
e877644012
use -Os on Feather ESP32-S3 TFT to shrink build
2022-07-19 17:45:29 -04:00
Patrick
1e99d68af7
Add Creator ID
2022-07-17 12:38:27 -07:00
Patrick
71c22232f0
board config compelted
2022-07-17 11:48:45 -07:00
Aria Burrell
868a03ff57
Fixed empty characteristic issue with bleio+nimble.
...
- Based on espressif/nimble's blecent example code. Confirms that the characteristic is not empty before trying to catalogue its descriptors.
- Running ble_gattc_disc_all_dscs on empty (no length) characteristics fails with the (not-very-informative) BLE_HS_EINVAL error if this check is not performed.
2022-07-17 04:50:50 -06:00