davidgfnet / stm32-dfu-bootloader

A DFU bootloader targeting STM32F103 in just 4KB
GNU General Public License v3.0
109 stars 40 forks source link

Makefile generates invalid "flash_config.h" #1

Closed whitepard closed 4 years ago

whitepard commented 4 years ago

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.

whitepard commented 4 years ago

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