Rev 13 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13 | Rev 16 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ########################################################################################################################## |
1 | ########################################################################################################################## |
2 | # File automatically-generated by tool: [projectgenerator] version: [3.10.0-B14] date: [Sun Jan 03 11:22:34 GMT 2021] |
2 | # File automatically-generated by tool: [projectgenerator] version: [3.10.0-B14] date: [Thu Jun 24 19:56:49 BST 2021] |
3 | ########################################################################################################################## |
3 | ########################################################################################################################## |
4 | 4 | ||
5 | # ------------------------------------------------ |
5 | # ------------------------------------------------ |
6 | # Generic Makefile (based on gcc) |
6 | # Generic Makefile (based on gcc) |
7 | # |
7 | # |
Line 57... | Line 57... | ||
57 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c \ |
57 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c \ |
58 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c \ |
58 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c \ |
59 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c \ |
59 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c \ |
60 | Core/Src/system_stm32f1xx.c \ |
60 | Core/Src/system_stm32f1xx.c \ |
61 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c \ |
61 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c \ |
- | 62 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c \ |
|
- | 63 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c \ |
|
62 | USB_DEVICE/App/usb_device.c \ |
64 | USB_DEVICE/App/usb_device.c \ |
63 | USB_DEVICE/App/usbd_desc.c \ |
65 | USB_DEVICE/App/usbd_desc.c \ |
64 | USB_DEVICE/App/usbd_cdc_if.c \ |
66 | USB_DEVICE/App/usbd_cdc_if.c \ |
65 | USB_DEVICE/Target/usbd_conf.c \ |
67 | USB_DEVICE/Target/usbd_conf.c \ |
66 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c \ |
68 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c \ |
67 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c \ |
69 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c \ |
68 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c \ |
70 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c \ |
69 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c \ |
- | |
70 | Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c \ |
- | |
71 | Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c \ |
71 | Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c \ |
72 | Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c \ |
72 | Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c \ |
73 | Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c \ |
73 | Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c \ |
74 | Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c |
74 | Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c |
75 | 75 | ||
Line 118... | Line 118... | ||
118 | # macros for gcc |
118 | # macros for gcc |
119 | # AS defines |
119 | # AS defines |
120 | AS_DEFS = |
120 | AS_DEFS = |
121 | 121 | ||
122 | # C defines |
122 | # C defines |
123 | C_DEFS = \ |
123 | C_DEFS = -DUSB_DEVICE \ |
124 | -DUSE_HAL_DRIVER \ |
124 | -DUSE_HAL_DRIVER \ |
125 | -DSTM32F103xB |
125 | -DSTM32F103xB |
126 | 126 | ||
127 | 127 | ||
128 | # AS includes |
128 | # AS includes |
Line 159... | Line 159... | ||
159 | 159 | ||
160 | #printf Library |
160 | #printf Library |
161 | LIBSMALLPRINTF = ../libSmallPrintf |
161 | LIBSMALLPRINTF = ../libSmallPrintf |
162 | include $(LIBSMALLPRINTF)/libSmallPrintf.mk |
162 | include $(LIBSMALLPRINTF)/libSmallPrintf.mk |
163 | 163 | ||
- | 164 | # NMEA library |
|
164 | C_SOURCES += src/nmea.c |
165 | LIBNMEA = ../libNMEA |
165 | CPP_SOURCES += src/display.cpp |
166 | include $(LIBNMEA)/libNMEA.mk |
166 | - | ||
167 | 167 | ||
- | 168 | CPP_SOURCES += src/display.cpp |
|
168 | 169 | ||
169 | 170 | ||
170 | # compile gcc flags |
171 | # compile gcc flags |
171 | ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections |
172 | ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections |
172 | 173 |