再会,
我刚买了一个 STm32F4 并且能够加载位于内部的示例 .hex 文件: https ://github.com/mechoid9/STM32F4
我已按照此站点的说明进行操作:http: //jeremyherbert.net/get/stm32f4_getting_started
它解释了如何编码,但没有说明如何实际执行makefile。我运行它,它给了我一大堆错误:
SRCS: command not found
SRCS: command not found
CFLAGS: command not found
CFLAGS: command not found
生成文件如下所示:
# put your *.o targets here, make should handle the rest!
SRCS = main.c system_stm32f4xx.c
SRCS += lib/startup_stm32f4xx.s # add startup file to build
# all the files will be generated with this name (main.elf, main.bin, main.hex, etc)
PROJ_NAME=main
more code goes..
我什至不知道如何执行它来构建我的十六进制文件等。