cd micropython/ports/stm32
make BOARD=VCC_GND_F407-1.0.1
CC build-VCC_GND_F407-1.0.1/pins_VCC_GND_F407-1.0.1.c
LINK build-VCC_GND_F407-1.0.1/firmware.elf
text data bss dec hex filename
323384 36 28312 351732 55df4 build-VCC_GND_F407-1.0.1/firmware.elf
Create build-VCC_GND_F407-1.0.1/firmware.dfu
Create build-VCC_GND_F407-1.0.1/firmware.hex
BIN DFU IN
/micropython-1.9.3/ports/stm32/build-VCC_GND_F407-1.0.1/
cd build-VCC_GND_F407-1.0.1/
ls
我的STM32F407ZET6,在编译了github black_f407后,只能显示串口STMicroelectronics STLink Virtual COM Port ,一直没有U盘,
os.listdir()可以看到根目录有 main.py和boot.py,当我用open a, wite 写入代码后,虽然F407插电可以执行,但插入USB后,这个虚拟串口就再也无法识别了,就无法对main.py 和boot.py代码编辑了。