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
gamblor21
5c2bd38684
Removed gifio module from tests
2023-02-13 09:40:16 -06:00
Dan Halbert
ec90d79d61
Merge pull request #7553 from kamtom480/sdk2.6.0
...
spresense: update SDK to 2.6.0
2023-02-13 09:04:35 -05:00
MicroDev
65e9d937ac
use python based msgfmt
2023-02-13 11:22:35 +05:30
gamblor21
cab38ed6a6
Doc fixes and renamed play_frame to next_frame
2023-02-12 11:51:23 -06:00
gamblor21
0c95e6a08e
Moving to gifio module
2023-02-12 11:17:34 -06:00
gamblor21
953c989177
Fixign alignment issue on ESP and SAMD boards
2023-02-12 09:39:08 -06:00
gamblor21
29e91e0d4f
Fix for changing frame size and disposal method issues
2023-02-12 09:11:12 -06:00
Alec Delaney
6726f2518e
Minor fixes to bug report template
2023-02-11 22:30:25 -05:00
RetiredWizard
1679790481
Tweaked to run without delays on zero w
2023-02-11 20:21:25 -05:00
RetiredWizard
359a27e166
Pre-commit is stubborn
2023-02-11 12:19:21 -05:00
RetiredWizard
2104708c58
missed a trailing space
2023-02-11 12:17:55 -05:00
RetiredWizard
f29cd4a836
Pre-commit fix trim trailing whitespace
2023-02-11 12:13:34 -05:00
RetiredWizard
a462a316bd
Fix pre-commit formatting
2023-02-11 12:10:03 -05:00
RetiredWizard
a2bbca1428
Broadcom Raspberry Pi Zero2W neopixel timing fix
...
These changes result in working neopixel functionality. I've tested on
both the zero2w and the pi4b (The 4b didn't exhibit the original issue)
and the boards now behave properly with 1 to 30 pixels and the board hanging
no longer occurs.
Remove mod that didn't help during testing
Restoring back to original structure
Replace 2 microsecond delay w/deterministic loop
Remove unneded check for empty queue
Put transmit delay outside loop so Queue is used
Make sure last transmission is complete
2023-02-11 11:38:11 -05:00
MicroDev
d959ef1e5b
use venv to cache python deps
2023-02-11 14:09:32 +05:30
gamblor21
da9b6fb0e2
Moving library to /lib
2023-02-10 18:31:59 -06:00
Bill Sideris
a460410d6a
First attempt at using alloc
2023-02-10 22:45:25 +02:00
Neradoc
3c93594563
Deinit the reset pin when displayio.I2CDisplay raises an exception
2023-02-10 19:54:10 +01:00
Dan Halbert
7071478992
Merge pull request #7566 from jepler/chain-exception-fix
...
Fix several places where an exception could be chained wrongly
2023-02-10 13:47:50 -05:00
MicroDev
70a4efc08a
use composite action for aws s3 upload
2023-02-10 23:24:46 +05:30
MicroDev
17e03c4768
ci max parallelism
2023-02-10 21:32:23 +05:30
Neradoc
cec36b62f1
Update build_board_info.py to sh module 2.0.0
2023-02-10 09:20:46 -06:00
Jeff Epler
0d957fe15c
Fix several places where an exception could be chained wrongly
...
If an exception's chain or context can refer to a pointer from a different
VM, a crash would typically result.
This couldn't turn up on UNIX testing because the VM is never torn
down and rebuilt like it is on hardware.
Because in the 'static' case the GeneratorObject is now fully initialized
whenever it's raised, the initialization can be dropped, which reduces
the flash size slightly.
Closes : #7565
2023-02-10 09:06:47 -06:00
MicroDev
23bb17c240
use composite actions and reusable workflow
2023-02-10 17:14:21 +05:30
MicroDev
baaa2362c2
use already built mpy-cross
2023-02-10 16:38:25 +05:30
MicroDev
e3b924b1b9
Merge pull request #7564 from Neradoc/update-sh-to-2.0.0
...
Update build_board_info.py to sh module 2.0.0
2023-02-10 10:41:37 +05:30
Neradoc
17751ad283
Update build_board_info.py to sh module 2.0.0
2023-02-10 05:23:29 +01:00