Commit Graph

2195 Commits

Author SHA1 Message Date
Qyriad 3f3ec1c835 samx5x: support external clock sources
Adds two board config define's, which can be added in a board's
mpconfigboard.h: BOARD_XOSC_FREQ_HZ, and BOARD_XOSC_IS_CRYSTAL, which
are passed to clock_init(). External clock sources are currently only
implemented for SAM_D5X_E5X series chips, so defining BOARD_XOSC_FREQ_HZ
for a SAMD21 board will emit an error.

Signed-off-by: Qyriad <qyriad@qyriad.me>
2023-07-18 17:12:58 -06: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
Scott Shawcroft f2f19e93ec
Fix listing 2023-06-01 09:47:30 -07:00
tomiahola 31f2faa977
SAM E54 Xplained Pro: add support for SST26VF064B flash chip 2023-06-01 08:36:25 +03:00
Jeff Epler 4da32a7b86
Merge remote-tracking branch 'origin/main' into synthio-lfo-dag 2023-05-19 11:56:13 -05:00
Scott Shawcroft 177b98174e
Shrink by combining error messages 2023-05-18 16:24:37 -07:00
Jeff Epler 4901bdceb7
synthio: disable on more boards where it stopped fitting 2023-05-17 18:49:45 -05:00
Jeff Epler 23baf02399
synthio: disable on a few boards where it doesn't fit 2023-05-11 15:22:48 -05:00
Jeff Epler eebd4a7f52
synthio: no longer fits on feather m4 can 2023-05-04 10:16:58 -05:00
Jeff Epler bd9aca2526
Merge pull request #7862 from jepler/synthio-envelope
Synthio envelope
2023-05-03 12:42:56 -05:00
Dan Halbert 34f565dd89
Merge pull request #7891 from tannewt/fix_epd_uc
Add address_little_endian and fix display memory reuse
2023-04-26 00:27:59 -04:00
Jeff Epler 38fd6aea02
Disable synthio on two boards where it doesn't fit 2023-04-25 12:05:54 -05:00
George White 031667ebd0
Added notes re the RTL8720D pins
The Wio Terminal includes a RealTek RTL8720D as a companion to the main chip to provide WiFi and Bluetooth capabilities via eRPC over a UART connection. The WIO Terminal schematic labels some pins as the RXD/TXD for the UART, and that was captured in the board definition for CircuitPython. However, these pins may be used for logging in another mode, but they are not the main pins used to communicate with the RTL chip. The correct configuration is RX on PC24/pad 2 and TX on PB24/pad 0 of SERCOM 0. The comments on the pin definitions now reflect this situation, for anyone trying to get the WiFi/BLE to work on the Wio Terminal.
2023-04-21 17:41:52 -04:00
Scott Shawcroft b16037859c
Fix native epd boards 2023-04-21 14:36:35 -07:00
Scott Shawcroft d5b747b305
Fix board inits 2023-04-21 13:23:01 -07:00
George White c37af65ee1
Update pins to include UART1 RTS and CTS
Previous pins definition stated that the UART1 RTS and CTS were not connected. They are connected and can currently be used via A1 and PWM0 respectively. To make things a little clearer, enabling the RTS1/CTS1.
2023-04-08 16:29:50 -04:00
Scott Shawcroft bc30475d09
Fix frequencyio 2023-04-07 12:02:54 -07:00
Scott Shawcroft 097af804cd
Fix ticks
In #7497 port_background_task was renamed to port_background_tick
but the actual call site wasn't changed. This meant that it was
no longer called!

