Skip to content

Commit 44585b7

Browse files
jfischer-nocarlescufi
authored andcommitted
drivers: mb_display: rework bbc:microbit display support
Rework bbc:microbit display support to use nRF LED matrix display controller driver and allow to use it with bbc:microbit v2 board. This patch turns the driver into a higher level driver using the display controller API. Code that directly accesses hardware (GPIO) is removed. This driver is reworked to be more generic. It still has a lot of potential for improvement, but it requires changes in all applications that use this tool. Signed-off-by: Johann Fischer <[email protected]>
1 parent faaa08b commit 44585b7

File tree

2 files changed

+153
-195
lines changed

2 files changed

+153
-195
lines changed

drivers/display/Kconfig.microbit

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55

66
config MICROBIT_DISPLAY
77
bool "BBC micro:bit 5x5 LED Display support"
8-
depends on BOARD_BBC_MICROBIT
8+
depends on BOARD_BBC_MICROBIT || BOARD_BBC_MICROBIT_V2
99
depends on PRINTK
10-
depends on GPIO
1110
help
1211
Enable this to be able to display images and text on the 5x5
1312
LED matrix display on the BBC micro:bit.

0 commit comments

Comments
 (0)