circuitpython/supervisor/shared
Scott Shawcroft 931c7c1c51
Add Bangle.js 2, JDI memory displays and ACeP epd
This 2-in-1 PR started with the goal of support the Bangle.js 2
smartwatch with *no USB*.
* Adds "secure" DFU build support with a committed private key.
* Adds 3-bit color support with one dummy bit for the JDI memory display
* Allows nrf boards to have a board_background_task() run in RUN_BACKGROUND_TASK.
  This is needed because the Bangle.js 2 uses the watchdog to reset.
* Renamed port_background_task() to port_background_tick() to indicate it
  runs on tick, not RUN_BACKGROUND_TASK.
* Marks serial connected when the display terminal is inited. This means
  that safe mode messages show up on the display.

ACep, 7-color epaper displays also pack 3 bits in 4. So, I added that
support as well.
* Adds 3-bit ACeP color support for 7-color e-paper displays. (Not
  watch related but similar due to color depth.)
* Allows a refresh sequence instead of a single int command. The 7" ACeP
  display requires a data byte for refresh.
* Adds optional delay after resetting the display. The ACeP displays
  need this. (Probably to load LUTs from flash.)
* Adds a cleaning phase for ACeP displays before the real refresh.

For both:
* Add dither support to Palette.
* Palette no longer converts colors when set. Instead, it caches
  converted colors at each index.
* ColorConverter now caches the last converted color. It should make
  conversions faster for repeated colors (not dithering.)
2023-02-15 15:03:40 -08:00
..
bluetooth Add Bangle.js 2, JDI memory displays and ACeP epd 2023-02-15 15:03:40 -08:00
external_flash Merge branch 'adafruit:main' into main 2023-01-03 09:31:49 +01:00
translate Don't use "offset" as an identifier 2022-11-30 14:39:54 -06:00
usb This code can only be active if USB CDC is enabled. 2022-11-18 16:05:46 -06:00
web_workflow Handle MDNS deinited better. 2023-01-12 11:24:20 -08:00
background_callback.c Add Bangle.js 2, JDI memory displays and ACeP epd 2023-02-15 15:03:40 -08:00
board.c Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -04:00
board.h run code formatting script 2021-03-15 19:27:36 +05:30
cpu.c Initial broadcom port for Raspberry Pi 2021-11-22 14:54:44 -08:00
cpu.h modify copyright notice. 2021-04-25 19:57:21 +09:00
display.c Add Bangle.js 2, JDI memory displays and ACeP epd 2023-02-15 15:03:40 -08:00
display.h Add Bangle.js 2, JDI memory displays and ACeP epd 2023-02-15 15:03:40 -08:00
fatfs.c oofatfs: enable use of random volume IDs 2023-01-03 17:18:29 -06:00
filesystem.c Withdraw the _environ module 2022-12-08 15:33:10 -06:00
flash.c Make autoreload checking more robust 2022-03-09 11:07:55 -05:00
internal_flash.h Hopefully fix flash flush and hopefully audio as well. 2020-03-13 11:12:31 -07:00
lock.c compiles 2021-06-14 20:54:43 -04:00
lock.h compiles 2021-06-14 20:54:43 -04:00
memory.c Implements PDMIn for STM32L4 using the SAI peripheral and decimation/filtering in software. 2022-11-04 17:27:08 -07:00
micropython.c Improve boot_out.txt truncation 2023-02-14 10:47:06 -06:00
port.c cyw43 basic gpio support, hwaddr in boot_out 2022-09-28 10:06:33 -05:00
reload.c Rework the coproc API 2022-12-19 14:08:38 -05:00
reload.h CORS works and autoreload too 2022-06-27 13:39:08 -07:00
rgb_led_colors.h Simplify the status LED to save power 2021-05-13 14:41:20 -07:00
safe_mode.c add CIRCUITPY_SKIP_SAFE_MODE_WAIT to circuitpy_mpconfig.mk 2023-01-29 00:56:16 +01:00
safe_mode.h go into safe mode if not CIRCUITPY available 2021-12-27 18:58:24 -05:00
serial.c Add Bangle.js 2, JDI memory displays and ACeP epd 2023-02-15 15:03:40 -08:00
stack.c implement certain supervisor functions as properties 2022-10-01 23:44:22 +05:30
stack.h implement certain supervisor functions as properties 2022-10-01 23:44:22 +05:30
status_bar.c finish status bar internal simplification 2022-09-27 15:14:40 -04:00
status_bar.h avoid status bar updates immediately after hard restart 2022-08-30 22:33:29 -04:00
status_leds.c Fix PWM status LED never_reset 2022-11-15 16:14:31 -08:00
status_leds.h implement certain supervisor functions as properties 2022-10-01 23:44:22 +05:30
tick.c Update supervisor/shared/tick.c 2022-05-25 11:18:08 +02:00
tick.h rework auto-reload delay logic 2022-03-11 14:03:04 -05:00
traceback.c Formatting fixes 2021-07-22 12:57:10 -04:00
traceback.h Formatting fixes 2021-07-22 12:57:10 -04:00
workflow.c Merge pull request #6778 from tannewt/fix_s2_bootloop 2022-08-18 07:18:57 -04:00
workflow.h Remove upload button and fix mkdir parents 2022-08-17 11:31:11 -07:00