davidgfnet/stm32-dfu-bootloader

Makefile generates invalid "flash_config.h"

whitepard opened this issue · 1 comments

When I tried to make project under Windows 10 + MinGW, I got flash_config.h file, that was giving compilation errors due to inclusion of quotes (") simbols at the beginning and at the end of each line of flash_config.h file.
To fix this I edited Makefile to remove quotes from lines which have echo commands under "flash_config.h:" section of Makefile.

The addition of msys/bin subdirectory of your MinGW to your PATH solves the issue, no need to edit source code.