summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-08Merge pull request #2753 from tannewt/fix_clue_display5.2.0siddacious
Save backlight_on_high correctly.
2020-04-08Save backlight_on_high correctly.Scott Shawcroft
Fixes #2750
2020-04-07Merge pull request #2749 from tannewt/dont_use_sphinx3Dan Halbert
Don't upgrade to Sphinx 3
2020-04-07Don't upgrade to Sphinx 3Scott Shawcroft
The doc build doesn't complete and is likely broken for the inline RST. We can move to 3 when we move the inline docs to Python stubs.
2020-04-06Merge pull request #2747 from arturo182/imx-spi-init-checkScott Shawcroft
mimxrt1011: Only re-init SPI when it's actually needed
2020-04-06mimxrt1011: Only re-init SPI when it's actually neededarturo182
If some crazy code (*cough* FourWire) decides to reconfigure the bus before every transfer, it might get a bit slow...
2020-04-02Merge pull request #2744 from xobs/fomu-ram-text-functionsScott Shawcroft
fomu: Place more functions into RAM
2020-04-02Merge pull request #2743 from jepler/python38Scott Shawcroft
Fix testsuite for compatibility with Python 3.8
2020-04-02ports: fomu: move more functions into ram for stabilitySean Cross
The SPI flash on current Fomu firmware is slow. Circuitpython runs XIP from SPI flash, and so execution time can also be slow. Ordinarily this isn't a problem, however certain operations are time-sensitive. In particular, USB function needs to be handled quickly in order to prevent the host from re-enumerating the device. Place several critical TinyUSB structures into RAM, as well as several hot functions that are frequently called. This reduces execution time at the expense of system memory, and greatly improves system stability. Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-01workflows: use current (3.8) pythonJeff Epler
now the need for 3.5 has been fixed
2020-04-01tests: Add .exp files for basics/parser and import/import_override.Damien George
Because CPython 3.8.0 now produces different output: - basics/parser.py: CPython does not allow '\\\n' as input. - import/import_override: CPython imports _io.
2020-03-31tests/basics: Provide .exp files for generator tests that fail PEP479.Damien George
PEP479 (see https://www.python.org/dev/peps/pep-0479/) prohibited raising StopIteration from within a generator (it is turned into a RuntimeError). This behaviour was introduced in Python 3.5 and in 3.7 was made compulsory. Until uPy implements PEP479, this patch adds .py.exp files for the relevant tests so they can be run under Python 3.7.
2020-03-31tests: Modify tests that print repr of an exception with 1 arg.Damien George
In Python 3.7 the behaviour of repr() of an exception with one argument changed: it no longer prints a trailing comma in the argument list. See https://bugs.python.org/issue30399 This patch modifies tests that rely on this behaviour to not rely on it. And the python34.py test is updated to include a test for this behaviour with a .exp file.
2020-03-31tests/basics/int_big_error.py: Use bytearray to test for int overflow.Damien George
In Python 3.7 "1 >> (big int)" is now allowed, it no longer raises an OverflowError. So use bytearray to test big-int conversion overflow.
2020-03-31tests/basics/set_pop.py: Sort set before printing for consistent output.Damien George
2020-03-31Merge pull request #2726 from xobs/fomu-circuitpythonScott Shawcroft
ports: litex: add port and fomu board
2020-03-31Merge pull request #2741 from tannewt/fix_packetbuffer_serverScott Shawcroft
Fix PacketBuffer server support
2020-03-31tools: add dfu extension and mark litex as dfuSean Cross
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31ports: litex: use dfu.py instead of dfu-suffix.pySean Cross
dfu.py now generates proper dfu suffixes without the nonstandard prefix. Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31tools: rename dfu-suffix.py to dfu.pySean Cross
dfu.py is unused in circuitpython, so rename dfu-suffix.py to replace it. Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31ports: fomu: build dfu as part of MakefileSean Cross
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-31tools: add dfu-suffix.pySean Cross
This reproduces `dfu-suffix` from the `dfu-tools` package. Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31workflows: move riscv to its own sectionSean Cross
The riscv compilers shouldn't be in a section called "build-arm". Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31workflow: add litex_fomu to ciSean Cross
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-31ports: litex: enable itcm region for fomuSean Cross
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-31supervisor: enable itcm memory region for fomuSean Cross
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-31ports: litex: add port and fomu boardSean Cross
This adds support for Litex, along with support for the Fomu FPGA board. Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-30Merge pull request #2740 from arturo182/mimxrt10xx_neopixelScott Shawcroft
mimxrt10xx: Fix neopixel_write
2020-03-30Update translationsScott Shawcroft
2020-03-30Merge pull request #2739 from bd34n/masterScott Shawcroft
board_vina_m0:pins.c: PGM_LED is on PA28 not PA15.
2020-03-31mimxrt10xx: Fix neopixel_writearturo182
2020-03-29board_vina_m0:pins.c: PGM_LED is on PA28 not PA15.Brian Dean
2020-03-28Merge pull request #2730 from tannewt/fix_fourwire_phase_polarityJeff Epler
Add polarity and phase to FourWire.
2020-03-27Update built in display initScott Shawcroft
2020-03-27Merge pull request #2737 from bd34n/masterScott Shawcroft
Add new board for atmel-samd port: bdmicro_vina-m0
2020-03-27Update board name to bdmicro_vina_m0 to eliminate hyphens.Brian Dean
2020-03-27Fix sort. "bd" comes *after* "ba".Brian Dean
2020-03-27Fix tab introduced when adding bdmicro_vina-m0 board, should beBrian Dean
spaces.
2020-03-26Add bdmicro_vina-m0 board to workflows/build.yml.Brian Dean
2020-03-26Merge branch 'master' of https://github.com/adafruit/circuitpythonBrian Dean
2020-03-26Add new board BDMICRO 'Vina M0'.Brian Dean
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-26Don't break the function signatureScott Shawcroft
2020-03-26Merge pull request #2733 from oshwabadge2020/change_backlightScott Shawcroft
Add backlight polarity flag to Display
2020-03-26Merge pull request #2734 from theacodes/add-flash-for-solScott Shawcroft
Add GD25Q64C as a flash chip for Sol
2020-03-26Merge pull request #2731 from bd34n/masterScott Shawcroft
supervisor/shared/external_flash/devices.h: Add MX25L51245G support.
2020-03-26Merge pull request #2732 from arturo182/mimxrt10xx_uart_fixScott Shawcroft
mimxrt10xx: Return proper UART read length when everything was read
2020-03-26Add GD25Q64C as a flash chip for SolThea Flowers
2020-03-25adding a backlight polarity flag to Displaysiddacious
2020-03-25allowing backlight changesiddacious
2020-03-25Add exception on small buffer and fix Connecion WRITE handlingScott Shawcroft