| Age | Commit message (Collapse) | Author |
|
Save backlight_on_high correctly.
|
|
Fixes #2750
|
|
Don't upgrade to Sphinx 3
|
|
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.
|
|
mimxrt1011: Only re-init SPI when it's actually needed
|
|
If some crazy code (*cough* FourWire) decides to reconfigure the bus
before every transfer, it might get a bit slow...
|
|
fomu: Place more functions into RAM
|
|
Fix testsuite for compatibility with Python 3.8
|
|
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>
|
|
now the need for 3.5 has been fixed
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
ports: litex: add port and fomu board
|
|
Fix PacketBuffer server support
|
|
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
dfu.py now generates proper dfu suffixes without the nonstandard prefix.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
dfu.py is unused in circuitpython, so rename dfu-suffix.py to replace it.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
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>
|
|
This reproduces `dfu-suffix` from the `dfu-tools` package.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
The riscv compilers shouldn't be in a section called "build-arm".
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
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>
|
|
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>
|
|
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
This adds support for Litex, along with support for the Fomu FPGA board.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
mimxrt10xx: Fix neopixel_write
|
|
|
|
board_vina_m0:pins.c: PGM_LED is on PA28 not PA15.
|
|
|
|
|
|
Add polarity and phase to FourWire.
|
|
|
|
Add new board for atmel-samd port: bdmicro_vina-m0
|
|
|
|
|
|
spaces.
|
|
|
|
|
|
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.
|
|
|
|
Add backlight polarity flag to Display
|
|
Add GD25Q64C as a flash chip for Sol
|
|
supervisor/shared/external_flash/devices.h: Add MX25L51245G support.
|
|
mimxrt10xx: Return proper UART read length when everything was read
|
|
|
|
|
|
|
|
|