Skip to content

Commit

Permalink
Switches bare.armv7m to optimize for size.
Browse files Browse the repository at this point in the history
This was already the case for freertos.armv7m, freertos.armv6m and bare.armv6m targets.
  • Loading branch information
balazsracz committed Dec 23, 2020
1 parent e70af5b commit 2e24caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/bare.armv7m.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ INCLUDES += -I$(FREERTOSPATH)/Source/include \
-I$(OPENMRNPATH)/src/freertos_drivers/common

#ARCHOPTIMIZATION = -D__NEWLIB__
ARCHOPTIMIZATION += -O3 -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections
#ARCHOPTIMIZATION += -Os -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections
#ARCHOPTIMIZATION += -O3 -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections
ARCHOPTIMIZATION += -Os -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections

ARCHFLAGS = -g -MD -MP -march=armv7-m -mthumb -mfloat-abi=soft

Expand Down

0 comments on commit 2e24caf

Please sign in to comment.