Commit graph

35743 commits

Author SHA1 Message Date
c2503f69b1 remove -12 from file path as well 2024-06-14 13:30:04 -05:00
e01c6ab60f pull in the setuptools version of distutils for silabs 2024-06-13 13:02:11 -05:00
6e09428dab Update macos version
Move from 11 (deprecated) to 12 (the oldest non-deprecated)

Because the artifacts formerly had the macos version number in the
mpy-cross binary filename, we have to change the binary name anyway.
Rename it without the macos version (e.g., mpy-cross-macos-x64 instead of
mpy-cros-macos-11-x64)

https://github.blog/changelog/2024-05-20-actions-upcoming-changes-to-github-hosted-macos-runners/

Closes: #9328
2024-06-12 15:33:40 -05:00
Dan Halbert
22850e6292
Merge pull request #9308 from UnexpectedCircuitPython/um_feathers3_neo_90x
Add UM FeatherS3 Neo board support for 9.0.x
2024-06-04 21:40:41 -04:00
Seon Rozenblum
c5324c0e9d Add UM FeatherS3 Neo board support for 9.0.x 2024-06-05 11:08:47 +10:00
Dan Halbert
1a3c47190a
Merge pull request #9266 from jepler/improve-exception-chaining
Fix exception chaining for non-built-in exceptions
2024-05-21 18:41:33 -04:00
94db02f369 function may be unused 2024-05-21 16:49:10 -04:00
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
0de50aaa9b
Merge pull request #9200 from RetiredWizard/geekpins90x
Waveshare RP2040-GEEK: Update pin names to match info printed on board (9.0.x)
2024-04-24 10:19:09 -07:00
RetiredWizard
21cc4c9355 Update pin names to match info printed on baord 2024-04-23 23:59:04 -04:00
Dan Halbert
c2caae71de
Merge pull request #9186 from dhalbert/9.0.x-setuptools
9.0.x - Handle change in tar file name caused by setuptools update #9185
2024-04-17 11:54:54 -04:00
Dan Halbert
35fe3394b2 suppress cache warnings for sphinx >= 7.3.0 2024-04-17 11:06:45 -04:00
Dan Halbert
e188bc9102 allow circuitpython[-_]stubs-*.tar.gz 2024-04-16 19:29:22 -04:00
Dan Halbert
29eeef9c93
Merge pull request #9169 from dhalbert/flash_cache_table-fix 2024-04-12 13:58:15 -04:00
Dan Halbert
98957cccd8 change unneeded uint8_t decls to size_t or uint32_t 2024-04-11 14:15:41 -04:00
Dan Halbert
2fa97f3872 fix flash_cache_table allocation failures; clean up code 2024-04-11 14:00:37 -04:00
Scott Shawcroft
50121d0e49
Merge pull request #9168 from dhalbert/9.0.x-fix_nrf_safe_mode
backport to 9.0.x: Move the nRF saved word
2024-04-11 10:04:20 -07:00
Scott Shawcroft
2637e5bf1b Move the nRF saved word
Instead of putting it in our uninit section, we need to ensure it
is also uninit by the UF2 bootloader. We both leave at least the
first 32k of RAM for the soft device, so place our word just before
the end of 32k. This is ok because we only use it before the SD is
started.

Fixes #9143 and doesn't require a bootloader change.
2024-04-11 08:34:15 -04:00
Dan Halbert
25dd72dd2c
Merge pull request #9161 from dhalbert/fix-nordic-analogin
nrf: fix regression in AnalogIn, fix problem with reuse as digital pin
2024-04-10 09:37:30 -04:00
Dan Halbert
6d9f1adeae nrf AnalogIn.c: disconnect channels after use, fix low values 2024-04-09 21:29:04 -04:00
Scott Shawcroft
0ef433b4a4
Merge pull request #9114 from dhalbert/fix-nordic-analogin
Fix always zero AnalogIn on nordic
2024-04-01 10:34:53 -07:00
Dan Halbert
2f6f882e04 move asm volatile to more clearly be after DMA 2024-03-29 13:58:25 -04:00
Scott Shawcroft
495394b9de
Merge pull request #9090 from RetiredWizard/rp2040geek
Add support for new board: Waveshare RP2040-GEEK
2024-03-29 10:37:25 -07:00
RetiredWizard
9f35f6aa51 New board/Waveshare RP2040-GEEK:Product ID update.
Waveshare support got back to me and supplied the Product ID for this
device. Apparently they renamed the device since applying for the
Product ID. The original name was RP2040-HACK. I'm assuming the
MICROPY_HW_BOARD_NAME doesn't have to match the registered name so it
can stay as is with the correct (current) name.
2024-03-29 10:56:36 -04:00
Dan Halbert
453c82c479 nrf/common-hal/analogio/AnalogIn.c: fix apparent gcc13 issue 2024-03-28 22:26:02 -04:00
Dan Halbert
b858170752
Merge pull request #9107 from dhalbert/fix-trinkey-sht4x-i2c-pins
adafruit_sht4x_trinkey_m0: fix board.I2C() pins
2024-03-28 10:14:43 -04:00
Dan Halbert
72d252af10 adafruit_sht4x_trinkey_m0: fix board.I2C() pins 2024-03-28 10:04:03 -04:00
Dan Halbert
6d1b940bf6
Merge pull request #9096 from dhalbert/9.0.x-disable-displayio-warnings
Disable 9.0.0 displayio warnings
2024-03-26 17:11:49 -04:00
7d30ef351f
Merge pull request #9084 from jepler/rpi-setsockopt-90x
raspberrypi: implement setsockopt(SOL_SOCKET, SO_REUSEADDR)
2024-03-26 16:06:20 -05:00
Dan Halbert
999a4acd9f py/objmodule.c: disable new displayio name warnings 2024-03-26 16:06:27 -04:00
b0de66300c pico w: setsockopt: Fix sense of disable vs enable
memcmp() returns -1, 0 or 1 to denote the relative ordering of the two
buffers. So, the computation would actually set `enable = 0`
in the case where `value` had the same bits set as "one" and `enable = 1`
in the case where `value` had any other bits.

