mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/CAN-Demo.git
synced 2025-09-29 00:37:33 +00:00
Working send WIP
This commit is contained in:
@@ -66,34 +66,34 @@ $(wildcard ../makefile.init) \
|
||||
$(wildcard ../makefile.targets) \
|
||||
|
||||
|
||||
BUILD_ARTIFACT_NAME := can-tests
|
||||
BUILD_ARTIFACT_NAME := CAN-Card_Module_Software
|
||||
BUILD_ARTIFACT_EXTENSION := elf
|
||||
BUILD_ARTIFACT_PREFIX :=
|
||||
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
EXECUTABLES += \
|
||||
can-tests.elf \
|
||||
CAN-Card_Module_Software.elf \
|
||||
|
||||
MAP_FILES += \
|
||||
can-tests.map \
|
||||
CAN-Card_Module_Software.map \
|
||||
|
||||
SIZE_OUTPUT += \
|
||||
default.size.stdout \
|
||||
|
||||
OBJDUMP_LIST += \
|
||||
can-tests.list \
|
||||
CAN-Card_Module_Software.list \
|
||||
|
||||
|
||||
# All Target
|
||||
all: main-build
|
||||
|
||||
# Main-build Target
|
||||
main-build: can-tests.elf secondary-outputs
|
||||
main-build: CAN-Card_Module_Software.elf secondary-outputs
|
||||
|
||||
# Tool invocations
|
||||
can-tests.elf can-tests.map: $(OBJS) $(USER_OBJS) C:\Users\carlw\Desktop\to-the-moon\workspace\can-tests\STM32F407ZGTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-g++ -o "can-tests.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"C:\Users\carlw\Desktop\to-the-moon\workspace\can-tests\STM32F407ZGTX_FLASH.ld" -Wl,-Map="can-tests.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
|
||||
CAN-Card_Module_Software.elf CAN-Card_Module_Software.map: $(OBJS) $(USER_OBJS) /Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/STM32F407ZGTX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-g++ -o "CAN-Card_Module_Software.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/STM32F407ZGTX_FLASH.ld" -Wl,-Map="CAN-Card_Module_Software.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
@@ -102,14 +102,14 @@ default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
can-tests.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "can-tests.list"
|
||||
CAN-Card_Module_Software.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-objdump -h -S $(EXECUTABLES) > "CAN-Card_Module_Software.list"
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) can-tests.elf can-tests.list can-tests.map default.size.stdout
|
||||
-$(RM) CAN-Card_Module_Software.elf CAN-Card_Module_Software.list CAN-Card_Module_Software.map default.size.stdout
|
||||
-@echo ' '
|
||||
|
||||
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
|
||||
|
Reference in New Issue
Block a user