Subversion Repositories DashDisplay

Rev

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

Rev 61 Rev 62
Line 1... Line 1...
1
##########################################################################################################################
1
##########################################################################################################################
2
# File automatically-generated by tool: [projectgenerator] version: [3.16.0] date: [Mon Jul 04 19:33:47 BST 2022]
2
# File automatically-generated by tool: [projectgenerator] version: [3.16.0] date: [Thu Aug 25 16:18:39 BST 2022] 
3
##########################################################################################################################
3
##########################################################################################################################
4
 
4
 
5
# ------------------------------------------------
5
# ------------------------------------------------
6
# Generic Makefile (based on gcc)
6
# Generic Makefile (based on gcc)
7
#
7
#
Line 20... Line 20...
20
# building variables
20
# building variables
21
######################################
21
######################################
22
# debug build?
22
# debug build?
23
DEBUG = 1
23
DEBUG = 1
24
# optimization
24
# optimization
25
OPT = -Og
25
OPT = -Og -flto
26
 
26
 
27
 
27
 
28
#######################################
28
#######################################
29
# paths
29
# paths
30
#######################################
30
#######################################
Line 53... Line 53...
53
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c \
53
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c \
54
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c \
54
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c \
55
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c \
55
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim.c \
56
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c \
56
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_tim_ex.c \
57
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c \
57
Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_uart.c \
58
Src/system_stm32l1xx.c  
58
Src/system_stm32l1xx.c
59
 
59
 
60
# ASM sources
60
# ASM sources
61
ASM_SOURCES =  \
61
ASM_SOURCES =  \
62
startup_stm32l152xe.s
62
startup_stm32l152xe.s
63
 
63
 
Line 90... Line 90...
90
 
90
 
91
#######################################
91
#######################################
92
# CFLAGS
92
# CFLAGS
93
#######################################
93
#######################################
94
# cpu
94
# cpu
95
CPU = -mcpu=cortex-m3
95
CPU = -march=armv7-m
96
 
96
 
97
# fpu
97
# fpu
98
# NONE for Cortex-M0/M0+/M3
98
# NONE for Cortex-M0/M0+/M3
99
 
99
 
100
# float-abi
100
# float-abi
101
 
101
 
Line 169... Line 169...
169
endif
169
endif
170
 
170
 
171
 
171
 
172
# Generate dependency information
172
# Generate dependency information
173
CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)"
173
CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)"
174
 
-
 
175
## User added
174
## User added
176
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
175
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
177
 
176
 
178
 
177
 
179
#######################################
178
#######################################
Line 237... Line 236...
237
#######################################
236
#######################################
238
# dependencies
237
# dependencies
239
#######################################
238
#######################################
240
-include $(wildcard $(BUILD_DIR)/*.d)
239
-include $(wildcard $(BUILD_DIR)/*.d)
241
 
240
 
242
# *** EOF ***
-
 
243
 
241
# *** EOF ***
-
 
242