Changeset - 2e9e37796ebc
[Not reviewed]
default
0 2 0
Ethan Zonca - 6 years ago 2020-04-24 19:59:07
ez@ethanzonca.com
Switch to newlib nano. Untested on actual hardware. Saves flash/ram.
2 files changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
.hgignore
Show inline comments
 
@@ -2,3 +2,9 @@ syntax: glob
 

	
 
*\.o
 
*\.d
 
analysis/*
 
.settings/*
 
Debug/*
 
build/*
 
*.orig
 
archive/*
Makefile
Show inline comments
 
@@ -39,6 +39,7 @@ JTENCODE_INCLUDES = -Ilib/jtencode
 
# USER_CFLAGS: user C flags (enable warnings, enable debug info)
 
USER_CFLAGS = -Wall -g -ffunction-sections -fdata-sections -Os -fno-common --function-sections -fdata-sections 
 
#USER_CFLAGS += -flto
 
USER_CFLAGS += --specs=nano.specs
 

	
 
# USER_LDFLAGS:  user LD flags
 
USER_LDFLAGS = -fno-exceptions -ffunction-sections -fdata-sections -Wl,--gc-sections 
0 comments (0 inline, 0 general)