Skip to content

Commit

Permalink
[DISCO_F303] missing wrap main in gcc_arm template
Browse files Browse the repository at this point in the history
  • Loading branch information
ohagendorf committed Dec 8, 2014
1 parent 967046e commit f762a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace_tools/export/gcc_arm_disco_f303vc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CC_FLAGS = $(CPU) -c -g -fno-common -fmessage-length=0 -Wall -fno-exceptions -ff
CC_FLAGS += -MMD -MP
CC_SYMBOLS = {% for s in symbols %}-D{{s}} {% endfor %}

LD_FLAGS = $(CPU) -Wl,--gc-sections --specs=nano.specs -u _printf_float -u _scanf_float
LD_FLAGS = $(CPU) -Wl,--gc-sections --specs=nano.specs -u _printf_float -u _scanf_float -Wl,--wrap,main
LD_FLAGS += -Wl,-Map=$(PROJECT).map,--cref
LD_SYS_LIBS = -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys

Expand Down

0 comments on commit f762a60

Please sign in to comment.