Bootloader size optimizations (#873)
This commit is contained in:
		| @@ -19,9 +19,9 @@ BOOT_CFLAGS		= -DBOOT_ADDRESS=$(BOOT_ADDRESS) -DFW_ADDRESS=$(FW_ADDRESS) -DOS_OF | ||||
| MCU_FLAGS		= -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard | ||||
|  | ||||
| CFLAGS			+= $(MCU_FLAGS) $(BOOT_CFLAGS) -DSTM32WB55xx -Wall -fdata-sections -ffunction-sections | ||||
| LDFLAGS			+= $(MCU_FLAGS) -specs=nosys.specs -specs=nano.specs  | ||||
| LDFLAGS			+= $(MCU_FLAGS) -specs=nosys.specs -specs=nano.specs -u _printf_float | ||||
|  | ||||
| CPPFLAGS		+= -fno-rtti -fno-use-cxa-atexit -fno-exceptions  | ||||
| CPPFLAGS		+= -fno-rtti -fno-use-cxa-atexit -fno-exceptions | ||||
| LDFLAGS			+= -Wl,--start-group -lstdc++ -lsupc++ -Wl,--end-group | ||||
|  | ||||
| HARDWARE_TARGET = 6 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user