Rev 65 | Rev 67 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 65 | Rev 66 | ||
---|---|---|---|
Line 122... | Line 122... | ||
122 | -IInc \ |
122 | -IInc \ |
123 | -IDrivers/STM32L1xx_HAL_Driver/Inc \ |
123 | -IDrivers/STM32L1xx_HAL_Driver/Inc \ |
124 | -IDrivers/STM32L1xx_HAL_Driver/Inc/Legacy \ |
124 | -IDrivers/STM32L1xx_HAL_Driver/Inc/Legacy \ |
125 | -IDrivers/CMSIS/Device/ST/STM32L1xx/Include \ |
125 | -IDrivers/CMSIS/Device/ST/STM32L1xx/Include \ |
126 | -IDrivers/CMSIS/Include |
126 | -IDrivers/CMSIS/Include |
127 | - | ||
128 | ############################################# |
127 | ############################################# |
129 | ## User added |
128 | ## User added |
130 | ##Add libraries |
129 | ##Add libraries |
131 | C_DEFS+=-DSERIAL_UART1 -DSERIAL_UART2 -DSERIAL_UART3 -DSERIAL_UART4 |
130 | C_DEFS+=-DSERIAL_UART1 -DSERIAL_UART2 -DSERIAL_UART3 -DSERIAL_UART4 |
132 | LIBSERIAL = ../libSerial |
131 | LIBSERIAL = ../libSerial |
Line 150... | Line 149... | ||
150 | C_INCLUDES+= -I. |
149 | C_INCLUDES+= -I. |
151 | 150 | ||
152 | ############################################# |
151 | ############################################# |
153 | # User added |
152 | # User added |
154 | # C++ sources |
153 | # C++ sources |
155 | CPP_SOURCES += src/display.cpp |
154 | CPP_SOURCES += user/Src/display.cpp |
156 | CPP_SOURCES += src/splash.cpp |
155 | CPP_SOURCES += user/Src/splash.cpp |
- | 156 | ||
- | 157 | C_SOURCES += user/Src/switches.c |
|
- | 158 | C_SOURCES += user/Src/nvram.c |
|
157 | 159 | ||
158 | C_SOURCES += src/switches.c |
160 | C_INCLUDES += -Iuser/Inc |
159 | C_SOURCES += src/nvram.c |
161 | C_INCLUDES += -Iuser |
160 | 162 | ||
161 | ############################################# |
163 | ############################################# |
162 | 164 | ||
163 | # compile gcc flags |
165 | # compile gcc flags |
164 | ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections |
166 | ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections |