circuitpython/ports/atmel-samd
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
..
asf4@84f56af132
asf4_conf fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
bindings/samd Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
boards Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
common-hal Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
freetouch@b6859a349e
libs Use libgcc from Arch on SAMD21 (it's smaller.) 2022-08-04 16:33:41 -07:00
modules run code formatting script 2021-03-15 19:27:36 +05:30
peripherals@82e514b6e0 samx5x: support external clock sources 2023-07-18 17:12:58 -06:00
sd_mmc fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
supervisor Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
tools Remove busio.OneWire and bitbangio.OneWire 2022-05-24 12:26:33 -04:00
.gitattributes
Makefile Switch all ports to auto-growing split heap 2023-11-01 15:24:16 -07:00
README.rst
audio_dma.c Switch to using MP_ERROR_TEXT instead of translate, globally 2023-10-30 09:49:06 +01:00
audio_dma.h fix SAMD21 PDMIn DMA event use 2021-10-19 13:18:14 -04:00
background.c Fix ticks 2023-04-07 09:49:51 -07:00
background.h
eic_handler.c working samd deep sleep timealarm and pinalarm (sketchy) 2021-09-29 11:44:15 -06:00
eic_handler.h reworked fake sleep. functional for pin and time 2021-10-09 11:44:10 -06:00
ld_defines.c modifications by pre-commit 2021-03-15 18:11:00 -05:00
mpconfigport.h restore old uzlib; remove remaining U and u prefixes 2023-10-19 21:29:57 -04:00
mpconfigport.mk Merge tag '8.2.7' into merge_in_8.2.7 2023-10-20 15:21:30 -07:00
mphalport.c rework auto-reload delay logic 2022-03-11 14:03:04 -05:00
mphalport.h modifications by pre-commit 2021-03-15 18:11:00 -05:00
qstrdefsport.h Merge MicroPython 1.13 into CircuitPython 2021-05-04 18:06:33 -07:00
reset.c
reset.h
samd_peripherals_config.h
shared_timers.c Reset timers separate from pwmio 2021-08-11 09:58:31 -07:00
shared_timers.h Reset timers separate from pwmio 2021-08-11 09:58:31 -07:00
timer_handler.c modifications by pre-commit 2021-03-15 18:11:00 -05:00
timer_handler.h Reset timers separate from pwmio 2021-08-11 09:58:31 -07:00

README.rst

SAMD21 and SAMD51
==================

This port supports many development boards that utilize SAMD21 and SAMD51 chips. See
https://circuitpython.org/downloads for all supported boards.


Building
--------

For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/


Debugging
---------

For debugging instructions see this guide: https://learn.adafruit.com/debugging-the-samd21-with-gdb


Port Specific modules
---------------------

.. toctree::
    ../../shared-bindings/samd/index