Skip to content

Commit 6ef5241

Browse files
authored
Merge pull request #5267 from pewpew-game/meowbit-stage
stm32: Add support for Stage games to Meowbit
2 parents 5fb4fa6 + 89fc189 commit 6ef5241

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

ports/stm/boards/meowbit_v121/board.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ uint8_t display_init_sequence[] = {
5353
0xc4, 2, 0x8a, 0xee,
5454
0xc5, 1, 0x0e, // _VMCTR1 VCOMH = 4V, VOML = -1.1V
5555
0x20, 0, // _INVOFF //MISMATCh 0x2a vs 0x20
56-
0x36, 1, 0x18, // _MADCTL bottom to top refresh
56+
0x36, 1, 0x60, // _MADCTL bottom to top refresh
5757
// 1 clk cycle nonoverlap, 2 cycle gate rise, 3 sycle osc equalie,
5858
// fix on VTL
5959
0x3a, 1, 0x05, // COLMOD - 16bit color
@@ -90,7 +90,7 @@ void board_init(void) {
9090
128, // Height
9191
0, // column start
9292
0, // row start
93-
90, // rotation
93+
0, // rotation
9494
16, // Color depth
9595
false, // Grayscale
9696
false, // Pixels in a byte share a row. Only used for depth < 8

ports/stm/boards/meowbit_v121/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ LD_FILE = boards/STM32F401xe_boot.ld
2222

2323
CIRCUITPY_BLEIO_HCI = 0
2424
CIRCUITPY_ULAB = 0
25+
CIRCUITPY_STAGE = 1
26+
27+
FROZEN_MPY_DIRS += $(TOP)/frozen/circuitpython-stage/meowbit

0 commit comments

Comments
 (0)