message: put float printf flag in LDFLAGS
diff: @@ -13,9 +13,7 @@ TARGET = ODriveFirmware
  # debug build?
  DEBUG = 1
  # optimization
  -# OPT = -O3 -ffast-math -flto
  -# OPT = -O3 -ffast-math
  -OPT = -O0 -ffast-math -u _printf_float -u _scanf_float
  +OPT = -Og -ffast-math
  #######################################
  # pathes
  @@ -134,7 +132,7 @@ LDSCRIPT = STM32F405RGTx_FLASH.ld
  # libraries
  LIBS = -lc -lm -lnosys -larm_cortexM4lf_math
  LIBDIR = -LDrivers/CMSIS/Lib
  -LDFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nosys.specs -specs=nano.specs $(OPT) -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
  +LDFLAGS = -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nosys.specs -specs=nano.specs -u _printf_float -u _scanf_float $(OPT) -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
  # default action: build all
  all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
  