Skip to content

christal87/DIYMORE_F407VG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIYMORE_F407VG

MicroPython board definition files for the DIYMORE black PCB STM32F407VGT6 dev board. This code is based on mcauser's MCUDEV_DEVEBOX_F407VGT6 repo. Tested with micropython version 1.13.

https://stm32-base.org/boards/STM32F407VGT6-diymore.html

Perspective Top

Build the firmware

Clone the board definitions to your MicroPython ports/stm32/boards folder.

cd micropython/ports/stm32/boards
git clone https://github.com/mcauser/BLACK_F407VE.git

cd ..
make BOARD=BLACK_F407VE

Flashing via DFU

This board can be flashed using DFU. To put the board in DFU mode, disconnect USB, set BOOT0 to ON by connecting pin BT0 to 3V3 and reconnect USB.

Now you can flash the board using USB with the command:

make BOARD=BLACK_F407VE deploy

Once the upload is complete, disconnect USB, set BOOT0 to OFF by connecting pin BT0 to GND and reconnect USB.

Alternatively, you can use the MicroPython command pyb.bootloader() to get into DFU mode without needing to use the switch.

Currently, you need to unplug and replug the board in order to switch from DFU mode back to regular mode.

Accessing the board

Once built and deployed, you can access the MicroPython REPL (the Python prompt) via USB serial.

screen /dev/tty.usbmodem1422 115200
# or
screen /dev/ttyACM0 115200

About

MicroPython board definition files for the DIYMORE black PCB STM32F407VGT6 dev board.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published