summaryrefslogtreecommitdiff
path: root/supervisor/shared
AgeCommit message (Collapse)Author
2019-05-09Merge pull request #1869 from tannewt/fix_programmatic_safe_modeDan Halbert
Update `on_next_reset` for new safe mode.
2019-05-09Rework safe mode so we can trigger on all resetsScott Shawcroft
2019-05-08Update `on_next_reset` for new safe mode.Scott Shawcroft
Fixes #1831
2019-05-08Make status light flash blue for incompatible mpy (fixes #1369)Terri Oda
2019-04-12Update font location and shrink a bunch of buildsScott Shawcroft
2019-04-08Reorganize board busses into shared-bindings and shared-module.Scott Shawcroft
2019-04-05Fix crash when getting board.SPI outside the VMScott Shawcroft
If one of the default pins was already in use it would crash. The internal API has been refined to allow us to get the value without causing an init of the singleton. Fixes #1753
2019-04-05Merge remote-tracking branch 'adafruit/master' into usb-disconnectDan Halbert
2019-04-04@hathach's changes; check cdc connected during string writeDan Halbert
2019-04-04update tinyusb to fix disconnect/suspend issue with #1681hathach
2019-04-04Support multi-byte values with BitmapScott Shawcroft
It also corrects the behavior of single byte values. Fixes #1744
2019-04-03Rework flash flush so it preserves the cacheScott Shawcroft
This should make filesystem writes quicker and cause less heap churn.
2019-04-03Set the terminal tilegrid NULL after freeScott Shawcroft
Without this, a double free can occur when a display (and terminal) is released and then a crash occurs. Upon a second release, different memory is released (sometimes the heap). When this is followed by an allocation for the flash cache, the cache can overwrite the active heap causing crashes. Fixes #1667
2019-03-26Make status LED brightness change immediate.Scott Shawcroft
Fixes #1516
2019-03-26Merge pull request #1672 from dhalbert/regular-fs-flushScott Shawcroft
flush flash filesystem once a second
2019-03-25reset flush timer on call to filesystem_flush()Dan Halbert
2019-03-20flush flash filesystem once a secondDan Halbert
2019-03-19Move Glyph and BuiltinFont into fontioScott Shawcroft
It was confusing in displayio. Fixes #1662
2019-03-14Long live shared bus singletonsScott Shawcroft
Without long living them you may clone them when long living a module that uses them. Fixes #1603
2019-03-12Enter safe mode when an allocation is attempted on an uninitialized heap.Scott Shawcroft
2019-02-21Add option to disable the concurrent write protectionScott Shawcroft
This allows writing to the filesystem from the host computer and CircuitPython by increasing the risk of filesystem corruption.
2019-02-19Prevent infinite display update recursion and fix VFS mountingScott Shawcroft
Fixes #1529
2019-02-15Store the original layer in GroupScott Shawcroft
As is we would return the native superclass object only. Fixes #1551
2019-02-11A variety of displayio improvementsScott Shawcroft
This changes a number of things in displayio: * Introduces BuiltinFont and Glyph so the built in font can be used by libraries. For boards with a font it is available as board.TERMINAL_FONT. Fixes #1172 * Remove _load_row from Bitmap in favor of bitmap[] access. Index can be x/y tuple or overall index. Fixes #1191 * Add width and height properties to Bitmap. * Add insert and [] access to Group. Fixes #1518 * Add index param to pop on Group. * Terminal no longer takes unicode character info. It takes a BuiltinFont instead. * Fix Terminal's handling of [###D vt100 commands used when up arrowing into repl history. * Add x and y positions to Group plus scale as well. * Add bitmap accessor for BuiltinFont
2019-02-07Make several const char / const char * arrays static to save a bit of space.Lionel Debroux
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2019-02-01Fix built-in inits and terminal allocateScott Shawcroft
2019-01-31Fix hallowing and nrf buildsScott Shawcroft
2019-01-31Remove Sprite referencesScott Shawcroft
2019-01-31More improvements to Terminal:Scott Shawcroft
* Fix Hallowing. * Fix builds without displayio. * Fix y bounds that appears as untrollable row of pixels. * Add scrolling to TileGrid. * Remove Sprite to save space. TileGrid is a drop in replacement.
2019-01-31Hook up the terminal based on the first display.Scott Shawcroft
2019-01-31Begin font parsing and packing for terminalScott Shawcroft
2019-01-31Merge pull request #1503 from hathach/nrf-tinyusb-sdDan Halbert
update tinyusb, work better with sd
2019-01-30Updates devices.h to include the W25Q32FV flash chip that is on the SparkFun ↵Elias Santistevan
LumiDrive and Redboard Turbo
2019-01-30refactor nrfx from supervisor/usb.chathach
2019-01-30re-init usb hardware when enable/disable SDhathach
2019-01-29update tinyusb, work better with sdhathach
2019-01-18Improvements thanks to danh's reviewScott Shawcroft
2019-01-17Fix up nrf and using board.SPI in FourWireScott Shawcroft
2019-01-17share fourwire and make nrf compileScott Shawcroft
2019-01-16Rework displays in prep for dynamic support and 8bit parallel.Scott Shawcroft
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2019-01-09Add USB MIDI support for SAMD and nRF.Scott Shawcroft
The API should be identical to using a UART for MIDI. Fixes #672
2018-12-20Don't check for corrupt heap too early; Fix QSPI timingDan Halbert
2018-12-06Rework safe mode and have heap overwrite trigger it.Scott Shawcroft
This creates a common safe mode mechanic that ports can share. As a result, the nRF52 now has safe mode support as well. The common safe mode adds a 700ms delay at startup where a reset during that window will cause a reset into safe mode. This window is designated by a yellow status pixel and flashing the single led three times. A couple NeoPixel fixes are included for the nRF52 as well. Fixes #1034. Fixes #990. Fixes #615.
2018-12-04Add stack validity check and raise an error when it happens.Scott Shawcroft
The backtrace cannot be given because it relies on the validity of the qstr data structures on the heap which may have been corrupted. In fact, it still can crash hard when the bytecode itself is overwritten. To fix, we'd need a way to skip gathering the backtrace completely. This also increases the default stack size on M4s so it can accomodate the stack needed by ASF4s nvm API.
2018-12-04Add correct flash chip for Particle Mesh boardsScott Shawcroft
2018-12-04Add particle boards, fix cp32 and try to speed up atmel buildScott Shawcroft
2018-11-30Fix up spi flash defineScott Shawcroft
2018-11-27Fix QSPI on Feather nRF52840Scott Shawcroft
We were writing with quad page program including the address (0x38) which is unsupported by the GD25Q16C but it is supported by the flash on the DK. So, we use the single address, quad data command (0x32).
2018-11-23Update tinyusb to include control fixes.Scott Shawcroft