summaryrefslogtreecommitdiff
path: root/ports/atmel-samd/boards/feather_m0_basic
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2021-02-22set SUPEROPT_VM = 0 on most non-Express SAMD21 boardsDan Halbert
2020-12-08Add `board_deinit` for use with sleepScott Shawcroft
This changes lots of files to unify `board.h` across ports. It adds `board_deinit` when CIRCUITPY_ALARM is set. `main.c` uses it to deinit the board before deep sleeping (even when pretending.) Deep sleep is now a two step process for the port. First, the port should prepare to deep sleep based on the given alarms. It should set alarms for both deep and pretend sleep. In particular, the pretend versions should be set immediately so that we don't miss an alarm as we shutdown. These alarms should also wake from `port_idle_until_interrupt` which is used when pretending to deep sleep. Second, when real deep sleeping, `alarm_enter_deep_sleep` is called. The port should set any alarms it didn't during prepare based on data it saved internally during prepare. ESP32-S2 sleep is a bit reorganized to locate more logic with TimeAlarm. This will help it scale to more alarm types. Fixes #3786
2020-04-23implement requested changesLucian Copeland
2019-10-20Parameterize linker scriptDan Halbert
2019-06-12Turn off SUPEROPT on gc.c instead of trying to squueze inline limit so much; ↵Dan Halbert
reorganize mpconfigboard.mk files
2019-06-11shrink a bunch of builds to fitDan Halbert
2019-04-08Reorganize board busses into shared-bindings and shared-module.Scott Shawcroft
2019-03-27turn off frequencyio for all SAMD21 buildsDan Halbert
2019-03-24Enable 256b of nvm storage for all samd21x18-bootloader.ld boards.Justin R. Cutler
2019-03-01better handle frequencyio inclusionsommersoft
2019-02-15WIP: atmel-samd trinket build worksDan Halbert
2019-01-17Fix other builds and hallowingScott Shawcroft
2018-12-06Rework safe mode and have heap overwrite trigger it.Scott Shawcroft
This creates a common safe mode mechanic that ports can share. As a result, the nRF52 now has safe mode support as well. The common safe mode adds a 700ms delay at startup where a reset during that window will cause a reset into safe mode. This window is designated by a yellow status pixel and flashing the single led three times. A couple NeoPixel fixes are included for the nRF52 as well. Fixes #1034. Fixes #990. Fixes #615.
2018-11-08Move atmel-samd to tinyusb and support nRF flash.Scott Shawcroft
This started while adding USB MIDI support (and descriptor support is in this change.) When seeing that I'd have to implement the MIDI class logic twice, once for atmel-samd and once for nrf, I decided to refactor the USB stack so its shared across ports. This has led to a number of changes that remove items from the ports folder and move them into supervisor. Furthermore, we had external SPI flash support for nrf pending so I factored out the connection between the usb stack and the flash API as well. This PR also includes the QSPI support for nRF.
2018-10-14change BAT to BATTERYPaul Sajna
2018-10-13add pin def for BATPaul Sajna
2018-09-14Move VOLTAGE_BATTERY line just under D9 linePierrick C
2018-09-13Add VOLTAGE_MONITOR alias for D9 pin to feather boardsPierrick C
2018-06-08Turn off USB pin objects since they are always used for USB.Scott Shawcroft
2018-06-01atmel-samd: Re-org helper peripheral files into their own subdirectory.Scott Shawcroft
Ideally in the future they won't depend on ASF4 or MicroPython.
2018-05-22make longint choice mechanism more readableDan Halbert
2018-05-21refactor longint settings; make crickit cpx buildDan Halbert
2018-05-17arduino, circuitplayground, feather boardsMatt Land
2018-05-16fix formattingMatt Land
2018-05-16Merge branch 'feature-i2c-gemma' into feature-default-spi-circuit-playgroundMatt Land
2018-05-16used pins.c instead of README.rstMatt Land
2018-05-16SPI for all boardsMatt Land
2018-05-16spi on muchMatt Land
2018-05-15feather m0 boardsMatt Land
2018-01-04revise boards/ files for 3.0. All now compiled (but I don't have all to test).Dan Halbert
2017-10-30atmel-samd: More USB polishScott Shawcroft
* Introduce a python script to generate the USB descriptor instead of a bunch of C macros. In the future, we can use this dynamically in CircuitPython. * Add support for detecting read-only mass storage mounts. Fixes #377
2017-10-24Merge commit 'f869d6b2e339c04469c6c9ea3fb2fabd7bbb2d8c' into nrf2_mergeScott Shawcroft
This is prep for merging in the NRF5 pull request.