CDY version that shares functionality with Counter
Dependencies: SDFileSystem_HelloWorld mbed FATFileSystem
Makefile@3:c547dba5d39b, 2018-11-05 (annotated)
- Committer:
- Charles David Young
- Date:
- Mon Nov 05 09:52:17 2018 -0700
- Revision:
- 3:c547dba5d39b
- Parent:
- 0:aa13e1c335cd
debug
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Charles David Young |
0:aa13e1c335cd | 1 | # This file was automagically generated by mbed.org. For more information, |
Charles David Young |
0:aa13e1c335cd | 2 | # see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded |
Charles David Young |
0:aa13e1c335cd | 3 | |
Charles David Young |
0:aa13e1c335cd | 4 | ############################################################################### |
Charles David Young |
0:aa13e1c335cd | 5 | # Boiler-plate |
Charles David Young |
0:aa13e1c335cd | 6 | |
Charles David Young |
0:aa13e1c335cd | 7 | # cross-platform directory manipulation |
Charles David Young |
0:aa13e1c335cd | 8 | ifeq ($(shell echo $$OS),$$OS) |
Charles David Young |
0:aa13e1c335cd | 9 | MAKEDIR = if not exist "$(1)" mkdir "$(1)" |
Charles David Young |
0:aa13e1c335cd | 10 | RM = rmdir /S /Q "$(1)" |
Charles David Young |
0:aa13e1c335cd | 11 | else |
Charles David Young |
0:aa13e1c335cd | 12 | MAKEDIR = '$(SHELL)' -c "mkdir -p \"$(1)\"" |
Charles David Young |
0:aa13e1c335cd | 13 | RM = '$(SHELL)' -c "rm -rf \"$(1)\"" |
Charles David Young |
0:aa13e1c335cd | 14 | endif |
Charles David Young |
0:aa13e1c335cd | 15 | |
Charles David Young |
0:aa13e1c335cd | 16 | OBJDIR := BUILD |
Charles David Young |
0:aa13e1c335cd | 17 | # Move to the build directory |
Charles David Young |
0:aa13e1c335cd | 18 | ifeq (,$(filter $(OBJDIR),$(notdir $(CURDIR)))) |
Charles David Young |
0:aa13e1c335cd | 19 | .SUFFIXES: |
Charles David Young |
0:aa13e1c335cd | 20 | mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) |
Charles David Young |
0:aa13e1c335cd | 21 | MAKETARGET = '$(MAKE)' --no-print-directory -C $(OBJDIR) -f '$(mkfile_path)' \ |
Charles David Young |
0:aa13e1c335cd | 22 | 'SRCDIR=$(CURDIR)' $(MAKECMDGOALS) |
Charles David Young |
0:aa13e1c335cd | 23 | .PHONY: $(OBJDIR) clean |
Charles David Young |
0:aa13e1c335cd | 24 | all: |
Charles David Young |
0:aa13e1c335cd | 25 | +@$(call MAKEDIR,$(OBJDIR)) |
Charles David Young |
0:aa13e1c335cd | 26 | +@$(MAKETARGET) |
Charles David Young |
0:aa13e1c335cd | 27 | $(OBJDIR): all |
Charles David Young |
0:aa13e1c335cd | 28 | Makefile : ; |
Charles David Young |
0:aa13e1c335cd | 29 | % :: $(OBJDIR) ; : |
Charles David Young |
0:aa13e1c335cd | 30 | clean : |
Charles David Young |
0:aa13e1c335cd | 31 | $(call RM,$(OBJDIR)) |
Charles David Young |
0:aa13e1c335cd | 32 | |
Charles David Young |
0:aa13e1c335cd | 33 | else |
Charles David Young |
0:aa13e1c335cd | 34 | |
Charles David Young |
0:aa13e1c335cd | 35 | # trick rules into thinking we are in the root, when we are in the bulid dir |
Charles David Young |
0:aa13e1c335cd | 36 | VPATH = .. |
Charles David Young |
0:aa13e1c335cd | 37 | |
Charles David Young |
0:aa13e1c335cd | 38 | # Boiler-plate |
Charles David Young |
0:aa13e1c335cd | 39 | ############################################################################### |
Charles David Young |
0:aa13e1c335cd | 40 | # Project settings |
Charles David Young |
0:aa13e1c335cd | 41 | |
Charles David Young |
0:aa13e1c335cd | 42 | PROJECT := 000_GEO_SHOW2ME_OK_F411RE |
Charles David Young |
0:aa13e1c335cd | 43 | |
Charles David Young |
0:aa13e1c335cd | 44 | |
Charles David Young |
0:aa13e1c335cd | 45 | # Project settings |
Charles David Young |
0:aa13e1c335cd | 46 | ############################################################################### |
Charles David Young |
0:aa13e1c335cd | 47 | # Objects and Paths |
Charles David Young |
0:aa13e1c335cd | 48 | |
Charles David Young |
0:aa13e1c335cd | 49 | OBJECTS += QEI/QEI.o |
Charles David Young |
0:aa13e1c335cd | 50 | OBJECTS += SDFileSystem/FATFileSystem/ChaN/ccsbcs.o |
Charles David Young |
0:aa13e1c335cd | 51 | OBJECTS += SDFileSystem/FATFileSystem/ChaN/diskio.o |
Charles David Young |
0:aa13e1c335cd | 52 | OBJECTS += SDFileSystem/FATFileSystem/ChaN/ff.o |
Charles David Young |
0:aa13e1c335cd | 53 | OBJECTS += SDFileSystem/FATFileSystem/FATDirHandle.o |
Charles David Young |
0:aa13e1c335cd | 54 | OBJECTS += SDFileSystem/FATFileSystem/FATFileHandle.o |
Charles David Young |
0:aa13e1c335cd | 55 | OBJECTS += SDFileSystem/FATFileSystem/FATFileSystem.o |
Charles David Young |
0:aa13e1c335cd | 56 | OBJECTS += SDFileSystem/SDFileSystem.o |
Charles David Young |
0:aa13e1c335cd | 57 | OBJECTS += ST7565_LCD/ST7565_LCD.o |
Charles David Young |
0:aa13e1c335cd | 58 | OBJECTS += main.o |
Charles David Young |
0:aa13e1c335cd | 59 | |
Charles David Young |
0:aa13e1c335cd | 60 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_flash_ramfunc.o |
Charles David Young |
0:aa13e1c335cd | 61 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/PeripheralPins.o |
Charles David Young |
0:aa13e1c335cd | 62 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/analogin_api.o |
Charles David Young |
0:aa13e1c335cd | 63 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/analogout_api.o |
Charles David Young |
0:aa13e1c335cd | 64 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/can_api.o |
Charles David Young |
0:aa13e1c335cd | 65 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/cmain.o |
Charles David Young |
0:aa13e1c335cd | 66 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/cmsis_nvic.o |
Charles David Young |
0:aa13e1c335cd | 67 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/gpio_api.o |
Charles David Young |
0:aa13e1c335cd | 68 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/gpio_irq_api.o |
Charles David Young |
0:aa13e1c335cd | 69 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/hal_init_pre.o |
Charles David Young |
0:aa13e1c335cd | 70 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/hal_tick_16b.o |
Charles David Young |
0:aa13e1c335cd | 71 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/hal_tick_32b.o |
Charles David Young |
0:aa13e1c335cd | 72 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/i2c_api.o |
Charles David Young |
0:aa13e1c335cd | 73 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/lp_ticker.o |
Charles David Young |
0:aa13e1c335cd | 74 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/mbed_board.o |
Charles David Young |
0:aa13e1c335cd | 75 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/mbed_overrides.o |
Charles David Young |
0:aa13e1c335cd | 76 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/pinmap.o |
Charles David Young |
0:aa13e1c335cd | 77 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/port_api.o |
Charles David Young |
0:aa13e1c335cd | 78 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/pwmout_api.o |
Charles David Young |
0:aa13e1c335cd | 79 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/retarget.o |
Charles David Young |
0:aa13e1c335cd | 80 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/rtc_api.o |
Charles David Young |
0:aa13e1c335cd | 81 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/serial_api.o |
Charles David Young |
0:aa13e1c335cd | 82 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/sleep.o |
Charles David Young |
0:aa13e1c335cd | 83 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/spi_api.o |
Charles David Young |
0:aa13e1c335cd | 84 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/startup_stm32f411xe.o |
Charles David Young |
0:aa13e1c335cd | 85 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal.o |
Charles David Young |
0:aa13e1c335cd | 86 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_adc.o |
Charles David Young |
0:aa13e1c335cd | 87 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_adc_ex.o |
Charles David Young |
0:aa13e1c335cd | 88 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_can.o |
Charles David Young |
0:aa13e1c335cd | 89 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_cec.o |
Charles David Young |
0:aa13e1c335cd | 90 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_cortex.o |
Charles David Young |
0:aa13e1c335cd | 91 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_crc.o |
Charles David Young |
0:aa13e1c335cd | 92 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_cryp.o |
Charles David Young |
0:aa13e1c335cd | 93 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_cryp_ex.o |
Charles David Young |
0:aa13e1c335cd | 94 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dac.o |
Charles David Young |
0:aa13e1c335cd | 95 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dac_ex.o |
Charles David Young |
0:aa13e1c335cd | 96 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dcmi.o |
Charles David Young |
0:aa13e1c335cd | 97 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dcmi_ex.o |
Charles David Young |
0:aa13e1c335cd | 98 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dfsdm.o |
Charles David Young |
0:aa13e1c335cd | 99 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dma.o |
Charles David Young |
0:aa13e1c335cd | 100 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dma2d.o |
Charles David Young |
0:aa13e1c335cd | 101 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dma_ex.o |
Charles David Young |
0:aa13e1c335cd | 102 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_dsi.o |
Charles David Young |
0:aa13e1c335cd | 103 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_eth.o |
Charles David Young |
0:aa13e1c335cd | 104 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_flash.o |
Charles David Young |
0:aa13e1c335cd | 105 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_flash_ex.o |
Charles David Young |
0:aa13e1c335cd | 106 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_fmpi2c_ex.o |
Charles David Young |
0:aa13e1c335cd | 107 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_fmpi2c.o |
Charles David Young |
0:aa13e1c335cd | 108 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_msp_template.o |
Charles David Young |
0:aa13e1c335cd | 109 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_gpio.o |
Charles David Young |
0:aa13e1c335cd | 110 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_hash.o |
Charles David Young |
0:aa13e1c335cd | 111 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_hash_ex.o |
Charles David Young |
0:aa13e1c335cd | 112 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_hcd.o |
Charles David Young |
0:aa13e1c335cd | 113 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_i2c.o |
Charles David Young |
0:aa13e1c335cd | 114 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_i2c_ex.o |
Charles David Young |
0:aa13e1c335cd | 115 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_i2s.o |
Charles David Young |
0:aa13e1c335cd | 116 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_i2s_ex.o |
Charles David Young |
0:aa13e1c335cd | 117 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_irda.o |
Charles David Young |
0:aa13e1c335cd | 118 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_iwdg.o |
Charles David Young |
0:aa13e1c335cd | 119 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_lptim.o |
Charles David Young |
0:aa13e1c335cd | 120 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_ltdc.o |
Charles David Young |
0:aa13e1c335cd | 121 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_ltdc_ex.o |
Charles David Young |
0:aa13e1c335cd | 122 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_smartcard.o |
Charles David Young |
0:aa13e1c335cd | 123 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_nand.o |
Charles David Young |
0:aa13e1c335cd | 124 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_nor.o |
Charles David Young |
0:aa13e1c335cd | 125 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_pccard.o |
Charles David Young |
0:aa13e1c335cd | 126 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_pcd.o |
Charles David Young |
0:aa13e1c335cd | 127 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_pcd_ex.o |
Charles David Young |
0:aa13e1c335cd | 128 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_pwr.o |
Charles David Young |
0:aa13e1c335cd | 129 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_pwr_ex.o |
Charles David Young |
0:aa13e1c335cd | 130 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_qspi.o |
Charles David Young |
0:aa13e1c335cd | 131 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_rcc.o |
Charles David Young |
0:aa13e1c335cd | 132 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_rcc_ex.o |
Charles David Young |
0:aa13e1c335cd | 133 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_rng.o |
Charles David Young |
0:aa13e1c335cd | 134 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_rtc.o |
Charles David Young |
0:aa13e1c335cd | 135 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_rtc_ex.o |
Charles David Young |
0:aa13e1c335cd | 136 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_sai.o |
Charles David Young |
0:aa13e1c335cd | 137 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_sai_ex.o |
Charles David Young |
0:aa13e1c335cd | 138 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_sd.o |
Charles David Young |
0:aa13e1c335cd | 139 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_sdram.o |
Charles David Young |
0:aa13e1c335cd | 140 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_spdifrx.o |
Charles David Young |
0:aa13e1c335cd | 141 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_spi.o |
Charles David Young |
0:aa13e1c335cd | 142 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_sram.o |
Charles David Young |
0:aa13e1c335cd | 143 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_tim.o |
Charles David Young |
0:aa13e1c335cd | 144 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_tim_ex.o |
Charles David Young |
0:aa13e1c335cd | 145 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_uart.o |
Charles David Young |
0:aa13e1c335cd | 146 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_usart.o |
Charles David Young |
0:aa13e1c335cd | 147 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_hal_wwdg.o |
Charles David Young |
0:aa13e1c335cd | 148 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_ll_fmc.o |
Charles David Young |
0:aa13e1c335cd | 149 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_ll_fsmc.o |
Charles David Young |
0:aa13e1c335cd | 150 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_ll_sdmmc.o |
Charles David Young |
0:aa13e1c335cd | 151 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f4xx_ll_usb.o |
Charles David Young |
0:aa13e1c335cd | 152 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm_spi_api.o |
Charles David Young |
0:aa13e1c335cd | 153 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/system_stm32f4xx.o |
Charles David Young |
0:aa13e1c335cd | 154 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/trng_api.o |
Charles David Young |
0:aa13e1c335cd | 155 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/us_ticker_16b.o |
Charles David Young |
0:aa13e1c335cd | 156 | SYS_OBJECTS += mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/us_ticker_32b.o |
Charles David Young |
0:aa13e1c335cd | 157 | |
Charles David Young |
0:aa13e1c335cd | 158 | INCLUDE_PATHS += -I../ |
Charles David Young |
0:aa13e1c335cd | 159 | INCLUDE_PATHS += -I../. |
Charles David Young |
0:aa13e1c335cd | 160 | INCLUDE_PATHS += -I../QEI |
Charles David Young |
0:aa13e1c335cd | 161 | INCLUDE_PATHS += -I../SDFileSystem |
Charles David Young |
0:aa13e1c335cd | 162 | INCLUDE_PATHS += -I../SDFileSystem/FATFileSystem |
Charles David Young |
0:aa13e1c335cd | 163 | INCLUDE_PATHS += -I../SDFileSystem/FATFileSystem/ChaN |
Charles David Young |
0:aa13e1c335cd | 164 | INCLUDE_PATHS += -I../ST7565_LCD |
Charles David Young |
0:aa13e1c335cd | 165 | INCLUDE_PATHS += -I../mbed/. |
Charles David Young |
0:aa13e1c335cd | 166 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE |
Charles David Young |
0:aa13e1c335cd | 167 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE/TARGET_STM |
Charles David Young |
0:aa13e1c335cd | 168 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE/TARGET_STM/TARGET_STM32F4 |
Charles David Young |
0:aa13e1c335cd | 169 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE/TARGET_STM/TARGET_STM32F4/TARGET_STM32F411xE |
Charles David Young |
0:aa13e1c335cd | 170 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE/TARGET_STM/TARGET_STM32F4/TARGET_STM32F411xE/TARGET_NUCLEO_F411RE |
Charles David Young |
0:aa13e1c335cd | 171 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE/TARGET_STM/TARGET_STM32F4/TARGET_STM32F411xE/device |
Charles David Young |
0:aa13e1c335cd | 172 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE/TARGET_STM/TARGET_STM32F4/device |
Charles David Young |
0:aa13e1c335cd | 173 | INCLUDE_PATHS += -I../mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR |
Charles David Young |
0:aa13e1c335cd | 174 | INCLUDE_PATHS += -I../mbed/drivers |
Charles David Young |
0:aa13e1c335cd | 175 | INCLUDE_PATHS += -I../mbed/hal |
Charles David Young |
0:aa13e1c335cd | 176 | INCLUDE_PATHS += -I../mbed/platform |
Charles David Young |
0:aa13e1c335cd | 177 | |
Charles David Young |
0:aa13e1c335cd | 178 | LIBRARY_PATHS := -L../mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR |
Charles David Young |
0:aa13e1c335cd | 179 | LIBRARIES := -lmbed |
Charles David Young |
0:aa13e1c335cd | 180 | LINKER_SCRIPT ?= ../mbed/TARGET_NUCLEO_F411RE/TOOLCHAIN_IAR/stm32f411xe.icf |
Charles David Young |
0:aa13e1c335cd | 181 | |
Charles David Young |
0:aa13e1c335cd | 182 | # Objects and Paths |
Charles David Young |
0:aa13e1c335cd | 183 | ############################################################################### |
Charles David Young |
0:aa13e1c335cd | 184 | # Tools and Flags |
Charles David Young |
0:aa13e1c335cd | 185 | |
Charles David Young |
0:aa13e1c335cd | 186 | AS = 'iasmarm' '--cpu' 'Cortex-M4F' |
Charles David Young |
0:aa13e1c335cd | 187 | CC = 'iccarm' '--no_wrap_diagnostics' '-e' '--diag_suppress=Pa050,Pa084,Pa093,Pa082' '-Oh' '--enable_restrict' '--cpu' 'Cortex-M4F' '--thumb' '--dlib_config' 'DLib_Config_Full.h' '--vla' |
Charles David Young |
0:aa13e1c335cd | 188 | CPP = 'iccarm' '--no_wrap_diagnostics' '-e' '--diag_suppress=Pa050,Pa084,Pa093,Pa082' '-Oh' '--enable_restrict' '--cpu' 'Cortex-M4F' '--thumb' '--dlib_config' 'DLib_Config_Full.h' '--c++' '--no_rtti' '--no_exceptions' '--guard_calls' '--no_static_destruction' |
Charles David Young |
0:aa13e1c335cd | 189 | LD = 'ilinkarm' |
Charles David Young |
0:aa13e1c335cd | 190 | ELF2BIN = 'ielftool' |
Charles David Young |
0:aa13e1c335cd | 191 | |
Charles David Young |
0:aa13e1c335cd | 192 | |
Charles David Young |
0:aa13e1c335cd | 193 | |
Charles David Young |
0:aa13e1c335cd | 194 | C_FLAGS += --vla |
Charles David Young |
0:aa13e1c335cd | 195 | C_FLAGS += -DMBED_BUILD_TIMESTAMP=1535436231.0 |
Charles David Young |
0:aa13e1c335cd | 196 | C_FLAGS += -D__MBED__=1 |
Charles David Young |
0:aa13e1c335cd | 197 | C_FLAGS += -DDEVICE_I2CSLAVE=1 |
Charles David Young |
0:aa13e1c335cd | 198 | C_FLAGS += -DTARGET_LIKE_MBED |
Charles David Young |
0:aa13e1c335cd | 199 | C_FLAGS += -DDEVICE_PORTOUT=1 |
Charles David Young |
0:aa13e1c335cd | 200 | C_FLAGS += -DUSBHOST_OTHER |
Charles David Young |
0:aa13e1c335cd | 201 | C_FLAGS += -DDEVICE_PORTINOUT=1 |
Charles David Young |
0:aa13e1c335cd | 202 | C_FLAGS += -DTARGET_RTOS_M4_M7 |
Charles David Young |
0:aa13e1c335cd | 203 | C_FLAGS += -DDEVICE_LOWPOWERTIMER=1 |
Charles David Young |
0:aa13e1c335cd | 204 | C_FLAGS += -DDEVICE_RTC=1 |
Charles David Young |
0:aa13e1c335cd | 205 | C_FLAGS += -DTOOLCHAIN_object |
Charles David Young |
0:aa13e1c335cd | 206 | C_FLAGS += -DDEVICE_SERIAL_ASYNCH=1 |
Charles David Young |
0:aa13e1c335cd | 207 | C_FLAGS += -DTARGET_STM32F4 |
Charles David Young |
0:aa13e1c335cd | 208 | C_FLAGS += -D__CMSIS_RTOS |
Charles David Young |
0:aa13e1c335cd | 209 | C_FLAGS += -D__CORTEX_M4 |
Charles David Young |
0:aa13e1c335cd | 210 | C_FLAGS += -DDEVICE_I2C_ASYNCH=1 |
Charles David Young |
0:aa13e1c335cd | 211 | C_FLAGS += -DTARGET_CORTEX_M |
Charles David Young |
0:aa13e1c335cd | 212 | C_FLAGS += -DTARGET_LIKE_CORTEX_M4 |
Charles David Young |
0:aa13e1c335cd | 213 | C_FLAGS += -DTARGET_M4 |
Charles David Young |
0:aa13e1c335cd | 214 | C_FLAGS += -DTARGET_UVISOR_UNSUPPORTED |
Charles David Young |
0:aa13e1c335cd | 215 | C_FLAGS += -DDEVICE_SPI_ASYNCH=1 |
Charles David Young |
0:aa13e1c335cd | 216 | C_FLAGS += -DTARGET_STM32F411xE |
Charles David Young |
0:aa13e1c335cd | 217 | C_FLAGS += -DTOOLCHAIN_IAR |
Charles David Young |
0:aa13e1c335cd | 218 | C_FLAGS += -DDEVICE_INTERRUPTIN=1 |
Charles David Young |
0:aa13e1c335cd | 219 | C_FLAGS += -DTARGET_CORTEX |
Charles David Young |
0:aa13e1c335cd | 220 | C_FLAGS += -DDEVICE_I2C=1 |
Charles David Young |
0:aa13e1c335cd | 221 | C_FLAGS += -DTRANSACTION_QUEUE_SIZE_SPI=2 |
Charles David Young |
0:aa13e1c335cd | 222 | C_FLAGS += -DTARGET_NUCLEO_F411RE |
Charles David Young |
0:aa13e1c335cd | 223 | C_FLAGS += -DDEVICE_STDIO_MESSAGES=1 |
Charles David Young |
0:aa13e1c335cd | 224 | C_FLAGS += -DDEVICE_SERIAL=1 |
Charles David Young |
0:aa13e1c335cd | 225 | C_FLAGS += -DTARGET_FF_MORPHO |
Charles David Young |
0:aa13e1c335cd | 226 | C_FLAGS += -D__FPU_PRESENT=1 |
Charles David Young |
0:aa13e1c335cd | 227 | C_FLAGS += -DTARGET_FF_ARDUINO |
Charles David Young |
0:aa13e1c335cd | 228 | C_FLAGS += -DDEVICE_PORTIN=1 |
Charles David Young |
0:aa13e1c335cd | 229 | C_FLAGS += -DTARGET_RELEASE |
Charles David Young |
0:aa13e1c335cd | 230 | C_FLAGS += -DTARGET_STM |
Charles David Young |
0:aa13e1c335cd | 231 | C_FLAGS += -DDEVICE_SERIAL_FC=1 |
Charles David Young |
0:aa13e1c335cd | 232 | C_FLAGS += -D__MBED_CMSIS_RTOS_CM |
Charles David Young |
0:aa13e1c335cd | 233 | C_FLAGS += -DDEVICE_SLEEP=1 |
Charles David Young |
0:aa13e1c335cd | 234 | C_FLAGS += -DDEVICE_SPI=1 |
Charles David Young |
0:aa13e1c335cd | 235 | C_FLAGS += -DUSB_STM_HAL |
Charles David Young |
0:aa13e1c335cd | 236 | C_FLAGS += -DDEVICE_ERROR_RED=1 |
Charles David Young |
0:aa13e1c335cd | 237 | C_FLAGS += -DDEVICE_SPISLAVE=1 |
Charles David Young |
0:aa13e1c335cd | 238 | C_FLAGS += -DDEVICE_ANALOGIN=1 |
Charles David Young |
0:aa13e1c335cd | 239 | C_FLAGS += -DDEVICE_PWMOUT=1 |
Charles David Young |
0:aa13e1c335cd | 240 | C_FLAGS += -DTARGET_STM32F411RE |
Charles David Young |
0:aa13e1c335cd | 241 | C_FLAGS += -DARM_MATH_CM4 |
Charles David Young |
0:aa13e1c335cd | 242 | C_FLAGS += --preinclude=mbed_config.h |
Charles David Young |
0:aa13e1c335cd | 243 | |
Charles David Young |
0:aa13e1c335cd | 244 | CXX_FLAGS += --guard_calls |
Charles David Young |
0:aa13e1c335cd | 245 | CXX_FLAGS += --no_static_destruction |
Charles David Young |
0:aa13e1c335cd | 246 | CXX_FLAGS += -DMBED_BUILD_TIMESTAMP=1535436231.0 |
Charles David Young |
0:aa13e1c335cd | 247 | CXX_FLAGS += -D__MBED__=1 |
Charles David Young |
0:aa13e1c335cd | 248 | CXX_FLAGS += -DDEVICE_I2CSLAVE=1 |
Charles David Young |
0:aa13e1c335cd | 249 | CXX_FLAGS += -DTARGET_LIKE_MBED |
Charles David Young |
0:aa13e1c335cd | 250 | CXX_FLAGS += -DDEVICE_PORTOUT=1 |
Charles David Young |
0:aa13e1c335cd | 251 | CXX_FLAGS += -DUSBHOST_OTHER |
Charles David Young |
0:aa13e1c335cd | 252 | CXX_FLAGS += -DDEVICE_PORTINOUT=1 |
Charles David Young |
0:aa13e1c335cd | 253 | CXX_FLAGS += -DTARGET_RTOS_M4_M7 |
Charles David Young |
0:aa13e1c335cd | 254 | CXX_FLAGS += -DDEVICE_LOWPOWERTIMER=1 |
Charles David Young |
0:aa13e1c335cd | 255 | CXX_FLAGS += -DDEVICE_RTC=1 |
Charles David Young |
0:aa13e1c335cd | 256 | CXX_FLAGS += -DTOOLCHAIN_object |
Charles David Young |
0:aa13e1c335cd | 257 | CXX_FLAGS += -DDEVICE_SERIAL_ASYNCH=1 |
Charles David Young |
0:aa13e1c335cd | 258 | CXX_FLAGS += -DTARGET_STM32F4 |
Charles David Young |
0:aa13e1c335cd | 259 | CXX_FLAGS += -D__CMSIS_RTOS |
Charles David Young |
0:aa13e1c335cd | 260 | CXX_FLAGS += -D__CORTEX_M4 |
Charles David Young |
0:aa13e1c335cd | 261 | CXX_FLAGS += -DDEVICE_I2C_ASYNCH=1 |
Charles David Young |
0:aa13e1c335cd | 262 | CXX_FLAGS += -DTARGET_CORTEX_M |
Charles David Young |
0:aa13e1c335cd | 263 | CXX_FLAGS += -DTARGET_LIKE_CORTEX_M4 |
Charles David Young |
0:aa13e1c335cd | 264 | CXX_FLAGS += -DTARGET_M4 |
Charles David Young |
0:aa13e1c335cd | 265 | CXX_FLAGS += -DTARGET_UVISOR_UNSUPPORTED |
Charles David Young |
0:aa13e1c335cd | 266 | CXX_FLAGS += -DDEVICE_SPI_ASYNCH=1 |
Charles David Young |
0:aa13e1c335cd | 267 | CXX_FLAGS += -DTARGET_STM32F411xE |
Charles David Young |
0:aa13e1c335cd | 268 | CXX_FLAGS += -DTOOLCHAIN_IAR |
Charles David Young |
0:aa13e1c335cd | 269 | CXX_FLAGS += -DDEVICE_INTERRUPTIN=1 |
Charles David Young |
0:aa13e1c335cd | 270 | CXX_FLAGS += -DTARGET_CORTEX |
Charles David Young |
0:aa13e1c335cd | 271 | CXX_FLAGS += -DDEVICE_I2C=1 |
Charles David Young |
0:aa13e1c335cd | 272 | CXX_FLAGS += -DTRANSACTION_QUEUE_SIZE_SPI=2 |
Charles David Young |
0:aa13e1c335cd | 273 | CXX_FLAGS += -DTARGET_NUCLEO_F411RE |
Charles David Young |
0:aa13e1c335cd | 274 | CXX_FLAGS += -DDEVICE_STDIO_MESSAGES=1 |
Charles David Young |
0:aa13e1c335cd | 275 | CXX_FLAGS += -DDEVICE_SERIAL=1 |
Charles David Young |
0:aa13e1c335cd | 276 | CXX_FLAGS += -DTARGET_FF_MORPHO |
Charles David Young |
0:aa13e1c335cd | 277 | CXX_FLAGS += -D__FPU_PRESENT=1 |
Charles David Young |
0:aa13e1c335cd | 278 | CXX_FLAGS += -DTARGET_FF_ARDUINO |
Charles David Young |
0:aa13e1c335cd | 279 | CXX_FLAGS += -DDEVICE_PORTIN=1 |
Charles David Young |
0:aa13e1c335cd | 280 | CXX_FLAGS += -DTARGET_RELEASE |
Charles David Young |
0:aa13e1c335cd | 281 | CXX_FLAGS += -DTARGET_STM |
Charles David Young |
0:aa13e1c335cd | 282 | CXX_FLAGS += -DDEVICE_SERIAL_FC=1 |
Charles David Young |
0:aa13e1c335cd | 283 | CXX_FLAGS += -D__MBED_CMSIS_RTOS_CM |
Charles David Young |
0:aa13e1c335cd | 284 | CXX_FLAGS += -DDEVICE_SLEEP=1 |
Charles David Young |
0:aa13e1c335cd | 285 | CXX_FLAGS += -DDEVICE_SPI=1 |
Charles David Young |
0:aa13e1c335cd | 286 | CXX_FLAGS += -DUSB_STM_HAL |
Charles David Young |
0:aa13e1c335cd | 287 | CXX_FLAGS += -DDEVICE_ERROR_RED=1 |
Charles David Young |
0:aa13e1c335cd | 288 | CXX_FLAGS += -DDEVICE_SPISLAVE=1 |
Charles David Young |
0:aa13e1c335cd | 289 | CXX_FLAGS += -DDEVICE_ANALOGIN=1 |
Charles David Young |
0:aa13e1c335cd | 290 | CXX_FLAGS += -DDEVICE_PWMOUT=1 |
Charles David Young |
0:aa13e1c335cd | 291 | CXX_FLAGS += -DTARGET_STM32F411RE |
Charles David Young |
0:aa13e1c335cd | 292 | CXX_FLAGS += -DARM_MATH_CM4 |
Charles David Young |
0:aa13e1c335cd | 293 | CXX_FLAGS += --preinclude=mbed_config.h |
Charles David Young |
0:aa13e1c335cd | 294 | |
Charles David Young |
0:aa13e1c335cd | 295 | ASM_FLAGS += -DTRANSACTION_QUEUE_SIZE_SPI=2 |
Charles David Young |
0:aa13e1c335cd | 296 | ASM_FLAGS += -D__CORTEX_M4 |
Charles David Young |
0:aa13e1c335cd | 297 | ASM_FLAGS += -DUSB_STM_HAL |
Charles David Young |
0:aa13e1c335cd | 298 | ASM_FLAGS += -DARM_MATH_CM4 |
Charles David Young |
0:aa13e1c335cd | 299 | ASM_FLAGS += -D__FPU_PRESENT=1 |
Charles David Young |
0:aa13e1c335cd | 300 | ASM_FLAGS += -DUSBHOST_OTHER |
Charles David Young |
0:aa13e1c335cd | 301 | ASM_FLAGS += -D__MBED_CMSIS_RTOS_CM |
Charles David Young |
0:aa13e1c335cd | 302 | ASM_FLAGS += -D__CMSIS_RTOS |
Charles David Young |
0:aa13e1c335cd | 303 | |
Charles David Young |
0:aa13e1c335cd | 304 | |
Charles David Young |
0:aa13e1c335cd | 305 | LD_FLAGS :=--skip_dynamic_initialization --threaded_lib |
Charles David Young |
0:aa13e1c335cd | 306 | LD_SYS_LIBS := |
Charles David Young |
0:aa13e1c335cd | 307 | |
Charles David Young |
0:aa13e1c335cd | 308 | # Tools and Flags |
Charles David Young |
0:aa13e1c335cd | 309 | ############################################################################### |
Charles David Young |
0:aa13e1c335cd | 310 | # Rules |
Charles David Young |
0:aa13e1c335cd | 311 | |
Charles David Young |
0:aa13e1c335cd | 312 | .PHONY: all lst size |
Charles David Young |
0:aa13e1c335cd | 313 | |
Charles David Young |
0:aa13e1c335cd | 314 | |
Charles David Young |
0:aa13e1c335cd | 315 | all: $(PROJECT).bin $(PROJECT).hex size |
Charles David Young |
0:aa13e1c335cd | 316 | |
Charles David Young |
0:aa13e1c335cd | 317 | |
Charles David Young |
0:aa13e1c335cd | 318 | .s.o: |
Charles David Young |
0:aa13e1c335cd | 319 | +@$(call MAKEDIR,$(dir $@)) |
Charles David Young |
0:aa13e1c335cd | 320 | +@echo "Assemble: $(notdir $<)" |
Charles David Young |
0:aa13e1c335cd | 321 | |
Charles David Young |
0:aa13e1c335cd | 322 | @$(AS) -c $(ASM_FLAGS) -o $@ $< |
Charles David Young |
0:aa13e1c335cd | 323 | |
Charles David Young |
0:aa13e1c335cd | 324 | |
Charles David Young |
0:aa13e1c335cd | 325 | |
Charles David Young |
0:aa13e1c335cd | 326 | .S.o: |
Charles David Young |
0:aa13e1c335cd | 327 | +@$(call MAKEDIR,$(dir $@)) |
Charles David Young |
0:aa13e1c335cd | 328 | +@echo "Assemble: $(notdir $<)" |
Charles David Young |
0:aa13e1c335cd | 329 | |
Charles David Young |
0:aa13e1c335cd | 330 | @$(AS) -c $(ASM_FLAGS) -o $@ $< |
Charles David Young |
0:aa13e1c335cd | 331 | |
Charles David Young |
0:aa13e1c335cd | 332 | |
Charles David Young |
0:aa13e1c335cd | 333 | .c.o: |
Charles David Young |
0:aa13e1c335cd | 334 | +@$(call MAKEDIR,$(dir $@)) |
Charles David Young |
0:aa13e1c335cd | 335 | +@echo "Compile: $(notdir $<)" |
Charles David Young |
0:aa13e1c335cd | 336 | @$(CC) $(C_FLAGS) $(INCLUDE_PATHS) -o $@ $< |
Charles David Young |
0:aa13e1c335cd | 337 | |
Charles David Young |
0:aa13e1c335cd | 338 | .cpp.o: |
Charles David Young |
0:aa13e1c335cd | 339 | +@$(call MAKEDIR,$(dir $@)) |
Charles David Young |
0:aa13e1c335cd | 340 | +@echo "Compile: $(notdir $<)" |
Charles David Young |
0:aa13e1c335cd | 341 | @$(CPP) $(CXX_FLAGS) $(INCLUDE_PATHS) -o $@ $< |
Charles David Young |
0:aa13e1c335cd | 342 | |
Charles David Young |
0:aa13e1c335cd | 343 | |
Charles David Young |
0:aa13e1c335cd | 344 | |
Charles David Young |
0:aa13e1c335cd | 345 | |
Charles David Young |
0:aa13e1c335cd | 346 | $(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS) $(LINKER_SCRIPT) |
Charles David Young |
0:aa13e1c335cd | 347 | +@echo "link: $(notdir $@)" |
Charles David Young |
0:aa13e1c335cd | 348 | @$(LD) $(LD_FLAGS) --config $(filter-out %.o, $^) $(LIBRARY_PATHS) --output $@ $(filter %.o, $^) $(LIBRARIES) $(LD_SYS_LIBS) |
Charles David Young |
0:aa13e1c335cd | 349 | |
Charles David Young |
0:aa13e1c335cd | 350 | |
Charles David Young |
0:aa13e1c335cd | 351 | $(PROJECT).bin: $(PROJECT).elf |
Charles David Young |
0:aa13e1c335cd | 352 | $(ELF2BIN) --bin $< $@ |
Charles David Young |
0:aa13e1c335cd | 353 | +@echo "===== bin file ready to flash: $(OBJDIR)/$@ =====" |
Charles David Young |
0:aa13e1c335cd | 354 | |
Charles David Young |
0:aa13e1c335cd | 355 | $(PROJECT).hex: $(PROJECT).elf |
Charles David Young |
0:aa13e1c335cd | 356 | $(ELF2BIN) --ihex $< $@ |
Charles David Young |
0:aa13e1c335cd | 357 | |
Charles David Young |
0:aa13e1c335cd | 358 | |
Charles David Young |
0:aa13e1c335cd | 359 | # Rules |
Charles David Young |
0:aa13e1c335cd | 360 | ############################################################################### |
Charles David Young |
0:aa13e1c335cd | 361 | # Dependencies |
Charles David Young |
0:aa13e1c335cd | 362 | |
Charles David Young |
0:aa13e1c335cd | 363 | DEPS = $(OBJECTS:.o=.d) $(SYS_OBJECTS:.o=.d) |
Charles David Young |
0:aa13e1c335cd | 364 | -include $(DEPS) |
Charles David Young |
0:aa13e1c335cd | 365 | endif |
Charles David Young |
0:aa13e1c335cd | 366 | |
Charles David Young |
0:aa13e1c335cd | 367 | # Dependencies |
Charles David Young |
0:aa13e1c335cd | 368 | ############################################################################### |