File tree Expand file tree Collapse file tree 8 files changed +15
-15
lines changed
google/sam/variants/adk2/build_gcc Expand file tree Collapse file tree 8 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ CFLAGS += -Wcast-align
5050# CFLAGS += -Wmissing-noreturn
5151# CFLAGS += -Wconversion
5252
53- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -nostdlib -std=c99
53+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - nostdlib -std=c99
5454CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP ) -D$(VARIANT )
5555
5656# To reduce application size use only integer printf function.
@@ -71,7 +71,7 @@ CPPFLAGS += -Wpacked -Wredundant-decls -Winline -Wlong-long
7171# CPPFLAGS += -Wconversion
7272
7373# -fno-rtti -fno-exceptions
74- CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -std=c++98
74+ CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - std=c++98
7575CPPFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
7676
7777# To reduce application size use only integer printf function.
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ CFLAGS += -Wcast-align
5252# To reduce application size use only integer printf function.
5353CFLAGS += -Dprintf=iprintf
5454
55- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -std=c99
55+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - std=c99
5656CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
5757
5858
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ CFLAGS += -Wcast-align
5050# CFLAGS += -Wmissing-noreturn
5151# CFLAGS += -Wconversion
5252
53- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -nostdlib -std=c99
53+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - nostdlib -std=c99
5454CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP ) -D$(VARIANT )
5555
5656# To reduce application size use only integer printf function.
@@ -70,7 +70,7 @@ CPPFLAGS += -Wpacked -Wredundant-decls -Winline -Wlong-long
7070# CPPFLAGS += -Wmissing-noreturn
7171# CPPFLAGS += -Wconversion
7272
73- CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fno-rtti -fno-exceptions -std=c++98
73+ CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - fno-rtti -fno-exceptions -std=c++98
7474CPPFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
7575
7676# To reduce application size use only integer printf function.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ CFLAGS += -Wcast-align
5050# CFLAGS += -Wmissing-noreturn
5151# CFLAGS += -Wconversion
5252
53- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -nostdlib -std=c99
53+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - nostdlib -std=c99
5454CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP ) -D$(VARIANT )
5555
5656# To reduce application size use only integer printf function.
@@ -70,7 +70,7 @@ CPPFLAGS += -Wpacked -Wredundant-decls -Winline -Wlong-long
7070# CPPFLAGS += -Wmissing-noreturn
7171# CPPFLAGS += -Wconversion
7272
73- CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fno-rtti -fno-exceptions -std=c++98
73+ CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - fno-rtti -fno-exceptions -std=c++98
7474CPPFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
7575
7676# To reduce application size use only integer printf function.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ CFLAGS += -Wcast-align
5050# CFLAGS += -Wmissing-noreturn
5151# CFLAGS += -Wconversion
5252
53- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -nostdlib -std=c99
53+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - nostdlib -std=c99
5454CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP ) -D$(VARIANT )
5555
5656# To reduce application size use only integer printf function.
@@ -70,7 +70,7 @@ CPPFLAGS += -Wpacked -Wredundant-decls -Winline -Wlong-long
7070# CPPFLAGS += -Wmissing-noreturn
7171# CPPFLAGS += -Wconversion
7272
73- CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fno-rtti -fno-exceptions -std=c++98
73+ CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - fno-rtti -fno-exceptions -std=c++98
7474CPPFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
7575
7676# To reduce application size use only integer printf function.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ CFLAGS += -Wcast-align
5050# CFLAGS += -Wmissing-noreturn
5151# CFLAGS += -Wconversion
5252
53- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -nostdlib -std=c99
53+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - nostdlib -std=c99
5454CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP ) -D$(VARIANT )
5555
5656# To reduce application size use only integer printf function.
@@ -70,7 +70,7 @@ CPPFLAGS += -Wpacked -Wredundant-decls -Winline -Wlong-long
7070# CPPFLAGS += -Wmissing-noreturn
7171# CPPFLAGS += -Wconversion
7272
73- CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fno-rtti -fno-exceptions -std=c++98
73+ CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - fno-rtti -fno-exceptions -std=c++98
7474CPPFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
7575
7676# To reduce application size use only integer printf function.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ CFLAGS += -Wcast-align
5050# CFLAGS += -Wmissing-noreturn
5151# CFLAGS += -Wconversion
5252
53- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -nostdlib -std=c99
53+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - nostdlib -std=c99
5454CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP ) -D$(VARIANT )
5555
5656# To reduce application size use only integer printf function.
@@ -70,7 +70,7 @@ CPPFLAGS += -Wpacked -Wredundant-decls -Winline -Wlong-long
7070# CPPFLAGS += -Wmissing-noreturn
7171# CPPFLAGS += -Wconversion
7272
73- CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fno-rtti -fno-exceptions -std=c++98
73+ CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - fno-rtti -fno-exceptions -std=c++98
7474CPPFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
7575
7676# To reduce application size use only integer printf function.
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ CFLAGS += -Wcast-align
4949# CFLAGS += -Wmissing-noreturn
5050# CFLAGS += -Wconversion
5151
52- CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -nostdlib
52+ CFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fdata-sections - nostdlib
5353CFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP ) -D$(VARIANT )
5454
5555# To reduce application size use only integer printf function.
@@ -69,7 +69,7 @@ CPPFLAGS += -Wpacked -Wredundant-decls -Winline -Wlong-long
6969# CPPFLAGS += -Wmissing-noreturn
7070# CPPFLAGS += -Wconversion
7171
72- CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fno-rtti -fno-exceptions
72+ CPPFLAGS += --param max-inline-insns-single=500 -mcpu=cortex-m3 -mthumb -mlong-calls -ffunction-sections -fno-rtti -fdata-sections - fno-exceptions
7373CPPFLAGS += $(OPTIMIZATION ) $(INCLUDES ) -D$(CHIP )
7474
7575# To reduce application size use only integer printf function.
You can’t perform that action at this time.
0 commit comments