Compiling for STM32F4 Mac
Good Day,
I just bought an STm32F4 and was able to load a sample .hex file located
inside: https://github.com/mechoid9/STM32F4
I had followed instructions from this site:
http://jeremyherbert.net/get/stm32f4_getting_started
And it explained how to code, but it failed to state how to actuaully
execute the makefile. I ran it and it gave me a chunk of errors:
SRCS: command not found
SRCS: command not found
CFLAGS: command not found
CFLAGS: command not found
The makefile looks like this:
# 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..
I am not even sure how to even execute it to build my hex files etc.
No comments:
Post a Comment