Add SC_Card_F401RE
This commit is contained in:
@@ -32,6 +32,11 @@ endif
|
||||
|
||||
-include ../makefile.defs
|
||||
|
||||
BUILD_ARTIFACT_NAME := SD_CARD_SPI
|
||||
BUILD_ARTIFACT_EXTENSION := elf
|
||||
BUILD_ARTIFACT_PREFIX :=
|
||||
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME).$(BUILD_ARTIFACT_EXTENSION)
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
EXECUTABLES += \
|
||||
SD_CARD_SPI.elf \
|
||||
@@ -47,7 +52,10 @@ SD_CARD_SPI.bin \
|
||||
|
||||
|
||||
# All Target
|
||||
all: SD_CARD_SPI.elf secondary-outputs
|
||||
all: main-build
|
||||
|
||||
# Main-build Target
|
||||
main-build: SD_CARD_SPI.elf secondary-outputs
|
||||
|
||||
# Tool invocations
|
||||
SD_CARD_SPI.elf: $(OBJS) $(USER_OBJS) C:\Users\Gregor\Desktop\Projektarbeit\Workspace\SD_CARD_SPI\STM32L152RETX_FLASH.ld
|
||||
@@ -77,7 +85,14 @@ clean:
|
||||
|
||||
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
|
||||
|
||||
.PHONY: all clean dependents
|
||||
fail-specified-linker-script-missing:
|
||||
@echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
|
||||
@exit 2
|
||||
|
||||
warn-no-linker-script-specified:
|
||||
@echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
|
||||
|
||||
.PHONY: all clean dependents fail-specified-linker-script-missing warn-no-linker-script-specified
|
||||
.SECONDARY:
|
||||
|
||||
-include ../makefile.targets
|
||||
|
||||
Reference in New Issue
Block a user