Merge pull request #5267 from pewpew-game/meowbit-stage

stm32: Add support for Stage games to Meowbit
This commit is contained in:
Scott Shawcroft 2021-08-30 18:35:41 -07:00 committed by GitHub
commit 6ef5241f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

@ -1 +1 @@
Subproject commit 275c03e340c3853ab1c53fc15b6df07ceb672bdc
Subproject commit d0f1c46d7f879cd60562ee69900d619499d4d206

View File

@ -53,7 +53,7 @@ uint8_t display_init_sequence[] = {
0xc4, 2, 0x8a, 0xee,
0xc5, 1, 0x0e, // _VMCTR1 VCOMH = 4V, VOML = -1.1V
0x20, 0, // _INVOFF //MISMATCh 0x2a vs 0x20
0x36, 1, 0x18, // _MADCTL bottom to top refresh
0x36, 1, 0x60, // _MADCTL bottom to top refresh
// 1 clk cycle nonoverlap, 2 cycle gate rise, 3 sycle osc equalie,
// fix on VTL
0x3a, 1, 0x05, // COLMOD - 16bit color
@ -90,7 +90,7 @@ void board_init(void) {
128, // Height
0, // column start
0, // row start
90, // rotation
0, // rotation
16, // Color depth
false, // Grayscale
false, // Pixels in a byte share a row. Only used for depth < 8

View File

@ -22,3 +22,6 @@ LD_FILE = boards/STM32F401xe_boot.ld
CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_ULAB = 0
CIRCUITPY_STAGE = 1
FROZEN_MPY_DIRS += $(TOP)/frozen/circuitpython-stage/meowbit