Rename more functions from task to tick to make it clearer which is
which.
2023-04-07 09:49:51 -07:00
Jeff Epler 081e9b995e
samd51 can also handle 12 voices @ 24kHz! 2023-04-06 08:55:00 -05:00
Jeff Epler 046397aaff
sort block of settings 2023-04-06 08:54:49 -05:00
Jeff Epler 05cf5213e2
Allow disabling each class in keypad
.. for boards like pewpewm4 which need a specific kind. And need
some space.
2023-04-01 19:22:52 -05:00
Dan Halbert b2535496b0 use max-inline-insns-auto=110 only on SAMD21 2023-03-28 16:28:31 -04:00
Dan Halbert 11082435f1 shrink SAMD21 builds by a few hundred bytes 2023-03-28 16:05:17 -04:00
Dan Halbert 0639c0850f
Merge pull request #7751 from hathach/add-codespell
Add codespell to pre-commit to scan and fix typo
2023-03-23 13:26:24 -04:00
Dan Halbert db76fbd55f
Merge pull request #7712 from gamblor21/ondiskgif_freemem_fix
Add deinit to OnDiskGif
2023-03-23 09:03:07 -04:00
hathach 8c1095b268
Merge branch 'main' into add-codespell 2023-03-23 14:09:57 +07:00
Dan Halbert 2365f9b3be shrink SAMD21 builds; rework shrink logic in Makefile 2023-03-22 19:20:20 -05:00
Scott Shawcroft 67e0a49a1f
Merge pull request #7724 from tannewt/get_perfbench_running
Improve iMX RT performance
2023-03-21 09:00:48 -07:00
hathach fecc1bdedb
fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
Dan Halbert ca292f3427 Turn off mkfs FAT32 on all SAMD21 builds; note in doc 2023-03-17 12:18:24 -04:00
Scott Shawcroft 5bb8a7a7c6
Improve iMX RT performance
* Enable dcache for OCRAM where the VM heap lives.
* Add CIRCUITPY_SWO_TRACE for pushing program counters out over the
  SWO pin via the ITM module in the CPU. Exempt some functions from
  instrumentation to reduce traffic and allow inlining.
* Place more functions in ITCM to handle errors using code in RAM-only
  and speed up CP.
* Use SET and CLEAR registers for digitalio. The SDK does read, mask
  and write.
* Switch to 2MiB reserved for CircuitPython code. Up from 1MiB.
* Run USB interrupts during flash erase and write.
* Allow storage writes from CP if the USB drive is disabled.
* Get perf bench tests running on CircuitPython and increase timeouts
  so it works when instrumentation is active.
2023-03-14 12:30:58 -07:00
Dan Halbert 96e2a72d71 run background tasks during multi-part DMA 2023-03-09 11:53:16 -05:00
Scott Shawcroft 35e82a5f5e
Merge pull request #7676 from microdev1/ci
CI: Enhancements & Refactoring
2023-03-08 10:36:05 -08:00
MicroDev b17364a447
conditionally build all languages 2023-03-04 15:08:54 +05:30
gamblor21 6987d3d752 Fix for long length writes 2023-03-02 21:55:21 -06:00
Dan Halbert 859a48723f
Merge pull request #7633 from tannewt/fix_imx_pwm
Fix `pwmio` on iMX RT.
2023-02-28 14:11:06 -05:00
Neradoc f22f2a3662 enable bus device on hallowing M0 2023-02-27 18:44:08 +01:00
Dan Halbert f9831b3bbc
Merge pull request #7639 from adafruit/8.0.x
Merge 8.0.x up to main
2023-02-24 19:32:09 -05:00
Scott Shawcroft f832386cda
Merge remote-tracking branch 'adafruit/main' into banglejs2 2023-02-23 14:43:38 -08:00
Scott Shawcroft 1acf65ee22
Fix `pwmio` on iMX RT.
It now handles deinit, never_reset and sharing tracking. PWM
now runs in the WAIT state as well during a time.sleep().

_reset_ok() was removed because it was called in one spot right
before deinit().

Some PWMOut were also switched to a bitmap for use instead of
reference count. That way init and deinit are idempotent.

Fixes #6589. Fixes #4841. Fixes #4541.
2023-02-22 11:22:39 -08:00
Scott Shawcroft b67c0b7949
Merge pull request #7585 from bill88t/settings-toml-pystack
Settings.toml-configurable pystack
2023-02-22 10:13:31 -08:00
Bill Sideris 1d12014ec7
disable pixelmap 2023-02-22 13:31:15 +02:00
Scott Shawcroft de5f58a61d
Merge branch 'main' into banglejs2 2023-02-21 12:04:28 -08:00
Scott Shawcroft a8b34bd067
Merge pull request #7549 from gamblor21/gif_displayio_support
Animated GIF support
2023-02-21 11:39:29 -08:00
Bill Sideris 650c4c5d92
pystack+ rainbow- 2023-02-21 20:50:07 +02:00
Bill Sideris 5dba32ed07
Try to pass ci with rainbowio 2023-02-21 17:42:08 +02:00
Dan Halbert 6d51356324 Fix pad assignments on atmel-samd UART 2023-02-19 20:42:44 -05:00
Bill Sideris 8a4a408707
Disable settable-pystack too to make more space 2023-02-17 16:35:16 +02:00
Bill Sideris 388279d9c1
Disable rainbowio instead. 2023-02-17 15:24:27 +02:00