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
Bill Sideris
659adb7172
fix for stackless
2023-02-16 00:45:41 +02:00
Bill Sideris
8216aa4890
struct stacks
2023-02-16 00:41:49 +02:00
Hosted Weblate
599ecbef05
Merge remote-tracking branch 'origin/main'
2023-02-15 22:55:48 +01:00
Jonny Bergdahl
f3cc597c13
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (996 of 996 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-02-15 22:55:48 +01:00
Dan Halbert
ca24cff0d3
Merge pull request #7586 from gneverov/issue_7333
...
Move serial init to earlier in boot process
2023-02-15 16:55:38 -05:00
Dan Halbert
f79459cb70
Try -fweb -frename-registers to make more SAMD21 builds fit
2023-02-15 16:38:24 -05:00
Bill Sideris
133045a95a
Add error message and guardrail
2023-02-15 23:15:21 +02:00
Hosted Weblate
bf274258a4
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2023-02-15 22:07:24 +01:00
Dan Halbert
c3e7670712
Merge pull request #7579 from jepler/better-boot-output-truncation
...
Improve boot_out.txt truncation
2023-02-15 16:07:14 -05:00
Bill Sideris
818d1d4cb1
Discard pystack_size
2023-02-15 22:43:57 +02:00
Bill Sideris
c3b9567641
using vm cleanup and no globals
2023-02-15 22:27:37 +02:00
Bill Sideris
cf6afe250c
re-add attribute
2023-02-15 22:00:52 +02:00
Bill Sideris
fa302b2e29
Now works on reload.
2023-02-15 21:54:53 +02:00
Dan Halbert
fe40181144
Turn back on for pewpew_m4, turn off terminalio for incomplete fonts in pewpew_m4
2023-02-15 14:45:15 -05:00
Scott Shawcroft
fd3c691af5
Merge pull request #7584 from MicroDev1/ci
...
Fix upload to aws & Refactor mpy-cross-mac path
2023-02-15 11:17:42 -08:00
Gregory Neverov
ffbb7550b4
Move serial init to earlier in boot process
2023-02-15 11:08:09 -08:00
MicroDev
9de039b625
pass secrets to reusable workflows
2023-02-15 21:31:15 +05:30
Bill Sideris
2077bb9da9
pystack_size as multiple of sizeof size_t, no more stackless via settings.toml
2023-02-15 17:54:52 +02:00
Bill Sideris
0d5b400b33
swap int for mp_int_t
2023-02-15 16:08:22 +02:00
Bill Sideris
9e2235d7f7
pystack works via settings.toml, stackless not working yet
2023-02-15 15:23:16 +02:00
Bill Sideris
422098e171
pystack is now a valid supervisor allocation
2023-02-15 12:30:42 +02:00
MicroDev
cfea7c1d69
refactor mpy-cross-mac aws path
2023-02-15 10:56:54 +05:30
MicroDev
5168e96d0c
fix docs upload to aws
2023-02-15 10:56:06 +05:30
MicroDev
32d86c3ea3
Merge pull request #7580 from adafruit/8.0.x
...
Merge 8.0.x up to main
2023-02-15 09:16:51 +05:30
MicroDev
48077daa7f
Merge pull request #7581 from gneverov/issue_7333
...
Add function common_hal_busio_uart_never_reset for rp2
2023-02-15 09:16:25 +05:30
Scott Shawcroft
c8a325a40b
Merge pull request #7567 from MicroDev1/ci
...
CI Enhancements & Refactoring
2023-02-14 11:12:08 -08:00
Scott Shawcroft
0be53977f9
Merge pull request #7570 from RetiredWizard/broadcomNeopix
...
Broadcom pi zero2w neopixel misbehaving/crash fix
2023-02-14 09:56:18 -08:00
Gregory Neverov
98b61279e4
Add function common_hal_busio_uart_never_reset for rp2
2023-02-14 09:05:24 -08:00
Jeff Epler
73840f840d
Improve boot_out.txt truncation
...
* write any partial message
* instead of "..." show a sensible (translatable) message
This does slightly lower the amount of data that can be printed,
and makes the exact amount dependent on the language. However, if boot.py
intentionally needs to produce larger amounts of output, it can
deliberately mount the filesystem in RW mode and perform any writes needed.
In that case it's up to the boot.py to choose an appropriate way to
limit the number of writes if needed for the application.
2023-02-14 10:47:06 -06:00
Dan Halbert
328585f160
don't enter safemode.py on USER safe mode
2023-02-14 11:20:29 -05:00
MicroDev
50c52fca88
split raspberrypi and refactor espressif
2023-02-14 20:38:14 +05:30
Dan Halbert
0f099cdb31
Turn off safemode.py for pewpew_m4
2023-02-13 22:52:39 -05:00
Dan Halbert
c39a51527f
Turn safemode.py off on non-external-flash SAMD21 builds
2023-02-13 21:48:03 -05:00
Dan Halbert
d46d9d5c21
shorten safe mode messages; improve message printing; fix CIRCUITPY_SAFEMODE_PY=0
2023-02-13 21:29:57 -05:00
RetiredWizard
6ebb911a4d
pre-commit formatting fix
2023-02-13 21:06:47 -05:00
RetiredWizard
09ccf2988d
Replace bitwise or with boolean or
2023-02-13 21:04:11 -05:00
RetiredWizard
39d3d97ea4
Remove unnecessary memory barriers
2023-02-13 19:46:35 -05:00
Mark
fa435468fa
Merge branch 'main' into gif_displayio_support
2023-02-13 18:30:51 -06:00
Dan Halbert
d8231f1588
Implement safemode.py
2023-02-13 18:26:38 -05:00
gamblor21
be67cb72ad
Disable for pewpew_m4 for space
2023-02-13 17:04:54 -06:00
RetiredWizard
dcb6955fa5
use boolean and symbols
2023-02-13 14:58:37 -05:00
RetiredWizard
791aefd388
Update ports/broadcom/common-hal/neopixel_write/__init__.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-02-13 14:44:54 -05:00
RetiredWizard
575f177dd0
Update ports/broadcom/common-hal/neopixel_write/__init__.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-02-13 14:44:46 -05:00
Bill Sideris
1f1a495e26
rename _pystack -> pystack
2023-02-13 20:57:54 +02:00
Scott Shawcroft
7d236f2782
Merge pull request #7547 from ajs256/add_sprig
...
Add new board hack_club_sprig
2023-02-13 10:25:04 -08:00
Scott Shawcroft
c8b58050d5
Merge pull request #7574 from jpconstantineau/PyKey87-LED-Fix
...
minor update to boards.c to fix mismatched number of Neopixels
2023-02-13 10:06:53 -08:00
Scott Shawcroft
1af2b6acbe
Merge pull request #7563 from Neradoc/deinit-i2cdisplay-reset-on-raise
...
Deinit the reset pin when displayio.I2CDisplay fails
2023-02-13 10:03:39 -08:00
gamblor21
88212b066e
Doc fix
2023-02-13 11:32:25 -06:00
Pierre Constantineau
676cbb308d
minor update to boards.c to fix mismatched number of LEDs causing LEDs not to be reset
2023-02-13 09:52:18 -06:00