summaryrefslogtreecommitdiff
path: root/supervisor
AgeCommit message (Collapse)Author
2020-09-08Fix decompression of unicode values above 2047Jeff Epler
Two problems: The lead byte for 3-byte sequences was wrong, and one mid-byte was not even filled in due to a missing "++"! Apparently this was broken ever since the first "Compress as unicode, not bytes" commit, but I believed I'd "tested" it by running on the Pinyin translation. This rendered at least the Korean and Japanese translations completely illegible, affecting 5.0 and all later releases.
2020-04-21external_flash: add support for mx25r1635fSean Cross
This flash chip is used in Simmel. Signed-off-by: Sean Cross <sean@xobs.io>
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-15translations-mergeLucian Copeland
2020-04-14displayio: swap colors in palettes tooJeff Epler
.. change the in-rom palette to be in RGB565 order
2020-04-14fix build for non-displayio & non-protomatter targetsJeff Epler
2020-04-14protomatter: more memory allocation fixesJeff Epler
- bump supervisor alloc count by 4 (we actually use 5) - move reconstruct to after gc heap is reset - destroy protomatter object entirely if not used by a FramebufferDisplay - ensure previous supervisor allocations are released - zero out pointers so GC can collect them
2020-04-14allow retrieving info about a supervisor allocationJeff Epler
2020-04-13Various requested fixesLucian Copeland
2020-04-03Linker file restructure, TCM and MPU additionsLucian Copeland
2020-04-01merge and docsLucian Copeland
2020-04-01Implement requested changesLucian Copeland
2020-03-31supervisor: enable itcm memory region for fomuSean Cross
Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-25supervisor/shared/external_flash/devices.h: Add MX25L51245G support.Brian Dean
Add external flash support for Macronix MX25L51245G 64MiB SPI flash.
2020-03-17Fix DotStar status LED init.Scott Shawcroft
2020-02-25Merge pull request #2655 from jepler/thing51Jeff Epler
samd51 thing plus: new port
2020-02-25samd51 thing plus: new portjepler
testing performed: * successfully store and retrieve a 500kB file on the flash * square wave output on each pin appears on o'scope * board.SPI(), board.SERIAL(), board.I2C() all construct
2020-02-24Fix Mac crash when waking up with an ejected CIRCUITPYScott Shawcroft
We now correctly set the reason for the unit not being ready and always start the unit. Fixes #2567
2020-02-20Disable BLE file service for nowScott Shawcroft
Fixes #2633
2020-02-12Merge pull request #2615 from mubes/label-driveScott Shawcroft
Allow drive name to be set per target
2020-02-12Allow drive name to be set per target, with fallback to pre-existing behaviourDave Marples
2020-02-12Added fix to allow remount when usb enabled but msc is ejectedGadi Rotenberg
2020-02-06Add support for external flash device Winbond.com W25Q80DVLangston Nashold
Currently, we only support external flash device W25Q80DL. This adds support for the W25Q80DL. tweak
2020-01-29Merge branch 'master' into stm32-meowbithierophect
2020-01-28Implement requested changesLucian Copeland
2020-01-27Merge pull request #2532 from tannewt/teensy4-devScott Shawcroft
Refine iMX RT memory layout and add three boards
2020-01-24pygamer and pybadge boards were not resetting neopixelsDan Halbert
2020-01-23reset NeoPixels on CPB on soft reloadDan Halbert
2020-01-17Refine iMX RT memory layout and add three boardsScott Shawcroft
Introduces a way to place CircuitPython code and data into tightly coupled memory (TCM) which is accessible by the CPU in a single cycle. It also frees up room in the corresponding cache for intermittent data. Loading from external flash is slow! The data cache is also now enabled. Adds support for the iMX RT 1021 chip. Adds three new boards: * iMX RT 1020 EVK * iMX RT 1060 EVK * Teensy 4.0 Related to #2492, #2472 and #2477. Fixes #2475.
2020-01-17Meowbit bus conflict WIPHierophect
2019-12-20Merge pull request #2390 from jepler/displayio-set-rotationScott Shawcroft
displayio: make 'rotation' property settable
2019-12-17Improve USB eject by resetting on replugScott Shawcroft
2019-12-16displayio: make 'rotation' property settableJeff Epler
2019-12-12merge from masterDan Halbert
2019-12-12make translate and remove backslash-r'sDan Halbert
2019-12-12Fix flash write error handling; clean up safe mode message printingDan Halbert
2019-12-11Merge remote-tracking branch 'adafruit/master' into ld-cleanupDan Halbert
2019-12-10merge from upstreamDan Halbert
2019-12-10working on all portsDan Halbert
2019-12-10supervisor: external_flash: don't call m_free when it's badJeff Epler
It's extremely dubious that we have these handles that we think are to GC'd memory at a time when the gc pool may not be initialized. Hopefully, they WERE valid GC memory and are undisturbed by the teardown of the interpreter that can lead to this state. In this case, don't try to m_free them, the memory will become free when the GC heap is reinitialized. Closes: #2338 (together with previous commit)
2019-12-10supervisor: external_flash: don't call m_malloc_maybe when it's badJeff Epler
2019-12-06Comment supervisor ble data arrays.Scott Shawcroft
2019-12-05wipDan Halbert
2019-12-04Add connection interval and debuggingScott Shawcroft
This also sets TinyUSB to master and to not include its submodules. It also fixes an old displayio example comment and retries gattc reads.
2019-12-02Merge pull request #2345 from jepler/compressed-unicodeScott Shawcroft
translation: Compress as unicode, not bytes
2019-12-02translation: Compress as unicode, not bytesJeff Epler
By treating each unicode code-point as a single entity for huffman compression, the overall compression rate can be somewhat improved without changing the algorithm. On the decompression side, when compressed values above 127 are encountered, they need to be converted from a 16-bit Unicode code point into a UTF-8 byte sequence. Doing this returns approximately 1.5kB of flash storage with the zh_Latn_pinyin translation. (292 -> 1768 bytes remaining in my build of trinket_m0) Other "more ASCII" translations benefit less, and in fact zh_Latn_pinyin is no longer the most constrained translation! (de_DE 1156 -> 1384 bytes free in flash, I didn't check others before pushing for CI) English is slightly pessimized, 2840 -> 2788 bytes, probably mostly because the "values" array was changed from uint8_t to uint16_t, which is strictly not required for an all-ASCII translation. This could probably be avoided in this case, but as English is not the most constrained translation it doesn't really matter. Testing performed: built for feather nRF52840 express and trinket m0 in English and zh_Latn_pinyin; ran and verified the localized messages such as Àn xià rènhé jiàn jìnrù REPL. Shǐyòng CTRL-D chóngxīn jiāzài. and Press any key to enter the REPL. Use CTRL-D to reload. were properly displayed.
2019-11-29Merge remote-tracking branch 'origin/master' into tick-refactorJeff Epler
2019-11-26update filesystem.cAyan Pahwa
2019-11-26Not creating code.py file for non-express boardsAyan Pahwa
2019-11-25Fix build failure for boards with less memoryAyan Pahwa