summaryrefslogtreecommitdiff
path: root/ports
AgeCommit message (Collapse)Author
2020-04-21nrf: bleio: parameterize softradio configurationSean Cross
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>
2020-04-21nrf: mpconfigport: support configuration of various sizesSean Cross
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>
2020-04-21nrf: mpconfigport: subtract config size from firmware sizeSean Cross
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>
2020-04-21nrf: add support for nrf52833Sean Cross
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>
2020-04-21nrf: make rgbmatrix and framebufferio optionalSean Cross
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>
2020-04-21nrf: supervisor: support building without BUSIOSean Cross
Only initialize i2c, spi, and uart if building with BUSIO. Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-21nrf: make neopixel support optionalSean Cross
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>
2020-04-20Merge pull request #2777 from pewpew-game/masterScott Shawcroft
Fix RGB/BGR colors in Stage
2020-04-20STM32: f767: Fixes linker settings.Mark Olsson
2020-04-17RGBMatrix: finish renaming from ProtomatterJeff Epler
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.
2020-04-17Rename Protomatter -> RGBMatrixJeff Epler
This is a quick rename, it changes the user-facing names but not the internal names of things.
2020-04-17Rename _protomatter -> protomatterJeff Epler
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.
2020-04-17Merge pull request #2735 from hierophect/stm32x7-setuphierophect
STM32: Add F7 and H7 Support
2020-04-17Add copyrights to pewpew m4 and ugame board.cRadomir Dopieralski
2020-04-16startup file crash fix, H7 bin fixLucian Copeland
2020-04-16Update copyright to bump the CIScott Shawcroft
2020-04-16litex: enable binascii and ujson modulesSean Cross
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-16litex: disable minimal buildSean Cross
Manually specify available modules and disable any modules that are currently unsupported on the litex target. Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-16litex: add os moduleSean Cross
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-16litex: mphalport: add fake mp_hal_delay_usSean Cross
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>
2020-04-15Fix RGB/BGR colors in StageRadomir Dopieralski
This makes the colors used by the stage library compatible with those used by the displayio library.
2020-04-15Fix korea translation error, minor submodule changeLucian Copeland
2020-04-15translations-mergeLucian Copeland
2020-04-15Implement requested changesLucian Copeland
2020-04-14samd: actually disable protomatter timerJeff Epler
Just setting the timer handler to NO_INTERRUPT doesn't stop the interrupt from occurring.
2020-04-14Update ports/atmel-samd/boards/pyportal_titano/board.cJeff Epler
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-04-14nrf: protomatter portJeff Epler
2020-04-14Add Protomatter and FramebufferDisplayJeff Epler
2020-04-14pycubed: add trailing newline to fileJeff Epler
POSIX specifies that text files end in a trailing newline
2020-04-13enable MICROPY_PY_REVERSE_SPECIAL_METHODS where ulab is enabledJeff Epler
2020-04-13Implement cache-based readsLucian Copeland
2020-04-13Fix pin mapping for the H7 NucleoLucian Copeland
2020-04-13Merge remote-tracking branch 'upstream/master' into stm32x7-setupLucian Copeland
2020-04-13Various requested fixesLucian Copeland
2020-04-09Merge branch 'master' into nfc_copySabas
2020-04-09Update to v1.3sabas1080
2020-04-09Add busio support, cleanupLucian Copeland
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-03Linker file restructure, TCM and MPU additionsLucian Copeland
2020-04-02Implement F7 NucleoLucian Copeland
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-01merge and docsLucian Copeland
2020-04-01Implement requested changesLucian Copeland
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-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-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-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-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