Subversion Repositories DashDisplay

Rev

Rev 73 | Rev 77 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 73 Rev 76
Line 124... Line 124...
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
#############################################
127
#############################################
128
############################################################################################################################################################################################################################################################################################################################# User added
128
############################################################################################################################################################################################################################################################################################################################# User added
-
 
129
######################################
-
 
130
# Use prebuilt STM32F1 libraries
-
 
131
PREBUILT_LIBS = 0
129
##Add libraries
132
#Add libraries
130
C_DEFS+=-DSERIAL_UART1 -DSERIAL_UART2 -DSERIAL_UART3 -DSERIAL_UART4
133
C_DEFS+=-DSERIAL_UART1 -DSERIAL_UART2 -DSERIAL_UART3 -DSERIAL_UART4
131
LIBSERIAL = ../libSerial
134
LIBSERIAL = ../libSerial
132
include $(LIBSERIAL)/libSerial.mk
135
include $(LIBSERIAL)/libSerial.mk
133
 
136
 
134
# New OLED library
137
# New OLED library
Line 158... Line 161...
158
C_SOURCES   += user/Src/nvram.c
161
C_SOURCES   += user/Src/nvram.c
159
 
162
 
160
C_INCLUDES  += -Iuser/Inc
163
C_INCLUDES  += -Iuser/Inc
161
C_INCLUDES  += -Iuser
164
C_INCLUDES  += -Iuser
162
 
165
 
-
 
166
 
-
 
167
 
163
#############################################
168
#############################################
164
 
169
 
165
# compile gcc flags
170
# compile gcc flags
166
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
171
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
167
 
172
 
Line 189... Line 194...
189
LIBDIR = 
194
LIBDIR = 
190
LDFLAGS = $(MCU) -specs=nano.specs -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
195
LDFLAGS = $(MCU) -specs=nano.specs -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
191
 
196
 
192
# default action: build all
197
# default action: build all
193
all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
198
all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
-
 
199
	echo $(C_SOURCES)
194
 
200
 
195
 
201
 
196
#######################################
202
#######################################
197
# build the application
203
# build the application
198
#######################################
204
#######################################