49cbbd198a
Fix chaining non-built-in exceptions
2024-05-21 16:41:39 -04:00
41eee0d5ea
Add tests for chained exceptions (failing)
2024-05-21 16:41:39 -04:00
Scott Shawcroft
2854dbe37f
Merge pull request #9233 from gitcnd/add-board-esp32-wrover-dev-cam
...
Add support for ESP32-WROVER-DEV boards with Camera
2024-05-20 11:47:00 -07:00
Scott Shawcroft
8c497e4415
Merge pull request #9263 from dhalbert/STATIC-to-static
...
CircuitPython files: replace STATIC with static
2024-05-20 11:46:20 -07:00
Dan Halbert
3f4d9310ff
CircuitPython files: replace STATIC with static
2024-05-20 11:02:17 -04:00
Dan Halbert
4c39995ad5
Merge pull request #9262 from dhalbert/qstrdefports-no-pragma-once
...
qstrdefport.h: remove #pragma once
2024-05-20 10:28:42 -04:00
Dan Halbert
296ad5096a
qstrdefport.h: remove #pragma once
2024-05-20 08:38:05 -04:00
a0e33db16a
Merge pull request #9260 from dhalbert/pragma-once
...
Convert #include guards to #pragma once; add missing #pragma once
2024-05-20 05:06:47 -05:00
Dan Halbert
950b5d09d2
guard2once -s ...
2024-05-19 20:40:44 -04:00
Dan Halbert
dbef48d5e2
add #pragma once to all CircuitPython header files without any include guards
2024-05-19 20:38:07 -04:00
Dan Halbert
b994c24768
update bradanlanestudio_explorer_rp2040 headers
2024-05-19 20:15:34 -04:00
Dan Halbert
acebb1bf2a
Merge pull request #9259 from fetsnleds/add-missing-pin-esp32s3-devkitm
...
Add missing pin for ESP32-S3-DevKitM-1
2024-05-18 14:09:42 -04:00
Thomas Raffler
e99d41e584
add missing pin for ESP32-S3-DevKitM-1
2024-05-18 19:54:52 +02:00
Dan Halbert
e0f745c14c
Merge pull request #9247 from jepler/improve-lfo-initial-value
...
synthio: Calculate LFO.value at construction
2024-05-17 23:48:47 -04:00
Dan Halbert
6c4bfd6738
Merge pull request #9222 from tannewt/esp_ble_server
...
Add ESP BLE GATT server support
2024-05-17 17:24:45 -04:00
Dan Halbert
6b80a76e13
Merge pull request #9257 from dhalbert/fix-copyright-license-headers
...
Fix project/copyright/license headers
2024-05-17 16:57:09 -04:00
Dan Halbert
6a93dd4b65
fix .ld file
2024-05-17 16:07:31 -04:00
Dan Halbert
ad5990ee74
fix typo
2024-05-17 15:32:38 -04:00
Dan Halbert
bb959ba094
save header change tool for posterity
2024-05-17 14:56:28 -04:00
Dan Halbert
747b7619ea
update headers of most CircuitPython-only files
2024-05-17 14:56:28 -04:00
Dan Halbert
daa11cb1c2
updates before header conversion
2024-05-17 14:56:28 -04:00
Scott Shawcroft
8afe1855bb
Merge pull request #9256 from bradanlane/bls_rp2040_explorer_badge
...
added explorer badge RP2040 board
2024-05-17 11:11:05 -07:00
Scott Shawcroft
689c6fac20
Add ESP BLE GATT server support
...
Enable BLE where we can. Switch 4MB, non-USB board default partitioning
over to a single 2MB firmware bank. Old boards override this setting to
keep the same behavior.
This also adds alpha support for the ESP32-C2 (aka ESP8684).
Fixes #5926 and fixes #7170
2024-05-17 11:08:07 -07:00
bradanlane
bed97ed4c0
Update pins.c comment to indicate “VID” returns an int
2024-05-17 13:58:59 -04:00
Scott Shawcroft
ba22fc8b07
Merge pull request #9255 from CDarius/cores3_camera
...
Fix for M5Stack Cores3 camera
2024-05-17 10:49:00 -07:00
Bradán Lane
bb47f35281
added explorer badge RP2040 board
2024-05-17 11:08:34 -04:00
CDarius
c80a2cd7d8
Merge branch 'main' into cores3_camera
2024-05-17 10:50:31 +02:00
CDarius
1681a3d8cb
Added camera configuration in sdkconfig
2024-05-17 10:48:23 +02:00
CDarius
dd09492c45
Enable camera and SD power supply
2024-05-17 10:47:37 +02:00
Scott Shawcroft
f67a4addf4
Merge pull request #9252 from todbot/main
...
update tinyusb to 15 May 2024 version
2024-05-16 11:13:45 -07:00
Tod Kurt
21a9326203
update tinyusb to 15 May 2024 version
2024-05-16 09:52:36 -07:00
Scott Shawcroft
7e57fa8f5c
Merge pull request #9231 from gitcnd/add-board-ai-thinker-esp32-cam
...
Add support for Ai Thinker ESP32-CAM boards
2024-05-15 11:11:59 -07:00
Scott Shawcroft
3178d38584
Merge pull request #9248 from andrewguest/fix-bleio-doc-typo
...
Fix typos in the start_advertising() param docs
2024-05-15 11:08:03 -07:00
Scott Shawcroft
2f422c20b9
Merge pull request #9250 from dhalbert/frozen-libs-2024-05-15
...
update frozen libraries for 9.1.0-beta.2
2024-05-15 11:07:26 -07:00
8acfc0c70c
set the connected status of a socket after UDP & raw connect
2024-05-15 13:05:14 -05:00
Dan Halbert
c95477b6a7
update frozen libraries for 9.1.0-beta.2
2024-05-15 10:11:46 -04:00
Dan Halbert
593d5180cb
Merge pull request #9249 from mirskytech/cpy_8272
...
correction in pin assignment for Challenger RP2040 LTE
2024-05-15 10:09:40 -04:00
gitcnd
9a12fbc4f8
Add Freenove name and ID to their board
2024-05-15 13:31:09 +00:00
Andrew Mirsky
9cfcf9a683
[ #8272 ] ports/challenger_rp2040_lte: fixes incorrect pin assignment for MISO
...
Signed-off-by: Andrew Mirsky <andrew@mirsky.net>
2024-05-14 20:58:52 -04:00
Andrew Guest
1865db24f8
Fix typo in start_advertising() param docs
2024-05-14 19:30:03 -05:00
9e878f7b3d
synthio: Calculate LFO.value at construction
...
Originally, the only (non-debug) way to make an LFO calculate its value
was to associate it with a playing synthesizer.
This posed a problem for LFOs that had "power on values" other than 0,
and where the value was used other than to internally drive a note
property.
Now, an initial, possibly non-zero value is calculated at object
construction time:
```py
>>> l = synthio.LFO(offset = 1)
>>> l.value
1.0
```
Note that this happens just once at construction; it does not happen when
updating LFO properties:
```py
>>> l.offset = 2
>>> l.value
1.0
```
2024-05-14 18:27:57 -05:00
Scott Shawcroft
0f05090353
Merge pull request #9246 from dhalbert/nrf-feather-neopixel-power
...
Feather nRF52840 Rev E: NEOPIXEL_POWER pin
2024-05-14 15:33:26 -07:00
Dan Halbert
2a8b335a0f
Feather nRF52840 Rev E has NEOPIXEL_POWER pin
2024-05-14 13:00:14 -04:00
Tuan Nguyen
c7952c198e
espressif: Enable the _eve module
...
Signed-off-by: Tuan Nguyen <tuan.nguyen@brtchip.com>
2024-05-14 11:40:44 +07:00
Scott Shawcroft
ca2a24e8d0
Merge pull request #9221 from elpekenin/feat/stub/list
...
[Tooling] Add `--list` to `circuitpython_setboard`
2024-05-13 15:21:32 -07:00
Scott Shawcroft
b340b73c95
Merge pull request #9236 from mirskytech/cpy_9232
...
add `I2CTarget` documentation, fix problem with I2C restart requests [#9232 ]
2024-05-13 15:16:46 -07:00
Scott Shawcroft
d8577380c7
Merge pull request #9229 from timchinowsky/rp2040-time_ns-precision
...
add subticks to RP2040 port_get_raw_ticks
2024-05-13 15:09:49 -07:00
Scott Shawcroft
aea70d6db5
Merge pull request #9224 from bill88t/chdir-always
...
Always `os.chdir("/")` when reloading
2024-05-13 14:50:54 -07:00
Andrew Mirsky
5cace546fe
docs/i2ctarget : removed extraneous dependency
...
Signed-off-by: Andrew Mirsky <andrew@mirsky.net>
2024-05-10 16:36:46 -04:00
Andrew Mirsky
2584fc88f0
ports: rpi pico - i2ctarget update transaction restart register mask
...
issue #: https://github.com/adafruit/circuitpython/issues/9232
Signed-off-by: Andrew Mirsky <andrew@mirsky.net>
2024-05-10 16:27:50 -04:00