Dan Halbert
293755d200
update libraries
2019-01-05 20:18:39 -05:00
Dan Halbert
54693df695
Link typo in drivers.rst
2018-12-14 11:11:53 -05:00
Dan Halbert
3ace9ea9ea
Merge pull request #1333 from sommersoft/drivers_page
...
Update Core Drivers Page [3.x]
2018-11-14 23:40:56 -05:00
sommersoft
3f9b0f764d
remove pca10056 from 3.x .travis.yml too
2018-11-14 22:18:32 -06:00
sommersoft
df663e42e9
remove pca10056 from 3.x travis builds
2018-11-14 22:02:19 -06:00
sommersoft
a42515abbc
update /docs/drivers.rst page; 19 drivers added
2018-11-13 19:41:40 -06:00
Scott Shawcroft
adf9b2108f
Merge pull request #1317 from ATMakersBill/serial_bytes_avail_backport
...
Adding the serial_bytes_available() method to the 3.x branch
2018-11-04 11:40:15 -08:00
ATMakersBill
bd4188a092
adding changes to mpconfigboard.mk to reduce memory usage on CPX per @danh
2018-11-03 14:42:27 -04:00
ATMakersBill
4f2f571536
Adding the serial_bytes_available() method to the 3.x branch
2018-11-03 14:01:30 -04:00
Dan Halbert
fa1edb2a01
Merge pull request #1314 from dhalbert/3.x-frozen-before-lib
...
3.x: put .frozen before /lib in sys.path; update frozen libraries
2018-11-02 08:49:33 -04:00
Dan Halbert
4dfba2f8ac
put .frozen before /lib in sys.path; update frozen libraries
2018-11-01 19:57:10 -04:00
Dan Halbert
af7a0eedf0
Merge pull request #1202 from tannewt/wrong_playback_frequency
...
Clock the SAMD21 much faster so it can actually convert at its max
2018-09-18 22:08:07 -04:00
Scott Shawcroft
655f223916
Clock the SAMD21 much faster so it can actually convert at its max
...
sample rate of 350ksps.
Also added an error check of sample rate.
Fixes #1196
2018-09-18 15:29:46 -07:00
Scott Shawcroft
2dd9407f21
Merge pull request #1186 from dhalbert/uart-enhancements
...
UART enhancements
2018-09-12 16:23:28 -07:00
Dan Halbert
6a72084198
fix nrf builds; sphinx 1.8.0 crashing: use lower version
2018-09-12 18:37:03 -04:00
Scott Shawcroft
beb9446f30
Merge pull request #1185 from dhalbert/usb_write-length-fix
...
usb_write() output_len was uint8_t instead of uint32_t
2018-09-12 15:00:24 -07:00
Dan Halbert
6a046f55c4
UART fixes and enhancements; default board object fix
2018-09-12 17:19:43 -04:00
Dan Halbert
2bd7040fe0
usb_write() output_len was uint8_t instead of uint32_t
2018-09-12 17:16:52 -04:00
Paul Kierstead
02b3f62460
When UART timeout of zero is given, make read() return data already available
2018-09-12 13:25:49 -04:00
Scott Shawcroft
2cb703913d
Merge pull request #1184 from adafruit/pwmout-tcc-channel-claiming
...
PWMOut was not claming channels on shared TCCs
2018-09-11 22:58:44 -07:00
Dan Halbert
f289863088
bump gcc-arm-embedded to 7-2018q2 to save flash space
2018-09-11 21:26:58 -04:00
Dan Halbert
c3918bae57
PWMOut was not claming channels on shared TCCs
2018-09-11 19:46:47 -04:00
Dan Halbert
caa232823e
Merge pull request #1141 from jerryneedell/jerryn_neopixel
...
adjust SAMD51 neopixel_write timing
2018-08-24 08:37:02 -04:00
Jerry Needell
e8b94d0024
adjust SAMD51 neopixel_write timing
2018-08-24 07:01:50 -04:00
Scott Shawcroft
182a8d7120
Merge pull request #1131 from tannewt/hallowing3
...
Support Hallowing in 3.x
2018-08-20 18:26:07 -07:00
Scott Shawcroft
2b6b0ffcd2
Remove HID from hallowing so we have more room for other stuff.
2018-08-20 18:04:35 -07:00
Scott Shawcroft
4a8dd7e96d
Merge pull request #1132 from tannewt/sk6812_3x
...
Speed up zero neopixel pulses.
2018-08-20 17:43:42 -07:00
Scott Shawcroft
44de3d49a8
Speed up zero neopixel pulses.
...
SK6812 on 5v is pickier than WS2812 on 5v.
Hopefully fixes #1083 .
2018-08-20 17:04:46 -07:00
ladyada
aeeb40e02c
Change hallowing to shipping flash type W25Q64JV-IQ. tested!
2018-08-20 10:52:33 -07:00
Dan Halbert
1768057e87
add HalloWing
2018-08-20 10:52:24 -07:00
Scott Shawcroft
cac760aa6f
Merge pull request #1080 from jepler/uart-ll
...
UART: Always allocate UART objects in the long-lived pool
2018-08-08 21:36:33 -07:00
Jeff Epler
b0e33f6a11
atmel-samd: UART: allocate rx buffer in long-lived region
...
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-08 19:21:57 -05:00
Jeff Epler
e1b4e9b7c7
UART: Always allocate UART objects in the long-lived pool
...
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-08 19:21:57 -05:00
Dan Halbert
2e80f37709
Merge pull request #1096 from tannewt/tune_neopixel
...
Retune neopixel timings on SAMD51. They were too slow.
2018-08-07 21:33:12 -04:00
Scott Shawcroft
b0dd645e27
Retune neopixel timings on SAMD51. They were too slow.
...
Fixes #1083
2018-08-07 16:58:37 -07:00
Scott Shawcroft
08def6b51e
Merge pull request #1052 from dhalbert/speed-up-dict-long-lived
...
Prevent repetitive recursive scanning of dicts when making them long-…
2018-07-23 18:17:08 -07:00
Dan Halbert
be1d882a8b
Prevent repetitive recursive scanning of dicts when making them long-lived
2018-07-19 15:19:21 -04:00
Kattni
85a5276f36
Merge pull request #1006 from dhalbert/3.x-fix-pull
...
must set pull after setting direction with gpio_set_pin routines
2018-07-09 17:53:47 -04:00
Dan Halbert
8bb363f7c4
must set pull after setting direction with gpio_set_pin routines
2018-07-09 17:18:06 -04:00
Scott Shawcroft
fba2d9fa6c
Merge pull request #993 from dhalbert/update_crickit_libs-3
...
update Crickit library to fix stepper Drive issues
2018-07-05 17:45:22 -07:00
Dan Halbert
53d821332f
update Crickit library to fix stepper Drive issues
2018-07-05 17:35:20 -04:00
Scott Shawcroft
ff0a6f4ec3
Merge pull request #986 from tannewt/include_rtc_fix
...
include RTC fix for SAMd51 in circuitpython build
2018-07-03 14:16:48 -07:00
Scott Shawcroft
074c5ea144
Merge pull request #977 from dhalbert/update_crickit_libs-2
...
update crickit-related libs
2018-07-03 12:04:05 -07:00
Dan Halbert
bf9981e8db
bring all frozen libraries up to date
2018-07-03 14:39:21 -04:00
mrmcwethy
d9723bb613
include RTC fix for SAMd51 in circuitpython build
2018-07-03 06:52:05 -07:00
Scott Shawcroft
f1248dcdf4
Merge pull request #973 from dhalbert/3.x_onewire_fix
...
fix OneWire timing and DigitalInOut.switch_to_input()
2018-06-29 13:43:50 -07:00
Dan Halbert
b68cd14391
update crickit-related libs
2018-06-29 16:32:25 -04:00
Dan Halbert
7c9a0e2996
remove unnecessary extern in nrf/mphalport.c
2018-06-29 16:06:51 -04:00
Dan Halbert
7028a399c2
remove previously added esp8266/mphalport.{c,h}
2018-06-29 16:04:18 -04:00
Dan Halbert
2a0b857643
implement mp_hal_delay_us() to not need interrupts, and use it
2018-06-29 16:01:46 -04:00