summaryrefslogtreecommitdiff
path: root/atmel-samd
AgeCommit message (Collapse)Author
2018-05-07Fix regression preventing remount as readwrite in boot.pyDan Halbert
2018-05-04Merge pull request #802 from dhalbert/2.x-filesystem-work2.3.0Scott Shawcroft
2.x: handle bad power on reset better
2018-05-03Freeze HID and Express into CPX 2.x firmware.Dan Halbert
2018-05-03handle bad power on reset betterDan Halbert
2018-02-20Delete a bunch of docs, drivers and examples not relevant to CircuitPython.Scott Shawcroft
This fixes #345 and fixes #215.
2018-02-13Fix builds without status pixel. No need to track its brightness when its ↵Scott Shawcroft
unavaialable.
2018-02-12Dim the neopixel status LED through the brightness control.Scott Shawcroft
2018-02-12Increase the status LED brightness a bit so that newer DotStarsScott Shawcroft
aren't super dim. This will make status NeoPixels a bit bright but one can use samd.set_rgb_status_brightness() to dim them.
2018-02-04pIRKey tested w/ hardware - basically a trinket or gemma with only dotstar ↵ladyada
LED + IR Receiver
2018-01-30memory type for alt flash fixladyada
2018-01-19Add W25Q16 USON flash support, alternative flash type support for all boardsladyada
2018-01-19Add missing Feather M0 RadioFruit boards: RFM69, RFM9x. (#538)Tony DiCola
2017-12-23PDMIn: Make last DMA buffer be exactly the right length.Dan Halbert
2017-12-23certain odd-sized PDMIn record buffers would crash or not fill properlyDan Halbert
2017-12-21Error in PDMIn filter loop.Dan Halbert
2017-12-20Fix 1200 baud reset.Scott Shawcroft
Fixes #494
2017-12-20check twice for bad filesystemDan Halbert
2017-12-20Wait 2 secs before creating new filesystem in case power is jitteryDan Halbert
2017-12-15Speed up AnalogIn.value.Dan Halbert
2017-12-14Write version info to boot_out.txt.Dan Halbert
2017-12-13Fix PDMIn MEMS microphone support (#479)Dan Halbert
Changes: * New faster filter loop, by @ladyada. New filter coefficients as well. * Turn on microphone clock when PDMIn object is created, and run it all the time, so the user code doesn't have to wait for microphone startup, which can be 10ms or even 100ms. * Wait for microphone startup when PDMIn is first created, based on new optional parameter microphone_startup in seconds (takes a float). * record() returns number of samples actually recorded, so you can see if it's not keeping up. * Fix buffer overflow errors when buffer size was not a multiple of 16 or something like that. * Tweak a few peripheral settings. * Minimum sampling frequency is now 16kHZ or so, because 8kHz runs microphone at only 0.5MHz, which is too slow for many mics. Note: I tried 128x oversampling instead of 64x, but the code cannot keep up at 24kHz or above sampling. 128x would reduce the high-frequency noise by 6db.
2017-12-05Fix a couple spelling errors.Scott Shawcroft
2017-12-05Introduce reset mechanics to microcontroller.Scott Shawcroft
This allows one to configure how a subsequent reset will behave and also trigger a reset. Fixes #350 and fixes #173
2017-12-05add SPI.write_readinto() - bidirectional SPIDan Halbert
2017-11-26atmel-samd: Added missing adalogger pins (#461)Stewart
- Added D4 and moved associated SD_CS so that they are paired within list - Added D7 and SD_CD which is the SD Card Detect pin - Added D8 and GREEN_LED - Added RED_LED associated with D13 - Added Setup information regarding arm complier packages
2017-11-17Add ItsyBitsy M0 support with 1MB flash support (#445)Limor "Ladyada" Fried
2017-11-07atmel-samd: Update Feather M0 Express USB PIDScott Shawcroft
This makes it different from the bootloaders and Arduino. Fixes #324.
2017-11-07Add a _stage module (#398)Radomir Dopieralski
This is a C module with some low-level functions required for the CircuitPython "stage" library. It provides support for fast rendering of tile grids and sprites on SPI-based RGB displays.
2017-11-01Add board definition for the uGame handheld consoleRadomir Dopieralski
This is a board definition for the uGame project: https://hackaday.io/project/27629-game uGame is a small handheld game console programmable with CircuitPython. The hardware part of the project is pretty much stable by now.
2017-10-22Supersized Feather M0 Express for 2.x (replace the 2Mbyte SPI flash with an ↵Dave Astels
8Mbyte chip) (#355) Add supersized (8Mbyte SPI flash) FeatherM0Express support
2017-10-21Gracefully reset the gamepad module (#356)Radomir Dopieralski
If a soft reset happens while the gamepad module is scanning for button presses, there is a moment when the pins get de-initialized, but the gamepad module is still trying to read them, which ends in a crash. We can avoid it by disabling scanning on reset.
2017-10-16Set DRVSTR on output pins to strong (more current capability).Dan Halbert
2017-10-16More io capability on non-Express boards, so call *_reset() routinesDan Halbert
appropriately to match board capabilities.
2017-10-16Turn on pulseio now that there's room.Dan Halbert
https://github.com/adafruit/circuitpython/issues/325#issuecomment-336733842
2017-10-16Use internal libm for all atmel-samd boards.Dan Halbert
2017-10-161. Use lib/libm for small (non-Express builds) to gain back a lot of flash ↵Dan Halbert
space. 2. Add flag INTERNAL_LIBM to mpconfigboard.mk files to signal using lib/libm. 3. Fix floating-point warnings in lib/libm 4. Turn off -finline-limit, no longer needed due to 1. 5. Add explicit flags for SPI_FLASH_FILESYSTEM and INTERNAL_FLASH_FILESYSTEM to mpconfigboard.mk files, so they don't need to know the name of the .c file that implements those. Makefile takes care of checking the flags and including the right files.
2017-10-15Reinit ADC completely on each call to AnalogIn.value.Dan Halbert
2017-10-15Suppress A0 (PA02) as a TouchIn-capable pin on CPX.Dan Halbert
2017-10-12Don't create a new filesystem if we restart in safe mode. (#319)Dan Halbert
2017-10-08Freeze libraries needed by adafruit_circuitplayground library into firmware.Dan Halbert
This saves a lot of RAM. Fixes #287. Also fixed compilation of frozen_mpy.c to use supplied make rule rather than builtin rule (supplied rule suppresses printing out the gcc command line).
2017-10-03Add a `gamepad` module for handling buttons in the background. (#295)Radomir Dopieralski
The `GamePad` singleton monitors buttons in the background to make sure a button press is never missed and debouncing happens consistently.
2017-10-03Do not allow a *io object to be used after deinit().Dan Halbert
Fixes #278, #277, #276, #275.
2017-10-03Add board file for the hacked Trinket M0 Haxpress (#303)Radomir Dopieralski
Add a hacked Tinket M0 Haxpress board definition Based on https://daveastels.com/2017/09/01/trinket-m0-express-hack/
2017-10-02Make touch more sensitive. Add .raw_value and .threshold attributes.Dan Halbert
2017-09-29reset pins on PDMIn deinit(). Fixes #275.Dan Halbert
2017-09-19Add Ananlog Pin aliases to trinket_m0 pins.cJerry Needell
2017-09-16Re-initialize ADC before every AnalogIn read. (#255)Dan Halbert
`microcontroller.cpu.temperature` uses different ADC settings, and caused AnalogIn to give wrong answers. AnalogIn can no longer assume it's the only user of the ADC.
2017-09-12add set_rgb_status_brightness (#246)Asher Lieber
Add set_rgb_status_brightness() via `samd.rgb_status_brightness`. Fixes #162.
2017-09-06Ctrl-C was causing a soft-reset in REPL.Dan Halbert
Also allow an immediate ctrl-c in `input()`.
2017-09-06atmel-samd: Ensure MTB is off in case we ran a debug build beforeScott Shawcroft
a non-debug build.