Commit Graph

15680 Commits

Author SHA1 Message Date
arturo182
18c12e7822 mimxrt10xx: Return proper UART read length when everything was read 2020-03-26 00:15:48 +01:00
Brian Dean
b1d83c3f5e supervisor/shared/external_flash/devices.h: Add MX25L51245G support.
Add external flash support for Macronix MX25L51245G 64MiB SPI flash.
2020-03-25 17:16:09 -04:00
Scott Shawcroft
3551b769a2
Fix connection handle tracking in PacketBuffer when a server. 2020-03-25 13:31:18 -07:00
Scott Shawcroft
6b7acc65b6
Add polarity and phase to FourWire.
It was fixed as 0/0 even though it used to get it from the current
SPI state. This makes it more explicit with kwargs.

Thanks to magpie_lark and kmatocha on the Adafruit Support forum
for finding the issue: https://forums.adafruit.com/viewtopic.php?f=60&t=162515
2020-03-25 11:22:46 -07:00
Scott Shawcroft
59eb35da30
Merge pull request #2727 from burtyb/commander-1
Add support for Commander
2020-03-25 11:00:11 -07:00
Chris Burton
62ba45e9fa No change 2020-03-25 15:43:32 +00:00
Scott Shawcroft
ea0ce39962
Simplify STM a bit. 2020-03-24 15:49:24 -07:00
Scott Shawcroft
5e1e4d32db
Get basic sleep going on the iMX RT 1011 2020-03-24 15:46:10 -07:00
Chris Burton
5e559be9b5 Remove Adafruit_CircuitPython_CircuitPlayground 2020-03-24 21:10:34 +00:00
Chris Burton
5c36c73a3d Add to build.yml 2020-03-24 19:43:25 +00:00
Scott Shawcroft
f414f2b588
Merge pull request #2723 from jgillick/jgillick/circuitpython/stm32f411
Add new STM board: Thunderpack
2020-03-24 12:27:20 -07:00
Jeff Epler
385ea9d61d
Merge pull request #2728 from billmoser/nrf-baudrate-fix
Update ports/nrf/common-hal/busio/UART.c to include MIDI baud rate of 32150
2020-03-24 13:32:20 -05:00
William Moser
c961ed9025 Added 31250 and 56000 to baudrate_map in UART.c, to parallel definitions in nrfx/mdk/nrf*_bitfields.h files 2020-03-24 13:25:02 -04:00
jgillick
8ed4deee9d Rename pins 2020-03-23 23:06:55 -07:00
Scott Shawcroft
a8ed6d993c
Switch iMX RT to RTC. Untested. 2020-03-23 18:20:58 -07:00
Scott Shawcroft
653b7619ec
Add back microsecond delay to STM32 2020-03-23 16:09:50 -07:00
Scott Shawcroft
a56170d7f8
Temporarily swap samd-peripherals location 2020-03-23 15:02:24 -07:00
Scott Shawcroft
c0c4c4403a
Factor out stm32f4xx_hal_conf.h 2020-03-23 14:46:25 -07:00
jgillick
29ce756709 PR feedback. 2020-03-22 18:41:19 -07:00
jgillick
a79ac35173 Rename NVM_BYTEARRAY_BUFFER_SIZE 2020-03-22 15:20:58 -07:00
jgillick
68195a8dfe Update NVM_BYTEARRAY_BUFFER_LEN 2020-03-22 15:19:53 -07:00
Chris Burton
39a19d54c2 Add support for Commander 2020-03-22 16:23:56 +00:00
jgillick
5f7e51756f Add thunderpack to build. 2020-03-22 02:41:47 -07:00
jgillick
d76b76cb1d Add non-volatile memory support to STM 2020-03-22 02:22:59 -07:00
jgillick
fa95c1d09f Remove submodules included from micropython. 2020-03-22 02:21:24 -07:00
jgillick
c62b724b24 Merge remote-tracking branch 'circuitpython/master' into jgillick/circuitpython/stm32f412c 2020-03-21 23:36:15 -07:00
Dan Halbert
7e56f6eac2
Merge pull request #2721 from jepler/cannot-assign
runtime: Improve error message when setting read-only property
2020-03-21 10:59:32 -04:00
Jeff Epler
9d2270a979 runtime: Improve error message when setting read-only property
Formerly, if you wrote
   SPI.frequency = 0
