Commit Graph

1913 Commits

Author SHA1 Message Date
Jeff Epler 8cfc50bd13
Merge remote-tracking branch 'origin/8.2.x' into merge-828 2023-11-16 08:55:40 -06:00
Dan Halbert 06639a2473 add W25Q16JVxQ as possible 2MB flash chip 2023-11-16 09:13:58 -05:00
Scott Shawcroft 8137e2d6d2
Switch all ports to auto-growing split heap
This simplifies allocating outside of the VM because the VM doesn't
take up all remaining memory by default.

On ESP we delegate to the IDF for allocations. For all other ports,
we use TLSF to manage an outer "port" heap. The IDF uses TLSF
internally and we use their fork for the other ports.

This also removes the dynamic C stack sizing. It wasn't often used
and is not possible with a fixed outer heap.

Fixes #8512. Fixes #7334.
2023-11-01 15:24:16 -07:00
Jeff Epler 768859c709
drop ulab on this board, it's full 2023-10-30 16:55:45 +01:00
Jeff Epler 774f6ac6ab
Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
Scott Shawcroft 53bc6d4bd1
Fix docs build by splitting out support matrix 2023-10-24 16:20:51 -07:00
Scott Shawcroft e1df598199
Split displayio hardware support from core
These are moved:
* Display -> busdisplay.BusDisplay
* FourWire -> fourwire.FourWire
* EPaperDisplay -> epaperdisplay.EPaperDisplay
* I2CDisplay -> i2cdisplaybus.I2CDisplayBus

`paralleldisplay` is now `paralleldisplaybus` (and registered as
`paralleldisplay` too).

Bus related helpers are split out of display_core into bus_core.
It is in still displayio since it is a dependency of both
busdisplay and epaperdisplay.

