| Age | Commit message (Collapse) | Author |
|
Allow for setting various softradio memory settings as part of a
board in order to support lower-memory configurations. If a
parameter is unspecified then the previously-defined value is used.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Conditionally set variables such as the softdevice RAM size, bootloader
size, and the spi m3 buffer size. This allows ports to adjust these
values to suit their needs.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
The BLE Config area needs to be subtracted from the size of the firmware.
THis is because the firmware is counted by walking backwards from the end
of memory, and the BLE config area is placed lower in memory than the
firmware. Subtracting the BLE config size ensures the internal flash
filesystem doesn't try to use the firmware as storage.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
This adds preliminary support for the nRF52833, which is a variant of
the nRF52840 with half the RAM, half the flash, and fewer peripherals.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Ports can set CIRCUITPY_RGBMATRIX and CIRCUITPY_FRAMEBUFFERIO to 0
in their .mk file in order to prevent these from being built. This
is necessary for resource-constrained devices.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Only initialize i2c, spi, and uart if building with BUSIO.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Add a conditional around the call to neopixel_write(), allowing us
to build for nrf without neopixel support.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Fix RGB/BGR colors in Stage
|
|
|
|
This gets all the purely internal references. Some uses of
protomatter/Protomatter/PROTOMATTER remain, as they are references
to symbols in the Protomatter C library itself.
|
|
This is a quick rename, it changes the user-facing names but not the
internal names of things.
|
|
I originally believed that there would be a wrapper library around it,
like with _pixelbuf; but this proves not to be the case, as there's
too little for the library to do.
|
|
STM32: Add F7 and H7 Support
|
|
|
|
|
|
|
|
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Manually specify available modules and disable any modules
that are currently unsupported on the litex target.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
Add a mp_hal_delay_us, which is required by some of the modules,
that simply calls mp_hal_delay_ms / 1000.
Signed-off-by: Sean Cross <sean@xobs.io>
|
|
This makes the colors used by the stage library compatible with those
used by the displayio library.
|
|
|
|
|
|
|
|
Just setting the timer handler to NO_INTERRUPT doesn't stop the
interrupt from occurring.
|
|
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
|
|
|
|
|
|
POSIX specifies that text files end in a trailing newline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If some crazy code (*cough* FourWire) decides to reconfigure the bus
before every transfer, it might get a bit slow...
|
|
|
|
|
|
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>
|
|
|
|
|
|
ports: litex: add port and fomu board
|
|
Fix PacketBuffer server support
|
|
dfu.py now generates proper dfu suffixes without the nonstandard prefix.
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 adds a new command line flag -DFOMU to indicate we're building
for a Fomu board.
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
|