summaryrefslogtreecommitdiff
path: root/ports/stm/common-hal/rgbmatrix/RGBMatrix.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2021-02-12Enable protomatter on RP2040 buildsJeff Epler
Also found a race condition between timer_disable and redraw, which would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable or put a delay or print inside it. That's what pausing inside reconstruct fixes. So that the "right timer" can be chosen, `timer_allocate` now gets the `self` pointer. It's guaranteed at this point that the pin information is accurate, so you can e.g., find a PWM unit related to the pins themselves. This required touching each port to add the parameter even though it's unused everywhere but raspberrypi.
2020-09-18Add never_reset reservation to RGBMatrix initLucian Copeland
2020-07-22Free timers when modules de-initLucian Copeland
2020-07-10Enable RGB MatrixLucian Copeland
2020-04-30stm: enable protomatterJeff Epler
Testing performed: on stm32f405 feather, all pins change in plausible ways on a logic probe. Didn't actually drive a display yet.