summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-18Merge pull request #1202 from tannewt/wrong_playback_frequency3.0.3Dan Halbert
Clock the SAMD21 much faster so it can actually convert at its max
2018-09-18Clock the SAMD21 much faster so it can actually convert at its maxScott Shawcroft
sample rate of 350ksps. Also added an error check of sample rate. Fixes #1196
2018-09-12Merge pull request #1186 from dhalbert/uart-enhancements3.0.2Scott Shawcroft
UART enhancements
2018-09-12fix nrf builds; sphinx 1.8.0 crashing: use lower versionDan Halbert
2018-09-12Merge pull request #1185 from dhalbert/usb_write-length-fixScott Shawcroft
usb_write() output_len was uint8_t instead of uint32_t
2018-09-12UART fixes and enhancements; default board object fixDan Halbert
2018-09-12usb_write() output_len was uint8_t instead of uint32_tDan Halbert
2018-09-12When UART timeout of zero is given, make read() return data already availablePaul Kierstead
2018-09-11Merge pull request #1184 from adafruit/pwmout-tcc-channel-claimingScott Shawcroft
PWMOut was not claming channels on shared TCCs
2018-09-11bump gcc-arm-embedded to 7-2018q2 to save flash spaceDan Halbert
2018-09-11PWMOut was not claming channels on shared TCCsDan Halbert
2018-08-24Merge pull request #1141 from jerryneedell/jerryn_neopixelDan Halbert
adjust SAMD51 neopixel_write timing
2018-08-24 adjust SAMD51 neopixel_write timingJerry Needell
2018-08-20Merge pull request #1131 from tannewt/hallowing33.0.1Scott Shawcroft
Support Hallowing in 3.x
2018-08-20Remove HID from hallowing so we have more room for other stuff.Scott Shawcroft
2018-08-20Merge pull request #1132 from tannewt/sk6812_3xScott Shawcroft
Speed up zero neopixel pulses.
2018-08-20Speed up zero neopixel pulses.Scott Shawcroft
SK6812 on 5v is pickier than WS2812 on 5v. Hopefully fixes #1083.
2018-08-20Change hallowing to shipping flash type W25Q64JV-IQ. tested!ladyada
2018-08-20add HalloWingDan Halbert
2018-08-08Merge pull request #1080 from jepler/uart-llScott Shawcroft
UART: Always allocate UART objects in the long-lived pool
2018-08-08atmel-samd: UART: allocate rx buffer in long-lived regionJeff Epler
This is not strictly needed in order for #1056 to be resolved, because the "make long-lived" machinery is unaware of this pointer. However, as UARTs are assumed to be long-lived, this change is beneficial because it moves the long-lived buffer into the upper memory area with other long-lived objects, instead of remaining in the low heap.
2018-08-08UART: Always allocate UART objects in the long-lived poolJeff Epler
Particularly when they have buffers that are written via IRQ or DMA, UART objects do not relocate gracefully. If such an object is relocated to the long-lived pool after its original creation, the IRQ or DMA will write to an unexpected location within the Python heap, leading to a variety of symptoms. The most frequent symptom is inability to read from the UART. Consider the particular case of atmel-samd: usart_uart_obj_t contains a usart_async_descriptor contains a _usart_async_device. In _sercom_init_irq_param the address of this contained _usart_async_device is assigned to a global array sercom_to_sercom_dev which is later used from the interrupt context _sercom_usart_interrupt_handler to store the received data in the right ring buffer. When the UART object is relocated to the long-lived heap, there's no mechanism to re-point these internal pointers, so instead take the cowardly way and allocate the UART object as long-lived. Happily, almost all UART objects are likely to be long-lived, so this is unlikely to have a negative effect on memory usage or heap fragmentation. Closes: #1056
2018-08-07Merge pull request #1096 from tannewt/tune_neopixelDan Halbert
Retune neopixel timings on SAMD51. They were too slow.
2018-08-07Retune neopixel timings on SAMD51. They were too slow.Scott Shawcroft
Fixes #1083
2018-07-23Merge pull request #1052 from dhalbert/speed-up-dict-long-livedScott Shawcroft
Prevent repetitive recursive scanning of dicts when making them long-…
2018-07-19Prevent repetitive recursive scanning of dicts when making them long-livedDan Halbert
2018-07-09Merge pull request #1006 from dhalbert/3.x-fix-pull3.0.0Kattni
must set pull after setting direction with gpio_set_pin routines
2018-07-09must set pull after setting direction with gpio_set_pin routinesDan Halbert
2018-07-05Merge pull request #993 from dhalbert/update_crickit_libs-3Scott Shawcroft
update Crickit library to fix stepper Drive issues
2018-07-05update Crickit library to fix stepper Drive issuesDan Halbert
2018-07-03Merge pull request #986 from tannewt/include_rtc_fix3.0.0-rc.1Scott Shawcroft
include RTC fix for SAMd51 in circuitpython build
2018-07-03Merge pull request #977 from dhalbert/update_crickit_libs-2Scott Shawcroft
update crickit-related libs
2018-07-03bring all frozen libraries up to dateDan Halbert
2018-07-03include RTC fix for SAMd51 in circuitpython buildmrmcwethy
2018-06-29Merge pull request #973 from dhalbert/3.x_onewire_fixScott Shawcroft
fix OneWire timing and DigitalInOut.switch_to_input()
2018-06-29update crickit-related libsDan Halbert
2018-06-29remove unnecessary extern in nrf/mphalport.cDan Halbert
2018-06-29remove previously added esp8266/mphalport.{c,h}Dan Halbert
2018-06-29implement mp_hal_delay_us() to not need interrupts, and use itDan Halbert
2018-06-29fix nrf and esp8266 builds for OneWire fixDan Halbert
2018-06-28fix OneWire timing and DigitalInOut.switch_to_input()Dan Halbert
2018-06-28Merge pull request #965 from dhalbert/3.x-crickit-libScott Shawcroft
3.x crickit lib
2018-06-27updates crickit and motor frozn libs with latest changes, including 550-2400 ↵Dan Halbert
default servo range
2018-06-26add Crickit library to docs/drivers.rstDan Halbert
2018-06-26Freeze Adafruit_CircuitPython_Crickit into crickit buildsDan Halbert
2018-06-24Merge pull request #953 from dhalbert/allow-mount-slashScott Shawcroft
Allow mounting '/' on '/'
2018-06-21allow '/' to be mounted on '/' from Python codeDan Halbert
2018-06-20add pins D3/D4 to pins.cjerryneedell
fixes #948
2018-06-18Merge pull request #945 from tannewt/nrf528323.0.0-rc.0Dan Halbert
Switch to Feather52s full name to avoid confusion with the nrf52840 later
2018-06-18Fix BLE file download for travis.Scott Shawcroft