f4: proper float/int temp readings

This commit is contained in:
Karl Palsson 2015-11-03 22:34:40 +00:00
parent 30e3339a94
commit 4a1f9d06d2
3 changed files with 50 additions and 41 deletions

View file

@ -92,6 +92,7 @@ TGT_CXXFLAGS += -Wextra -Wshadow -Wredundant-decls -Weffc++
TGT_LDFLAGS += -T$(LDSCRIPT) -L$(OPENCM3_DIR)/lib -nostartfiles
TGT_LDFLAGS += $(ARCH_FLAGS)
TGT_LDFLAGS += -specs=nano.specs
TGT_LDFLAGS += -u _printf_float
TGT_LDFLAGS += -Wl,--gc-sections
# OPTIONAL
#TGT_LDFLAGS += -Wl,-Map=$(PROJECT).map