Fixes #7667
2023-10-24 15:43:34 -07:00
Dan Halbert 41e0199414
Merge pull request #8476 from MeNeedingADifferentFork/main
Added support for SuperMini NRF52840
2023-10-18 09:40:41 -04:00
Pascal Bakhuis b1bcd90ed2 Merge branch 'main' of https://github.com/MeNeedingADifferentFork/circuitpython-supermini-nrf52840 2023-10-17 23:39:26 +01:00
Pascal Bakhuis 2d4702c79c Changed USB VID/PID to one granted by pidcodes.github.com 2023-10-17 23:30:26 +01:00
Axeia 07bb1a6e53
Merge branch 'adafruit:main' into main 2023-10-17 23:24:04 +01:00
Scott Shawcroft 48f4b0f7cb
Switch to gcc 12.3 for arm32
Fixes #7432
2023-10-17 11:43:38 -07:00
Scott Shawcroft 5a19971efd
Fix pre-commit 2023-10-16 10:46:11 -07:00
Pascal Bakhuis b24a551485 Added support for SuperMini NRF52840 2023-10-12 21:26:30 +01:00
Scott Shawcroft 9633c4e78f
Merge remote-tracking branch 'adafruit/main' into v1.20-merge 2023-10-11 11:21:57 -07:00
Dan Halbert 68a2927385 MP_REGISTER_ROOT_POINTER for port-specific root pointers 2023-09-29 15:46:42 -04:00
Dan Halbert 1c388ab315 finish converting to MP_REGISTER_ROOT_POINTER() 2023-09-29 10:49:34 -04:00
MicroDev 27fd60d739
implement suggested changes
- update the docs
- split out common `watchdog_reset`
- revert to using `None` instead of `WatchDogMode.NONE`
2023-09-24 15:23:38 +00:00
MicroDev 05812e0618
Merge branch 'main' into watchdog-rp 2023-09-24 05:13:22 +00:00
Dan Halbert 2c0fa0f7dc initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
Dan Halbert 9f1d52601e merge from 8.2.x 2023-09-12 20:14:30 -04:00
Dan Halbert 46bcd103a7 Revert "Reset UART on deinit, reduces power consumption" (from #8089)
This reverts commit ec1e7a03b3.
2023-09-12 11:24:49 -04:00
Dan Halbert 05267948b4 Revert "formatting" (from #8089)
This reverts commit 4bb475b930.
2023-09-12 11:24:02 -04:00
Bob Abeles ab59e36613 Correct problems found by CI 2023-09-01 08:34:53 -07:00
Bob Abeles 66b3eccaf6 8334: RP2040 lacks raw memory map access 2023-08-31 20:25:20 -07:00
Scott Shawcroft ab70f8eace
Merge remote-tracking branch 'adafruit/main' into i2s_mclk 2023-08-24 15:07:14 -07:00
Jeff Epler bb8e0ae76e
turn off some modules to save flash space 2023-08-20 11:18:46 -05:00
Jeff Epler d94ff9d1cf
turn off audiopwmio to save flash space 2023-08-20 11:14:41 -05:00
Scott Shawcroft 8c5c73df38
Add I2S MCLK support to iMX RT 2023-08-17 11:39:14 -07:00
Dan Halbert d582407b06 pre-commit fixes 2023-08-14 00:59:22 -04:00
Dan Halbert 2171e67c1b merge latest adafruit/main 2023-08-13 19:43:54 -04:00
Dan Halbert 27c7807693 silabs build needs work; other builds are working 2023-08-13 19:05:16 -04:00
Dan Halbert 10b94796c0 wip; fix more m_malloc and gc_alloc 2023-08-11 00:30:34 -04:00
Dan Halbert 2ff8667e75 wip; remove long-lived functionality; remove PR#2614
Trinket M0 compile has no compilation errors, but has link errors to fix.
2023-08-08 20:41:17 -04:00
Dan Halbert 0d2c3c3f08 wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
Dan Halbert 0d4bc8c163 initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
Zelin Cai 4dc9b0dde7 Added Makerdiary nRF52840 Connect Kit.
Signed-off-by: Zelin Cai <zelin@makerdiary.com>
2023-07-23 10:52:28 -04:00
Scott Shawcroft 5f082561b3
Unify some error strings 2023-07-20 11:20:32 -07:00
Zelin Cai 5fedf02806 Added Makerdiary nRF52840 Connect Kit.
Signed-off-by: Zelin Cai <zelin@makerdiary.com>
2023-07-07 15:11:12 +08:00
Dan Halbert fde6342705
Revert "nrf: prevent I2C hangs" 2023-06-23 13:20:41 -04:00
Dan Halbert ffebb5af8a
Merge pull request #8094 from furbrain/fix_i2c_hangs
Fix for #8093
2023-06-23 13:12:24 -04:00
Phil Underwood a753490899 Refactor out test for bus sanity state 2023-06-20 23:32:00 +01:00
Phil Underwood 028a81922b
Remove unneeded #define from I2C.c 2023-06-20 13:36:12 +01:00
Phil Underwood fae14cc55b Fix for #8093
This adds a check to make sure that SDA and SCL are in a sane condition
before starting any I2C operation. If they are not it tries to rectify it,
and then returns an error code if unable to do so.
2023-06-19 22:20:46 +01:00
Phil Underwood 4bb475b930 formatting 2023-06-17 22:49:47 +01:00
Phil Underwood ec1e7a03b3 Reset UART on deinit, reduces power consumption 2023-06-17 22:42:12 +01:00
Jeff Epler d5a2293784 nrf52840: allow 12 voices
In my testing, the feather bluefruit can do 12 voices at 48kHz!
This is a simple case (no LFOs, no ring modulation) so other situations might
require a lower sample rate, fewer voices, or both.

The sound is a little artifacty & low-fi but I think that's down to the speaker
& use of PWM instead of I2S.
2023-06-09 11:30:12 -05:00
Dan Halbert 6cf7e45f10
Merge pull request #8037 from jpconstantineau/fix-PCA10100
fix to make buttons and leds compatible with pca10056
2023-06-08 12:56:09 -04:00
Dan Halbert e631350b9b
Merge pull request #8070 from dhalbert/port-specific-submodules
Provide port-specific fetch of submodules
2023-06-06 14:46:39 -04:00
Dan Halbert 38f6fa27e3 fetch-port-submodules; fetch-all-submodules 2023-06-05 17:23:34 -04:00