summaryrefslogtreecommitdiff
path: root/ports/atmel-samd/common-hal/microcontroller
AgeCommit message (Collapse)Author
2020-12-28update common_hal_reset_pin()microDev
2020-12-01address review commentsDan Halbert
2020-11-26deep sleep working; deep sleep delay when connectedDan Halbert
2020-11-22wipDan Halbert
2020-11-21wip: ResetReason to microcontroller.cpuDan Halbert
2020-10-27Add check for invalid io, function to disable all alarmsmicroDev
2020-10-27Add description of alarm modulesmicroDev
2020-10-17samd: extend IGNORE_PIN_foo to all sam e5x/e5x pinsJeff Epler
2020-10-17samd: pin: Fix 'undefined reference to pin_PA30'Jeff Epler
.. when PA30 is IGNOREd
2020-09-21samd: move mcu_find_pin_function to headerJeff Epler
.. it'll be used in can as well as sdio
2020-09-17sam e54: disable microcontroller.cpu.voltageJeff Epler
This hangs, and the usual workarounds didn't work.
2020-09-05Moved checks for invalid pin to common-hal/microcontroller/Pin.croot
2020-06-23atmel-samd: Add support for SAM E54 family MCUsJeff Epler
This introduces the new macro SAM_D5X_E5X. This is mostly the same as SAMD51 before, except in a few places where a special case for SAME54 is required
2020-06-22Merge pull request #3052 from dhalbert/samd51-voltage-check-delayScott Shawcroft
delay 1ms on SAMD51 when reading processor voltage
2020-06-22never_reset_pin: Move pin validity check before first use of pin numberJeff Epler
2020-06-19delay 1ms on SAMD51 when reading processor voltageDan Halbert
2020-04-14Add Protomatter and FramebufferDisplayJeff Epler
2019-12-05wipDan Halbert
2019-11-15revert errorHierophect
2019-11-15move neopixel_in_use flag to shared-bindingsHierophect
2019-11-15Add never_reset and reset to pin common hal, adjust filesHierophect
2019-10-20Parameterize linker scriptDan Halbert
2019-10-12return chip vcc valueDan Halbert
2019-05-09Rework safe mode so we can trigger on all resetsScott Shawcroft
2019-05-08Update `on_next_reset` for new safe mode.Scott Shawcroft
Fixes #1831
2019-03-14Fix custom pin in use logic for SWDScott Shawcroft
This should allow you to use SWD pins unless a debugger is attached. You may have trouble connecting to SWD when CircuitPython has already begun using them. Fixes #1633
2019-01-17External fourwire works and blinka splash afterScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft
2019-01-10Support the display on the pyportal.Scott Shawcroft
Also fix #1390, reload during sleep broken.
2018-11-09Incorporate feedback:Scott Shawcroft
* Clean up board defines. * Add flush on eject and stay ejected. * Swith back to NONE protocol for CDC.
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-08-31add pin claiming to devicesDan Halbert
2018-08-09Change file mode back.Scott Shawcroft
2018-08-09Initial SAMR board revision.Scott Shawcroft
2018-08-07Support internationalisation.Scott Shawcroft
2018-08-02Move pin struct to the peripherals library.Scott Shawcroft
Its slimmed down by removing the qstr and bit packing TCC info. The trinket m0 build actually grows by 20 bytes. The arduino zero build shrinks by 188 bytes.
2018-06-15Split out the peripherals library in preparation of sharing with MakeCode.Scott Shawcroft
2018-06-08Prevent freezing USB during high frequency PulseIn.Scott Shawcroft
We now track the last time the background task ran and bail on the PulseIn if it starves the background work. In practice, this happens after the numbers from pulsein are no longer accurate. This also adjusts interrupt priorities so most are the lowest level except for the tick and USB interrupts. Fixes #516 and #876
2018-06-01atmel-samd: Make ticks more atomic.Scott Shawcroft
Always use current_tick when sub millisecond precision is required. Otherwise getting the ms/us to correspond is tricky.
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-15disable pins on trinket_m0 so that we can free a fair bit of flash - Issue #840Roy Hooper
2018-05-01Implement microcontroller.cpu.temperature on '21 and '51.Dan Halbert
2018-04-13Turn on nvm in 3.0.Scott Shawcroft
Its 256b on M0 and 8k on M4 to match flash erase sizes. Fixes #758
2018-04-05atmel-samd: reset: reset() was always entering bootloader modeJeff Epler
.. set the dbl_tap word to a different special value unless RUNMODE_BOOTLOADER was selected
2018-03-25Don't lose half of the processor's serial numberJeff Epler
Before this change, `microcontroller.cpu.uid` returned values where the top 4 bits of each byte were zero, because of an incorrect bitmask used in this function.
2018-03-14Remove SERCOM pointers from pin data structure because index isScott Shawcroft
enough. This saves 380 bytes on the Arduino Zero build. (More pins == more savings.)
2018-02-09m4 compiles, pwmout implementedScott Shawcroft
2018-02-09WIPScott Shawcroft
2018-01-18Added Unique ID Functions/Updated Support Matrix (#527)sommersoft
shared_bindings/index.rst: updated Support Matrix format as discussed in PR #503 & Issue #448. shared-bindings/microcontroller/Processor.c & .h: added UID lookup functionality for use with all ports. Fixes #462.
2018-01-02merge from 2.2.0 + fix up board defsDan Halbert