Improvements to main loop + build fixes
- add -lm linker flag - add fan power management
This commit is contained in:
parent
d526341b75
commit
2819ee99d6
2 changed files with 16 additions and 4 deletions
2
Makefile
2
Makefile
|
|
@ -45,7 +45,7 @@ CFLAGS+=-Ifxplib/include -DPOINTPOS=16
|
|||
LDFLAGS+=-Lfxplib/lib/$(BUILD) -lfxp_stm32l0
|
||||
|
||||
# generic linking
|
||||
LDFLAGS+=-Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group
|
||||
LDFLAGS+=-Wl,--start-group -lc -lm -lgcc -lnosys -Wl,--end-group
|
||||
|
||||
# build type specific flags
|
||||
CFLAGS_debug=-O0 -ggdb -DDEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue