Add ADC code to measure temperature. Supervisor not yet implemented
This commit is contained in:
@@ -12,6 +12,7 @@ endif
|
||||
|
||||
#Add Files and Folders below#########################################################
|
||||
CFILES = main.c syscalls/syscalls.c setup/system_init.c startup/startup_stm32f0xx.c
|
||||
CFILES += temp-adc.c
|
||||
ASFILES = sk6812.S
|
||||
INCLUDEPATH = -Iinclude -Iinclude/cmsis
|
||||
|
||||
@@ -39,7 +40,7 @@ LFLAGS += -mfloat-abi=soft --disable-newlib-supplied-syscalls -nostartfiles
|
||||
LFLAGS += -Tstartup/stm32f030.ld -Wl,-Map=$(mapfile).map -Wl,--gc-sections -g
|
||||
|
||||
CFLAGS = -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m0 -mthumb-interwork
|
||||
CFLAGS += -mfloat-abi=soft -nostartfiles -Wall -g -O3
|
||||
CFLAGS += -mfloat-abi=soft -nostartfiles -Wall -g3 -O0
|
||||
|
||||
####################################################################################
|
||||
|
||||
|
Reference in New Issue
Block a user