stm32-ld-scripts
stm32-ld-scripts copied to clipboard
GNU LD scripts for STM32 microcontrollers
Results
stm32-ld-scripts issues
Sort by
recently updated
recently updated
newest added
stm32.ld should include lines ``` KEEP(*(.init)) KEEP(*(.fini)) ``` to prevent these sections from being garbage collected by `-gc-sections`
> CHIP = STM32F10X_MD_VL > ... > LD_SCRIPT = $(CHIP).ld > LD_SCRIPT_PATH = ld-scripts > ... > LD_FLAGS += -L$(LD_SCRIPTS) > LD_FLAGS += -T$(LD_SCRIPT) can be: > LD_FLAGS += -L$(LD_SCRIPT_PATH)