baoshi / CubeMX2Makefile

STM32CubeMX project to Makefile converter
152 stars 52 forks source link

__weak problems #32

Closed Guddiny closed 3 years ago

Guddiny commented 7 years ago

Hellow. If you use back slash i nthis string: C_DEFS = -Dweak="attribute((weak))" -Dpacked="attribute((packed))" -DUSE_HAL_DRIVER -DSTM32F103xB compile error: error: stray '\' in program

Correct string: C_DEFS = -Dweak="attribute((weak))" -Dpacked="attribute((packed))" -DUSE_HAL_DRIVER -DSTM32F103xB