Commit graph

36287 commits

Author SHA1 Message Date
dc21efe446 espressif: Validate sample rate
The reported code used an invalid sample rate. This improves
the error message so that it is not a generic IDFError.

The new error message says:
```
ValueError: sample_rate must be 20000-2000000
```

I verified at a sample rate of 20000 that I could read both 0
and 65535 using a jumper wire to another GPIO pin configured as a
digital output.
Closes #9504
2024-08-27 11:01:46 -05:00
Dan Halbert
396aaef964
Merge pull request #9375 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-06-26 17:44:19 -04:00
Hosted Weblate
95ddf75514
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2024-06-26 19:39:34 +00:00
Scott Shawcroft
b2724feb0a
Merge pull request #9374 from dhalbert/espressif-ble-fixes
Various Espressif BLE fixes
2024-06-26 12:39:25 -07:00
Dan Halbert
f1d29eef78
Merge pull request #9353 from EricAlmendras/archi-board
add ARCHI NEWSAN board
2024-06-26 10:25:31 -04:00
Eric Almendras
4dbc10e808 Add LED_Animation 2024-06-26 10:22:02 -03:00
Dan Halbert
b228cbad85 espress/common-hal/_bleio: Adapter.c: handle BLE_HS_EBUSY on scan 2024-06-25 17:27:27 -04:00
Dan Halbert
827e41ab2d
Merge pull request #9350 from dhalbert/fix-espressif-ping
espressif: fix returning ping time and pinging too often
2024-06-25 16:42:45 -04:00
Dan Halbert
6bf9ec7ed1 espressif/common-hal/_bleio/Adapter.c: use busy-waiting, to allow background tasks to run 2024-06-25 14:06:22 -04:00
Scott Shawcroft
ac598a399a
Merge pull request #9371 from stonehippo/main
Add note re Seeed WIO Terminal accelerometer pins
2024-06-25 10:32:51 -07:00
Dan Halbert
1019e9165c espressif/common-hal/_bleio: int Characteristic observer properly; restore descriptor pre-check code 2024-06-25 09:59:38 -04:00
Dan Halbert
ea9a8df708 espressif/common-hal/_bleio: use waiting loops instead of TaskNotify 2024-06-25 09:54:48 -04:00
George White
49e67ad08b
Add note re Seeed WIO Terminal accelerometer pins 2024-06-24 17:08:49 -04:00
Eric Efrain
343e0dadf1
Apply suggestions from code review
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-06-24 11:35:51 -03:00
Eric Efrain
9f9f097e56
Apply suggestions from code review
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-06-24 11:34:04 -03:00
Eric Almendras
0c98aa7075 add module LED_Animation for frozen modules 2024-06-24 11:22:24 -03:00
Eric Almendras
dc64eed504 add LED_Animation in frozen modules 2024-06-24 11:19:39 -03:00
Eric Almendras
d676293297 add headers in ports/raspberry/boards/archi files 2024-06-24 07:33:01 -03:00
Dan Halbert
3aa12b6278
Merge pull request #9368 from FoamyGuy/board_stubs_initpy
enforce min py3.9 for setboard. create init.py in board-stubs
2024-06-23 17:55:59 -04:00
Dan Halbert
a6b670143f
Merge pull request #9369 from karlfl/main
REDUCE WIFI TX POWER QTPY ESP32-C3
2024-06-23 17:55:34 -04:00
Karl Fleischmann
8fbdc8eaeb Reduce default wifi tx_power for the QTPY ESP32-C3 (Fixes connectivity issues) 2024-06-23 14:57:47 -04:00
foamyguy
22452c477c create init in board_definitions/ 2024-06-23 11:27:52 -05:00
foamyguy
01ab0ea8ca check version first thing 2024-06-23 11:22:44 -05:00
foamyguy
798e38e447 enforce min py3.9 for setboard. create init.py in board-stubs 2024-06-23 11:14:35 -05:00
Dan Halbert
bdabba8ca5
Merge pull request #9364 from bill88t/sup_wemos_lowpow
CIRCUITPY_DEFAULT_WIFI_TX_POWER
2024-06-23 11:58:12 -04:00
Bill Sideris
bb5a8110e0
The check is unneeded. 2024-06-23 18:03:41 +03:00
Bill Sideris
f707608ba5
Switch to settable default wifi power
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-06-22 23:49:58 +03:00
Bill Sideris
ae3817a157
CIRCUITPY_REDUCE_TX_POWER 2024-06-22 03:50:32 +03:00
Dan Halbert
cbd513110a
Merge pull request #9343 from timchinowsky/fix-samd-pwm
Fix delays and rounding in samd PWM
2024-06-21 14:28:36 -04:00
Dan Halbert
d35c2e34b0 tests/circuitpython-manual/pwmio: shrink png images 2024-06-21 14:16:59 -04:00
Tim
59e604c783 move pwm test to tests/circuitpython-manual 2024-06-20 09:58:37 -07:00
timchinowsky
9bfcba3687
Merge branch 'adafruit:main' into fix-samd-pwm 2024-06-20 09:05:20 -07:00
Dan Halbert
3645e81444
Merge pull request #9347 from applecuckoo/applecuckoo-nano-33-ble
New board version: Nano 33 BLE Sense Rev2
2024-06-19 17:55:00 -04:00
Dan Halbert
59954cfd06
Update tools/ci_check_duplicate_usb_vid_pid.py - add comma 2024-06-19 16:20:16 -04:00
applecuckoo
a17517fc97
add exception for CI check 2024-06-20 07:43:34 +12:00
Eric Almendras
86f8d93c27 remove board has crystal unnecesary in rp2040 boards 2024-06-19 16:09:32 -03:00
Eric Almendras
0ab42ed9c2 remove unnecesary frozen module 2024-06-19 16:08:43 -03:00
Eric Almendras
7090116444 add frozen modules for ARCHI NEWSAN board 2024-06-19 16:00:49 -03:00
vboxuser
b053de23c0 add ARCHI NEWSAN board 2024-06-19 15:39:12 -03:00
applecuckoo
32f96dbd34
fix typo 2024-06-19 20:33:17 +12:00
applecuckoo
ca02590588
remove Nano 33 BLE Rev2 pin defs and move them to new board def 2024-06-19 20:30:44 +12:00
Dan Halbert
9b23460313
Merge pull request #9346 from lewinski/fix-adafruit_feather_esp32s3_reverse_tft-display
Fix display power on Adafruit ESP32-S3 Reverse TFT Feather
2024-06-18 23:02:14 -04:00
Matthew Lewinski
1e56695f56 Fix display power on Adafruit Reverse TFT Feathers
TFT_I2C_POWER is on pin 7, not pin 21 (NEOPIXEL_POWER)
2024-06-18 17:51:08 -05:00
Dan Halbert
f66313c93b
Merge pull request #9344 from tannewt/disable_ble_completely
Only start BLE for workflow when desired
2024-06-18 17:01:10 -04:00
Dan Halbert
408a3ebe11
Merge pull request #9352 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-06-18 16:31:06 -04:00
Dan Halbert
a004c1685e espressif ping: reduce wait time on failure^ 2024-06-18 15:53:21 -04:00
johnnohj
2d56b1afb8
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2024-06-18 21:09:32 +02:00
Wellington Terumi Uemura
255a9d2505
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2024-06-18 21:09:31 +02:00
Xfox20
467f82af04
Translated using Weblate (German)
Currently translated at 97.1% (967 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2024-06-18 21:09:30 +02:00
johnnohj
fdd9faa7f0
Translated using Weblate (German)
Currently translated at 97.1% (967 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2024-06-18 21:09:29 +02:00