initial, with blinking led
This commit is contained in:
27
Debug/my_src/subdir.mk
Normal file
27
Debug/my_src/subdir.mk
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../my_src/led.c \
|
||||
../my_src/main2.c
|
||||
|
||||
OBJS += \
|
||||
./my_src/led.o \
|
||||
./my_src/main2.o
|
||||
|
||||
C_DEPS += \
|
||||
./my_src/led.d \
|
||||
./my_src/main2.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
my_src/%.o: ../my_src/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: GNU ARM Cross C Compiler'
|
||||
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -DDEBUG -DUSE_FULL_ASSERT -DSTM32F10X_HD -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=8000000 -DSTM32F103xE -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f1-stdperiph" -I"../system/include/stm32f1xx" -I"../system/include/cmsis/device" -I"/home/wn/workspace-stm32/newcar/my_src" -I"/home/wn/workspace-stm32/newcar/hottislib" -std=gnu11 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -c -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
Reference in New Issue
Block a user