63 Commits (ef61b5ecb59e9b4e37e3e3c023c62d583c23eb16)

Author SHA1 Message Date
Dan Halbert ef61b5ecb5 Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in development) master.
6 years ago
Scott Shawcroft 266be30777 atmel-samd: Introduce a nvm module for non-volatile byte-level memory access. (#203)
6 years ago
Scott Shawcroft 42156484ae shared-bindings/atmel-samd: Fix and improve trigger duration timing on PulseIn.resume.
6 years ago
Scott Shawcroft 557ceded00 atmel-samd: Introduce audiobusio.PDMIn for recording audio from PDM
6 years ago
Scott Shawcroft c82b84e0a9 atmel-samd: Fix potential buffer overflow in UART.c by recalculating
6 years ago
Scott Shawcroft f878bc4efc atmel-samd: Fix AudioOut buffer playback by supporting bytes_per_sample.
6 years ago
Scott Shawcroft 725d715a1b shared-bindings: Introduce storage.remount() so you can set root as
6 years ago
Scott Shawcroft a0058e6712 Introduce a random module that is a subset of CPython's random. It
6 years ago
Scott Shawcroft 778e975936 Split uos module into os and storage.
6 years ago
Scott Shawcroft 30ee7019ca Merge tag 'v1.9.1'
6 years ago
Scott Shawcroft c7efd2cae9 shared-bindings: Move enum-like classes out of DigitalInOut into digitalio.
6 years ago
Scott Shawcroft 58ab5844cb atmel-samd: Fix sharing TCCs by statically storing the current period.
6 years ago
Scott Shawcroft 736a63e85a atmel-samd: Set up the tcc_instance when using an already active TCC.
6 years ago
Scott Shawcroft 3658c92270 atmel-samd: Reset TCC channel in use array on reset.
6 years ago
Scott Shawcroft 9434db07b2 atmel-samd: Handle TCC2 correctly. Unlike the other TCCs its 16bit
6 years ago
Scott Shawcroft a884acc7f6 atmel-samd: Fix PWMOut duty_cycle when used with TCC peripherals.
6 years ago
Scott Shawcroft 3f5028c666 atmel-samd: Support wav file playback. Tested up to 16bit 22.1khz. Must be mono file!
6 years ago
Scott Shawcroft e0f931afd3 atmel-samd: Fix pin reset to ensure USB and SWD are not reset.
6 years ago
Scott Shawcroft 7ea76e0889 atmel-samd: Pin reset improvements.
6 years ago
Scott Shawcroft 5ad426124b atmel-samd: Move heap objects into MICROPY_PORT_ROOT_POINTERS so they don't get garbage collected while we are using them.
6 years ago
Scott Shawcroft 6512ccf32e atmel-samd: Use DMA for user SPI.
6 years ago
Limor "Ladyada" Fried a2c463deb0 Update AudioOut.c
6 years ago
Scott Shawcroft 58b9789d0c atmel-samd: Introduce audio sample playback via audioio.AudioOut.
6 years ago
Scott Shawcroft bc152da3a6 atmel-samd: Remove debug prints from TouchIn
6 years ago
Scott Shawcroft 67ec52d7a9 atmel-samd: Swap out pulseio for touchio based on FreeTouch.
6 years ago
Scott Shawcroft f37ce1c595 atmel-samd: Turn off PulseIn interrupts on reset. Can hardfault otherwise.
6 years ago
Scott Shawcroft f0e24bd812 atmel-samd: Account for pending ticks in PulseIn. Fixes #116.
6 years ago
Scott Shawcroft 4a4f29b8f9 atmel-samd: Rework status LED implementation
6 years ago
Scott Shawcroft 1e8fc15a41 atmel-samd: Fix PulseIn duration math to handle case when current us time is after the last one but more than a ms has passed.
6 years ago
Scott Shawcroft f28f8ba568 Split up nativeio.
6 years ago
Scott Shawcroft ff208d7677 Add low-level OneWire support class.
6 years ago
Scott Shawcroft 7cb54864aa Add PulseIn support which can be used to measure a series of pulse widths.
6 years ago
Scott Shawcroft d200a62164 Add PulseOut which can pulse a PWMOut for IR remote transmission.
6 years ago
Scott Shawcroft d598c2a919 atmel-samd: Add USB HID mouse and keyboard support.
6 years ago
Scott Shawcroft 75d6abe3bb Correct name of mp_raise_NotImplementedError to make error name.
6 years ago
Scott Shawcroft 12fa5b3a66 Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call.
6 years ago
Scott Shawcroft a5a41d7163 atmel-samd: Save a little space by tweaking error messages.
6 years ago
Scott Shawcroft f0b62a2b0e Save space by only supporting 800khz neopixels.
6 years ago
Scott Shawcroft 710b5d8aff Two I2C fixes:
6 years ago
Scott Shawcroft c4ee6d5716 atmel-samd: Remove pin reference from AnalogOut error. Fixes #83
6 years ago
Scott Shawcroft 9ed3e11aec atmel-samd: Clean up I2C correctly when an initialization error occurs. Fixes #95.
6 years ago
Scott Shawcroft ae715a827b atmel-samd: Rework the clock configs to only be crystalless when needed by the hardware.
6 years ago
Scott Shawcroft 370d1dec88 SPI tweaks for SD Cards:
6 years ago
Scott Shawcroft e3f9ee839a Add frequency changing support to PWMOut.
6 years ago
Scott Shawcroft f74e477966 atmel-samd: Fully reset the ADC state on reset to prevent a crash.
6 years ago
Scott Shawcroft 1a86968912 atmel-samd: Fix neopixel timing by forcing the NVM cache to be deterministicly timed. Otherwise, bit order changes code timing. Fixes #74
6 years ago
Scott Shawcroft 179413aec2 atmel-samd: Support multiple ADC channels at once.
6 years ago
Scott Shawcroft d239dbdc28 More fixes to pin pull thanks to jerryn:
6 years ago
Scott Shawcroft f48d2df634 atmel-samd: Improve TouchIn to allow for multiple simultaneous touch pads.
6 years ago
Scott Shawcroft 576373552a atmel-samd: Run the VM hook while waiting for the UART read to timeout in case nothing is received.
6 years ago