Microsoft MakeCode

About STM32F411CEU6 board(WeAct miniF4)

I have and try to download uf2 to STM32F411CEU6 Board.
(like https://www.youtube.com/watch?v=7XGjTmWKB8g)

But I cannot progress from the dialog(e.g. GAMEOVER screen). then It seems freeze, cannot control any button…
I do not know the cause.

Therefore, I want someone to tell me moving by STM32F411CEU6 Board.
For Example, tell me “board.h” as bootloader.

By the way, my current CF2 is as follows.

PINS_PORT_SIZE = PA_16
PIN_BTN_A = PB09
PIN_BTN_B = PB08
PIN_BTN_DOWN = PB15
PIN_BTN_LEFT = PB12
PIN_BTN_MENU = PA00
PIN_BTN_RIGHT = PB14
PIN_BTN_UP = PB13
PIN_DISPLAY_BL = PA04
PIN_DISPLAY_CS = PA01
PIN_DISPLAY_DC = PA02
PIN_DISPLAY_MISO = PA06
PIN_DISPLAY_MOSI = PA07
PIN_DISPLAY_RST = PA03
PIN_DISPLAY_SCK = PA05
PIN_LED = PC13
PIN_LED1 = PC13
PIN_SPEAKER_AMP = PB00
BOOTLOADER_BOARD_ID = 0x59ea3b60
DISPLAY_CFG0 = 0x80
DISPLAY_CFG1 = 0x603
DISPLAY_CFG2 = 0x16
DISPLAY_HEIGHT = 128
DISPLAY_TYPE = ST7735
DISPLAY_WIDTH = 160
FLASH_BYTES = 0x80000
RAM_BYTES = 0x20000
SPEAKER_VOLUME = 256
UF2_FAMILY = STM32F401

Game over plays a sound. Could try a simple program that plays a sound?

Hi,

I am the one who made the Youtube video in your post. Here is my CF2 binary patcher :

PINS_PORT_SIZE = PA_16
PIN_BTN_A = PB05
PIN_BTN_B = PB04
PIN_BTN_DOWN = PA10
PIN_BTN_LEFT = PB01
PIN_BTN_MENU = PA00
PIN_BTN_RIGHT = PA15
PIN_BTN_UP = PA06
PIN_DISPLAY_BL = PA03
PIN_DISPLAY_CS = PB12
PIN_DISPLAY_DC = PA04
PIN_DISPLAY_MISO = PB14
PIN_DISPLAY_MOSI = PA07
PIN_DISPLAY_RST = PA01
PIN_DISPLAY_SCK = PA05
PIN_JACK_BUSLED = PB00
PIN_JACK_COMMLED = PB15
PIN_JACK_PWREN = PB13
PIN_JACK_SND = PA08
PIN_JACK_TX = PB06
PIN_LED = PC13
BOOTLOADER_BOARD_ID = 0xd9c67d0c
DISPLAY_CFG0 = 0x40
DISPLAY_CFG1 = 0x603
DISPLAY_CFG2 = 0x16
DISPLAY_HEIGHT = 128
DISPLAY_WIDTH = 160
FLASH_BYTES = 0x80000
RAM_BYTES = 0x18000
UF2_FAMILY = STM32F401

Some pins are necessary and you can’t lauch the game without them.

If you want, I can the share the pdf file I made to etch the board.

And also the link of the game which is not finished :

Thaaaanks!! :laughing:

Started to move! “Tetris” also! :smiley: :smiley: :smiley:

@peli & @3issa
Certainly, it was frozen when I tried to make sound.
Therefore, I have removed CFG_PIN_SPEAKER_AMP in board.h as bootloader. and modified BOOTLOADER_BOARD_ID.

I have been experimenting with the same STM32F411CEU6 dev board and facing the same sound issues. Have you got it working?