Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
Scott Shawcroft
2a2f94df15
Update tinyusb for zero support 2022-01-06 08:52:33 -08:00
Scott Shawcroft
756b9f6dfa
Initial Pi Zero support
Both SD card and USB don't work. REPL works over UART.

Progress on #5631
2021-12-30 18:32:59 -08:00
Scott Shawcroft
5e4cb4f1e2
Yes, index is unused. That's ok. 2021-12-15 13:46:31 -08:00
Scott Shawcroft
2693e2ce0a
Add neopixel support on PWM capable pins
It'll be hard to do PWM from them concurrently

Fixes #5697
2021-12-14 16:59:53 -08:00