you would get the sightly erroneous error message
   AttributeError: 'SPI' object has no attribute 'frequency'
In this case, a better message would read
   AttributeError: 'SPI' object cannot assign attribute 'frequency'

This new message will both be used in the case where the attribute doesn't
exist at all (and the object has no dynamic attributes; most instances of
built in types behave this way), or if the attribute exists but is
read-only.
2020-03-20 17:57:28 -05:00
Scott Shawcroft
2623022c84
Initial work for STM32. Need to fix us delay and PulseIn still. 2020-03-20 12:58:34 -07:00
Scott Shawcroft
98f5cf25a5
Merge pull request #2716 from jepler/pixelbuf-subscr
Pixelbuf: subscr: Get correct pixel value
2020-03-19 10:02:08 -07:00
jgillick
d9e491a9e8 Remove unnecessary change 2020-03-19 00:02:23 -07:00
jgillick
284073584a Cleanup 2020-03-19 00:01:32 -07:00
jgillick
9be2ab6008 Change the board to use an STM32F411 chip. 2020-03-18 23:55:18 -07:00
Scott Shawcroft
5dc3a8960b
Merge pull request #2719 from theacodes/add-honking-button
Add board support for Winterbloom Big Honking Button
2020-03-18 17:37:59 -07:00
Thea Flowers
e027aaf433 Remove some build options, fix order of boards in build.yml 2020-03-18 16:49:10 -07:00
Thea Flowers
25188f53a7 Add honking button to build workflow 2020-03-18 16:40:29 -07:00
Thea Flowers
7332adfa21 Add board support for Winterbloom Big Honking Button 2020-03-18 16:29:44 -07:00
Jeff Epler
310f2ccdf4 Pixelbuf: subscr: Get correct pixel value
Previously, the 0th pixel's value was always returned
2020-03-18 10:25:20 -05:00
jgillick
679314a22e Fix disable VBUS sensing. 2020-03-18 00:35:20 -07:00
Scott Shawcroft
4603c6ddd7
Merge pull request #2711 from jepler/update-ulab
update ulab
2020-03-17 15:33:08 -07:00
Jeff Epler
38a718ff55 Translations: follow stm port rename, run 'make translate' 2020-03-17 16:42:13 -05:00
Jeff Epler
aaf07ce72f
Update shared-bindings/ulab/__init__.rst
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-03-17 16:37:16 -05:00
Scott Shawcroft
6db11cf68b
Fix up Spresense build. It doesn't sleep. 2020-03-17 14:21:45 -07:00
Dan Halbert
9453e10c57
Merge pull request #2712 from tannewt/fix_dotstar_status
Fix DotStar status LED init.
2020-03-17 15:53:08 -04:00
Scott Shawcroft
612ba2f45d
Fix DotStar status LED init. 2020-03-17 12:11:11 -07:00
Scott Shawcroft
d9e68156b2
fix up SAMD21 sleep 2020-03-17 12:10:35 -07:00
Scott Shawcroft
4297ae2d0b
Fix DotStar status LED init. 2020-03-17 12:10:12 -07:00
Jeff Epler
96f2288b84 ulab: include new 'extras' source file 2020-03-17 09:33:17 -05:00
Jeff Epler
d6342af980 ulab: rename enable macro so it appears in the support matrix 2020-03-17 09:33:03 -05:00
Jeff Epler
aa54a7e76e ulab: update documentation 2020-03-17 09:25:33 -05:00