By changing the compared buffer to be `zero`, `enable` gets a true value
whenever the value is NOT exactly 0 (e.g., it's 1, 7, -1, ...),
correcting the sense of enable vs disable.

Thanks to @anecdata for testing and finding this problem, which previously
would have affected the nodelay flag as well.
2024-03-26 14:56:40 -05:00
Scott Shawcroft
8feaec49f5
Merge pull request #9087 from RetiredWizard/itsybitsy
ItsyBitsy ESP32 Neopixel Pin/Power GPIO number fix
2024-03-26 10:12:07 -07:00
a6b1292787 fix turning SO_REUSEADDR off 2024-03-26 07:48:20 -05:00
RetiredWizard
ed95402d75 Add support for new board: Waveshare RP2040-GEEK - pre-commit 2024-03-25 20:56:09 -04:00
RetiredWizard
7ec4601892 Add support for new board: Waveshare RP2040-GEEK 2024-03-25 20:53:44 -04:00
RetiredWizard
2e3bacab46 Neopixel Pin/Power GPIO number fix 2024-03-25 17:10:13 -04:00
34794b7340 raspberrypi: implement setsockopt(SOL_SOCKET, SO_REUSEADDR)
untested
2024-03-25 09:25:55 -05:00
Scott Shawcroft
e72f42906a
Merge pull request #9070 from FoamyGuy/busdisplay_docs_fix_9_0_x
update busdisplay docstring example code
2024-03-22 11:23:15 -07:00
foamyguy
7fd13b41b2 update busdisplay docstring example code 2024-03-21 11:31:56 -05:00
Scott Shawcroft
84e937f1c4
Merge pull request #9055 from dhalbert/ctrl-c-spi-bus-device
Allow ctrl-c of adafruit_bus_device.spi_device lock hang
2024-03-18 11:55:58 -07:00
Dan Halbert
d1488313d5 Allow ctrl-c of adafruit_bus_device.spi_device lock hang 2024-03-15 18:40:34 -04:00
Dan Halbert
7e7b2a4154
Merge pull request #9020 from RetiredWizard/cardputerI2S
M5Stack Cardputer : I2S_DATA  pin name typo
2024-03-14 17:22:43 -04:00
Dan Halbert
fcac731ecd
Merge pull request #9051 from tannewt/fix_h2
Fix RMT clock speed on H2
2024-03-14 15:06:02 -04:00
Dan Halbert
636b9df4b1
Merge pull request #9025 from bill88t/wifierr15
Handle 4way handshake error in idf5
2024-03-14 15:00:53 -04:00
Scott Shawcroft
d34af65324
Fix RMT clock speed on H2
Fixes #9049
2024-03-14 11:50:29 -07:00
Bill Sideris
4ea837a63e
Revert "Do suggestion"
This reverts commit 6c14264ecb.
2024-03-14 20:24:47 +02:00
Bill Sideris
6c14264ecb
Do suggestion
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-03-14 19:21:00 +02:00
Dan Halbert
20156b59c8
Merge pull request #9048 from dhalbert/teensy-no-usb-host-power-reset
Don't reset USB_HOST_POWER on teensy 4.1 and teensy micromod
2024-03-14 10:01:46 -04:00
Bill Sideris
b6399e2412
Treat 4way as authfail, in a the desired way 2024-03-14 15:50:56 +02:00