Commit Graph

15383 Commits

Author SHA1 Message Date
Sean Cross 34ea140783 ports: fomu: build dfu as part of Makefile
Now that we have a replacement for `dfu-suffix`, construct a dfu
image rather than a UF2 image.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 11:42:55 +08:00
Sean Cross c91d364a58 tools: add dfu-suffix.py
This reproduces `dfu-suffix` from the `dfu-tools` package.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 11:36:57 +08:00
Sean Cross 3c767cc5e1 workflows: move riscv to its own section
The riscv compilers shouldn't be in a section called "build-arm".

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 10:53:58 +08:00
Sean Cross 56ef51d392 workflow: add litex_fomu to ci
This adds fomu and litex and fomu to build on ci.  It requires downloading
a riscv toolchain.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 10:21:00 +08:00
Sean Cross 065441e58c ports: litex: enable itcm region for fomu
This adds a new command line flag -DFOMU to indicate we're building
for a Fomu board.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 09:40:38 +08:00
Sean Cross 1902579b46 supervisor: enable itcm memory region for fomu
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 09:40:38 +08:00
Sean Cross 786e79ebc9 ports: litex: add port and fomu board
This adds support for Litex, along with support for the Fomu FPGA board.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31 09:40:38 +08:00
Scott Shawcroft e8cffcf978
Merge pull request #2740 from arturo182/mimxrt10xx_neopixel
mimxrt10xx: Fix neopixel_write
2020-03-30 17:49:14 -07:00
Scott Shawcroft 7bfc8b437b
Merge pull request #2739 from bd34n/master
board_vina_m0:pins.c: PGM_LED is on PA28 not PA15.
2020-03-30 16:45:47 -07:00
arturo182 13022be299 mimxrt10xx: Fix neopixel_write 2020-03-31 01:05:03 +02:00
Brian Dean 7cfa8e1a68 board_vina_m0:pins.c: PGM_LED is on PA28 not PA15. 2020-03-29 18:59:00 -04:00
Jeff Epler 54e8c63b4f
Merge pull request #2730 from tannewt/fix_fourwire_phase_polarity
Add polarity and phase to FourWire.
2020-03-28 07:28:37 -05:00
Scott Shawcroft b043384949
Update built in display init 2020-03-27 14:35:29 -07:00
Scott Shawcroft eeca3b10c9
Merge pull request #2737 from bd34n/master
Add new board for atmel-samd port: bdmicro_vina-m0
2020-03-27 12:31:49 -07:00
Brian Dean 7fa38e8725 Update board name to bdmicro_vina_m0 to eliminate hyphens. 2020-03-27 13:37:59 -04:00
Brian Dean 08ea95b22c Fix sort. "bd" comes *after* "ba". 2020-03-27 07:35:51 -04:00
Brian Dean 5e1b6b11e6 Fix tab introduced when adding bdmicro_vina-m0 board, should be
spaces.
2020-03-27 07:24:12 -04:00
Brian Dean d8769e32e1 Add bdmicro_vina-m0 board to workflows/build.yml. 2020-03-26 22:08:28 -04:00
Brian Dean 14a1e5756e Merge branch 'master' of https://github.com/adafruit/circuitpython 2020-03-26 20:28:54 -04:00
Brian Dean 2ae9edcbff Add new board BDMICRO 'Vina M0'.
ports/atmel-samd/boards/bdmicro_vina_m0/board.c
ports/atmel-samd/boards/bdmicro_vina_m0/mpconfigboard.h
ports/atmel-samd/boards/bdmicro_vina_m0/mpconfigboard.mk
ports/atmel-samd/boards/bdmicro_vina_m0/board.c

This board includes the newly added MX25L51245G 64MB SPI flash chip
for the CircuitPython file system. Also included is the PCF2129T/2,518
high accuracy, battery backed, RTC. Also includes an independent USB
HOST connector in addition to USB DEVICE making it easy to connect USB
peripherals. Designed mainly as a general purpose module to piggy back
onto application-specific boards, it can also run low power standalone
in harsh environments for data logging and other control applications
using an appropriate enclosure.

Has been extensively tested with CircuitPython and works well.
2020-03-26 20:15:54 -04:00
Scott Shawcroft a870908718
Don't break the function signature 2020-03-26 14:11:20 -07:00
Scott Shawcroft aec3b2419b
Merge pull request #2733 from oshwabadge2020/change_backlight
Add backlight polarity flag to Display
2020-03-26 14:00:47 -07:00
Scott Shawcroft 3959548054
Merge pull request #2734 from theacodes/add-flash-for-sol
Add GD25Q64C as a flash chip for Sol
2020-03-26 13:27:56 -07:00
Scott Shawcroft 4d2e986b9b
Merge pull request #2731 from bd34n/master
supervisor/shared/external_flash/devices.h: Add MX25L51245G support.
2020-03-26 13:11:02 -07:00
Scott Shawcroft e2785f9c5f
Merge pull request #2732 from arturo182/mimxrt10xx_uart_fix
mimxrt10xx: Return proper UART read length when everything was read
2020-03-26 12:59:36 -07:00
Thea Flowers ff67571e9a Add GD25Q64C as a flash chip for Sol 2020-03-26 12:33:27 -07:00
siddacious 9e0c00dfd4 adding a backlight polarity flag to Display 2020-03-25 22:51:20 -07:00
siddacious 7bba79363a allowing backlight change 2020-03-25 22:41:23 -07:00
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 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
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
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 98f5cf25a5
Merge pull request #2716 from jepler/pixelbuf-subscr
Pixelbuf: subscr: Get correct pixel value
2020-03-19 10:02:08 -07:00