Commit c3029c6
committed
feat: Add DMA display driver and fix build
This commit introduces a new, high-performance, DMA-based display driver for the 5x5 LED matrix. This driver offloads the display refresh process from the CPU to the nRF52's hardware peripherals, resulting in a significant reduction in CPU load.
A compile-time option, `USE_DMA_DISPLAY_DRIVER`, has been added to `target.json` to allow developers to switch between the original interrupt-driven driver and the new DMA driver. The new driver and its usage are documented in `source/low_cpu_load_5x5.md`.
This commit also fixes a build failure that occurred when compiling the new driver in the GitHub Actions environment. The issue was caused by an incorrect include path for a dependency header. The fix ensures that the build now passes successfully.
Additionally, the GitHub Actions workflow in `build.yml` has been updated to trigger a build on every push to any branch and on every pull request to any branch.1 parent dba110f commit c3029c6
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments