Edited git ignore. Target can now build without any errors'!'
This commit is contained in:
parent
af5141fade
commit
4d68a607bc
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
Default
|
||||
*.o
|
||||
|
11
Default/FATFS/diskio.d
Normal file
11
Default/FATFS/diskio.d
Normal file
@ -0,0 +1,11 @@
|
||||
FATFS/diskio.d: ../FATFS/diskio.c ../FATFS/diskio.h ../FATFS/integer.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/diskio.h
|
||||
|
||||
../FATFS/diskio.h:
|
||||
|
||||
../FATFS/integer.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/diskio.h:
|
10
Default/FATFS/ff.d
Normal file
10
Default/FATFS/ff.d
Normal file
@ -0,0 +1,10 @@
|
||||
FATFS/ff.d: ../FATFS/ff.c ../FATFS/ff.h ../FATFS/integer.h \
|
||||
../FATFS/ffconf.h ../FATFS/diskio.h
|
||||
|
||||
../FATFS/ff.h:
|
||||
|
||||
../FATFS/integer.h:
|
||||
|
||||
../FATFS/ffconf.h:
|
||||
|
||||
../FATFS/diskio.h:
|
8
Default/FATFS/option/ccsbcs.d
Normal file
8
Default/FATFS/option/ccsbcs.d
Normal file
@ -0,0 +1,8 @@
|
||||
FATFS/option/ccsbcs.d: ../FATFS/option/ccsbcs.c ../FATFS/option/../ff.h \
|
||||
../FATFS/option/../integer.h ../FATFS/option/../ffconf.h
|
||||
|
||||
../FATFS/option/../ff.h:
|
||||
|
||||
../FATFS/option/../integer.h:
|
||||
|
||||
../FATFS/option/../ffconf.h:
|
27
Default/FATFS/option/subdir.mk
Normal file
27
Default/FATFS/option/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 += \
|
||||
../FATFS/option/ccsbcs.c \
|
||||
../FATFS/option/syscall.c
|
||||
|
||||
OBJS += \
|
||||
./FATFS/option/ccsbcs.o \
|
||||
./FATFS/option/syscall.o
|
||||
|
||||
C_DEPS += \
|
||||
./FATFS/option/ccsbcs.d \
|
||||
./FATFS/option/syscall.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
FATFS/option/%.o: ../FATFS/option/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: Cross GCC Compiler'
|
||||
arm-none-eabi-gcc -DSTM32F407xx -DSTM32F4XX -DARM_MATH_CM4 -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/option" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART" -O0 -g3 -Wall -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
8
Default/FATFS/option/syscall.d
Normal file
8
Default/FATFS/option/syscall.d
Normal file
@ -0,0 +1,8 @@
|
||||
FATFS/option/syscall.d: ../FATFS/option/syscall.c ../FATFS/option/../ff.h \
|
||||
../FATFS/option/../integer.h ../FATFS/option/../ffconf.h
|
||||
|
||||
../FATFS/option/../ff.h:
|
||||
|
||||
../FATFS/option/../integer.h:
|
||||
|
||||
../FATFS/option/../ffconf.h:
|
11
Default/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.d
Normal file
11
Default/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.d
Normal file
@ -0,0 +1,11 @@
|
||||
FATFS/shimatta_sdio_driver/shimatta_sdio-driver.d: \
|
||||
../FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/diskio.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/integer.h
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/diskio.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/integer.h:
|
24
Default/FATFS/shimatta_sdio_driver/subdir.mk
Normal file
24
Default/FATFS/shimatta_sdio_driver/subdir.mk
Normal file
@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c
|
||||
|
||||
OBJS += \
|
||||
./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
|
||||
C_DEPS += \
|
||||
./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
FATFS/shimatta_sdio_driver/%.o: ../FATFS/shimatta_sdio_driver/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: Cross GCC Compiler'
|
||||
arm-none-eabi-gcc -DSTM32F407xx -DSTM32F4XX -DARM_MATH_CM4 -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/option" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART" -O0 -g3 -Wall -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
27
Default/FATFS/subdir.mk
Normal file
27
Default/FATFS/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 += \
|
||||
../FATFS/diskio.c \
|
||||
../FATFS/ff.c
|
||||
|
||||
OBJS += \
|
||||
./FATFS/diskio.o \
|
||||
./FATFS/ff.o
|
||||
|
||||
C_DEPS += \
|
||||
./FATFS/diskio.d \
|
||||
./FATFS/ff.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
FATFS/%.o: ../FATFS/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: Cross GCC Compiler'
|
||||
arm-none-eabi-gcc -DSTM32F407xx -DSTM32F4XX -DARM_MATH_CM4 -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/option" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART" -O0 -g3 -Wall -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
BIN
Default/SDCardTemplate_stm32f407vgt6.elf
Executable file
BIN
Default/SDCardTemplate_stm32f407vgt6.elf
Executable file
Binary file not shown.
24
Default/UART/subdir.mk
Normal file
24
Default/UART/subdir.mk
Normal file
@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../UART/uart.c
|
||||
|
||||
OBJS += \
|
||||
./UART/uart.o
|
||||
|
||||
C_DEPS += \
|
||||
./UART/uart.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
UART/%.o: ../UART/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: Cross GCC Compiler'
|
||||
arm-none-eabi-gcc -DSTM32F407xx -DSTM32F4XX -DARM_MATH_CM4 -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/option" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART" -O0 -g3 -Wall -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
24
Default/UART/uart.d
Normal file
24
Default/UART/uart.d
Normal file
@ -0,0 +1,24 @@
|
||||
UART/uart.d: ../UART/uart.c ../UART/uart.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f4xx.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f407xx.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmInstr.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmFunc.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4_simd.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/system_stm32f4xx.h
|
||||
|
||||
../UART/uart.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f4xx.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f407xx.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmInstr.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmFunc.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4_simd.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/system_stm32f4xx.h:
|
21
Default/boot/subdir.mk
Normal file
21
Default/boot/subdir.mk
Normal file
@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
S_UPPER_SRCS += \
|
||||
../boot/startup_stm32f4xx.S
|
||||
|
||||
OBJS += \
|
||||
./boot/startup_stm32f4xx.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
boot/%.o: ../boot/%.S
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: Cross GCC Assembler'
|
||||
arm-none-eabi-as -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
24
Default/cmsis_boot/subdir.mk
Normal file
24
Default/cmsis_boot/subdir.mk
Normal file
@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../cmsis_boot/system_stm32f4xx.c
|
||||
|
||||
OBJS += \
|
||||
./cmsis_boot/system_stm32f4xx.o
|
||||
|
||||
C_DEPS += \
|
||||
./cmsis_boot/system_stm32f4xx.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
cmsis_boot/%.o: ../cmsis_boot/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: Cross GCC Compiler'
|
||||
arm-none-eabi-gcc -DSTM32F407xx -DSTM32F4XX -DARM_MATH_CM4 -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/option" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART" -O0 -g3 -Wall -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
21
Default/cmsis_boot/system_stm32f4xx.d
Normal file
21
Default/cmsis_boot/system_stm32f4xx.d
Normal file
@ -0,0 +1,21 @@
|
||||
cmsis_boot/system_stm32f4xx.d: ../cmsis_boot/system_stm32f4xx.c \
|
||||
../cmsis_boot/stm32f4xx.h ../cmsis_boot/stm32f407xx.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmInstr.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmFunc.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4_simd.h \
|
||||
../cmsis_boot/system_stm32f4xx.h
|
||||
|
||||
../cmsis_boot/stm32f4xx.h:
|
||||
|
||||
../cmsis_boot/stm32f407xx.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmInstr.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmFunc.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4_simd.h:
|
||||
|
||||
../cmsis_boot/system_stm32f4xx.h:
|
37
Default/main.d
Normal file
37
Default/main.d
Normal file
@ -0,0 +1,37 @@
|
||||
main.d: ../main.c \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f4xx.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f407xx.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmInstr.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmFunc.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4_simd.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/system_stm32f4xx.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib/arm_math.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/system_stm32f4xx.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/ff.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/integer.h \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/ffconf.h
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f4xx.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/stm32f407xx.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmInstr.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cmFunc.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis/core_cm4_simd.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/system_stm32f4xx.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib/arm_math.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot/system_stm32f4xx.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/ff.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/integer.h:
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/ffconf.h:
|
54
Default/makefile
Normal file
54
Default/makefile
Normal file
@ -0,0 +1,54 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
-include ../makefile.init
|
||||
|
||||
RM := rm -rf
|
||||
|
||||
# All of the sources participating in the build are defined here
|
||||
-include sources.mk
|
||||
-include cmsis_boot/subdir.mk
|
||||
-include boot/subdir.mk
|
||||
-include UART/subdir.mk
|
||||
-include FATFS/shimatta_sdio_driver/subdir.mk
|
||||
-include FATFS/option/subdir.mk
|
||||
-include FATFS/subdir.mk
|
||||
-include subdir.mk
|
||||
-include objects.mk
|
||||
|
||||
ifneq ($(MAKECMDGOALS),clean)
|
||||
ifneq ($(strip $(C_DEPS)),)
|
||||
-include $(C_DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
-include ../makefile.defs
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
|
||||
# All Target
|
||||
all: SDCardTemplate_stm32f407vgt6.elf
|
||||
|
||||
# Tool invocations
|
||||
SDCardTemplate_stm32f407vgt6.elf: $(OBJS) $(USER_OBJS)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Invoking: Cross GCC Linker'
|
||||
arm-none-eabi-gcc -nostartfiles -L"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6" -L"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Tstm32f407vgt6_flash.ld -Wl,-Map=mapfile.map --disable-newlib-supplied-syscalls -o "SDCardTemplate_stm32f407vgt6.elf" $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
$(MAKE) --no-print-directory post-build
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) SDCardTemplate_stm32f407vgt6.elf
|
||||
-@echo ' '
|
||||
|
||||
post-build:
|
||||
-arm-none-eabi-size SDCardTemplate_stm32f407vgt6.elf
|
||||
-@echo ' '
|
||||
|
||||
.PHONY: all clean dependents
|
||||
.SECONDARY: post-build
|
||||
|
||||
-include ../makefile.targets
|
607
Default/mapfile.map
Normal file
607
Default/mapfile.map
Normal file
@ -0,0 +1,607 @@
|
||||
|
||||
Allocating common symbols
|
||||
Common symbol size file
|
||||
|
||||
file 0x224 ./main.o
|
||||
SDfs 0x230 ./main.o
|
||||
|
||||
Discarded input sections
|
||||
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./cmsis_boot/system_stm32f4xx.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x45 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x28 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x3b ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x22 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x44 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x1c ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x1f7 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x18 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x42 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0xd39 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x9201 ./UART/uart.o
|
||||
.debug_macro 0x0000000000000000 0x43 ./UART/uart.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/option/ccsbcs.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/option/ccsbcs.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/option/ccsbcs.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./FATFS/option/ccsbcs.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/option/syscall.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/option/syscall.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/option/syscall.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./FATFS/option/syscall.o
|
||||
.debug_macro 0x0000000000000000 0xdc ./FATFS/option/syscall.o
|
||||
.debug_macro 0x0000000000000000 0xf5 ./FATFS/option/syscall.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/diskio.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/diskio.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/diskio.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./FATFS/diskio.o
|
||||
.debug_macro 0x0000000000000000 0x16 ./FATFS/diskio.o
|
||||
.debug_macro 0x0000000000000000 0x7c ./FATFS/diskio.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/ff.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/ff.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/ff.o
|
||||
.group 0x0000000000000000 0x8 ./FATFS/ff.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./FATFS/ff.o
|
||||
.debug_macro 0x0000000000000000 0xdc ./FATFS/ff.o
|
||||
.debug_macro 0x0000000000000000 0xf5 ./FATFS/ff.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./main.o
|
||||
.debug_macro 0x0000000000000000 0x45 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x28 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x3b ./main.o
|
||||
.debug_macro 0x0000000000000000 0x22 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x44 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x1c ./main.o
|
||||
.debug_macro 0x0000000000000000 0x1f7 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x18 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x42 ./main.o
|
||||
.debug_macro 0x0000000000000000 0xd39 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x9201 ./main.o
|
||||
.debug_macro 0x0000000000000000 0x43 ./main.o
|
||||
.debug_macro 0x0000000000000000 0xdc ./main.o
|
||||
.debug_macro 0x0000000000000000 0xf5 ./main.o
|
||||
.group 0x0000000000000000 0x8 ./syscalls.o
|
||||
.debug_macro 0x0000000000000000 0x87a ./syscalls.o
|
||||
|
||||
Memory Configuration
|
||||
|
||||
Name Origin Length Attributes
|
||||
FLASH 0x0000000008000000 0x0000000000100000 xr
|
||||
RAM 0x0000000020000000 0x0000000000020000 xrw
|
||||
CCM 0x0000000010000000 0x0000000000010000 xrw
|
||||
MEMORY_B1 0x0000000060000000 0x0000000000000000 xr
|
||||
*default* 0x0000000000000000 0xffffffffffffffff
|
||||
|
||||
Linker script and memory map
|
||||
|
||||
LOAD ./cmsis_boot/system_stm32f4xx.o
|
||||
LOAD ./boot/startup_stm32f4xx.o
|
||||
LOAD ./UART/uart.o
|
||||
LOAD ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
LOAD ./FATFS/option/ccsbcs.o
|
||||
LOAD ./FATFS/option/syscall.o
|
||||
LOAD ./FATFS/diskio.o
|
||||
LOAD ./FATFS/ff.o
|
||||
LOAD ./main.o
|
||||
LOAD ./syscalls.o
|
||||
START GROUP
|
||||
LOAD /usr/lib/gcc/arm-none-eabi/4.9.2/armv7e-m/fpu/libgcc.a
|
||||
LOAD /usr/lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-eabi/lib/armv7e-m/fpu/libc.a
|
||||
END GROUP
|
||||
0x0000000020020000 _estack = 0x20020000
|
||||
0x0000000000000000 _Min_Heap_Size = 0x0
|
||||
0x0000000000000400 _Min_Stack_Size = 0x400
|
||||
|
||||
.isr_vector 0x0000000008000000 0x188
|
||||
0x0000000008000000 . = ALIGN (0x4)
|
||||
*(.isr_vector)
|
||||
.isr_vector 0x0000000008000000 0x188 ./boot/startup_stm32f4xx.o
|
||||
0x0000000008000000 g_pfnVectors
|
||||
0x0000000008000188 . = ALIGN (0x4)
|
||||
|
||||
.text 0x0000000008000188 0x4774
|
||||
0x0000000008000188 . = ALIGN (0x4)
|
||||
*(.text)
|
||||
.text 0x0000000008000188 0x254 ./cmsis_boot/system_stm32f4xx.o
|
||||
0x0000000008000188 SystemInit
|
||||
0x00000000080001f0 SystemCoreClockUpdate
|
||||
.text 0x00000000080003dc 0x14 ./boot/startup_stm32f4xx.o
|
||||
.text 0x00000000080003f0 0xf0 ./UART/uart.o
|
||||
0x00000000080003f0 initUART
|
||||
0x0000000008000470 sendChar
|
||||
0x000000000800049c sendString
|
||||
.text 0x00000000080004e0 0x84 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
0x00000000080004e0 SDIO_status
|
||||
0x00000000080004f0 SDIO_initialize
|
||||
0x0000000008000500 SDIO_disk_read
|
||||
0x000000000800051c SDIO_disk_write
|
||||
0x0000000008000538 SDIO_disk_ioctl
|
||||
0x0000000008000554 get_fattime
|
||||
.text 0x0000000008000564 0xd0 ./FATFS/option/ccsbcs.o
|
||||
0x0000000008000564 ff_convert
|
||||
0x00000000080005d8 ff_wtoupper
|
||||
.text 0x0000000008000634 0x0 ./FATFS/option/syscall.o
|
||||
.text 0x0000000008000634 0xd8 ./FATFS/diskio.o
|
||||
0x0000000008000634 disk_status
|
||||
0x0000000008000658 disk_initialize
|
||||
0x000000000800067c disk_read
|
||||
0x00000000080006ac disk_write
|
||||
0x00000000080006dc disk_ioctl
|
||||
.text 0x000000000800070c 0x3a74 ./FATFS/ff.o
|
||||
0x0000000008000a38 clust2sect
|
||||
0x0000000008000a78 get_fat
|
||||
0x0000000008000be0 put_fat
|
||||
0x0000000008002964 f_mount
|
||||
0x00000000080029ec f_open
|
||||
0x0000000008002c78 f_read
|
||||
0x0000000008002ef0 f_write
|
||||
0x00000000080031d0 f_sync
|
||||
0x0000000008003328 f_close
|
||||
0x0000000008003360 f_lseek
|
||||
0x00000000080035d0 f_opendir
|
||||
0x0000000008003698 f_closedir
|
||||
0x00000000080036c0 f_readdir
|
||||
0x0000000008003750 f_stat
|
||||
0x00000000080037d0 f_getfree
|
||||
0x0000000008003958 f_truncate
|
||||
0x0000000008003aa8 f_unlink
|
||||
0x0000000008003c04 f_mkdir
|
||||
0x0000000008003e50 f_chmod
|
||||
0x0000000008003f04 f_rename
|
||||
0x00000000080040c4 f_utime
|
||||
.text 0x0000000008004180 0xe4 ./main.o
|
||||
0x0000000008004218 main
|
||||
0x0000000008004248 SysTick_Handler
|
||||
.text 0x0000000008004264 0xec ./syscalls.o
|
||||
0x0000000008004264 _sbrk
|
||||
0x00000000080042b8 _isatty
|
||||
0x00000000080042d0 _close
|
||||
0x00000000080042e8 _open
|
||||
0x0000000008004300 _fstat
|
||||
0x0000000008004310 _lseek
|
||||
0x0000000008004320 _read
|
||||
0x0000000008004330 _write
|
||||
*(.text*)
|
||||
.text.Reset_Handler
|
||||
0x0000000008004350 0x44 ./boot/startup_stm32f4xx.o
|
||||
0x0000000008004350 Reset_Handler
|
||||
.text.Default_Handler
|
||||
0x0000000008004394 0x2 ./boot/startup_stm32f4xx.o
|
||||
0x0000000008004394 RTC_Alarm_IRQHandler
|
||||
0x0000000008004394 HASH_RNG_IRQHandler
|
||||
0x0000000008004394 EXTI2_IRQHandler
|
||||
0x0000000008004394 TIM8_CC_IRQHandler
|
||||
0x0000000008004394 DebugMon_Handler
|
||||
0x0000000008004394 TIM1_CC_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream5_IRQHandler
|
||||
0x0000000008004394 HardFault_Handler
|
||||
0x0000000008004394 DMA1_Stream5_IRQHandler
|
||||
0x0000000008004394 PVD_IRQHandler
|
||||
0x0000000008004394 SDIO_IRQHandler
|
||||
0x0000000008004394 TAMP_STAMP_IRQHandler
|
||||
0x0000000008004394 PendSV_Handler
|
||||
0x0000000008004394 NMI_Handler
|
||||
0x0000000008004394 CAN2_RX1_IRQHandler
|
||||
0x0000000008004394 EXTI3_IRQHandler
|
||||
0x0000000008004394 TIM8_TRG_COM_TIM14_IRQHandler
|
||||
0x0000000008004394 TIM1_UP_TIM10_IRQHandler
|
||||
0x0000000008004394 TIM8_UP_TIM13_IRQHandler
|
||||
0x0000000008004394 I2C3_ER_IRQHandler
|
||||
0x0000000008004394 EXTI0_IRQHandler
|
||||
0x0000000008004394 I2C2_EV_IRQHandler
|
||||
0x0000000008004394 DMA1_Stream2_IRQHandler
|
||||
0x0000000008004394 CAN1_RX0_IRQHandler
|
||||
0x0000000008004394 FPU_IRQHandler
|
||||
0x0000000008004394 OTG_HS_WKUP_IRQHandler
|
||||
0x0000000008004394 UsageFault_Handler
|
||||
0x0000000008004394 CAN2_SCE_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream2_IRQHandler
|
||||
0x0000000008004394 SPI1_IRQHandler
|
||||
0x0000000008004394 TIM6_DAC_IRQHandler
|
||||
0x0000000008004394 TIM1_BRK_TIM9_IRQHandler
|
||||
0x0000000008004394 DCMI_IRQHandler
|
||||
0x0000000008004394 CAN2_RX0_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream3_IRQHandler
|
||||
0x0000000008004394 USART6_IRQHandler
|
||||
0x0000000008004394 USART3_IRQHandler
|
||||
0x0000000008004394 CRYP_IRQHandler
|
||||
0x0000000008004394 CAN1_RX1_IRQHandler
|
||||
0x0000000008004394 UART5_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream0_IRQHandler
|
||||
0x0000000008004394 TIM4_IRQHandler
|
||||
0x0000000008004394 I2C1_EV_IRQHandler
|
||||
0x0000000008004394 DMA1_Stream6_IRQHandler
|
||||
0x0000000008004394 DMA1_Stream1_IRQHandler
|
||||
0x0000000008004394 UART4_IRQHandler
|
||||
0x0000000008004394 TIM3_IRQHandler
|
||||
0x0000000008004394 RCC_IRQHandler
|
||||
0x0000000008004394 TIM8_BRK_TIM12_IRQHandler
|
||||
0x0000000008004394 Default_Handler
|
||||
0x0000000008004394 EXTI15_10_IRQHandler
|
||||
0x0000000008004394 ADC_IRQHandler
|
||||
0x0000000008004394 DMA1_Stream7_IRQHandler
|
||||
0x0000000008004394 TIM7_IRQHandler
|
||||
0x0000000008004394 CAN2_TX_IRQHandler
|
||||
0x0000000008004394 TIM5_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream7_IRQHandler
|
||||
0x0000000008004394 I2C3_EV_IRQHandler
|
||||
0x0000000008004394 EXTI9_5_IRQHandler
|
||||
0x0000000008004394 RTC_WKUP_IRQHandler
|
||||
0x0000000008004394 ETH_WKUP_IRQHandler
|
||||
0x0000000008004394 SPI2_IRQHandler
|
||||
0x0000000008004394 OTG_HS_EP1_IN_IRQHandler
|
||||
0x0000000008004394 MemManage_Handler
|
||||
0x0000000008004394 DMA1_Stream0_IRQHandler
|
||||
0x0000000008004394 CAN1_TX_IRQHandler
|
||||
0x0000000008004394 SVC_Handler
|
||||
0x0000000008004394 EXTI4_IRQHandler
|
||||
0x0000000008004394 FSMC_IRQHandler
|
||||
0x0000000008004394 ETH_IRQHandler
|
||||
0x0000000008004394 OTG_HS_EP1_OUT_IRQHandler
|
||||
0x0000000008004394 WWDG_IRQHandler
|
||||
0x0000000008004394 TIM2_IRQHandler
|
||||
0x0000000008004394 OTG_FS_WKUP_IRQHandler
|
||||
0x0000000008004394 TIM1_TRG_COM_TIM11_IRQHandler
|
||||
0x0000000008004394 OTG_HS_IRQHandler
|
||||
0x0000000008004394 EXTI1_IRQHandler
|
||||
0x0000000008004394 USART2_IRQHandler
|
||||
0x0000000008004394 I2C2_ER_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream1_IRQHandler
|
||||
0x0000000008004394 CAN1_SCE_IRQHandler
|
||||
0x0000000008004394 FLASH_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream4_IRQHandler
|
||||
0x0000000008004394 BusFault_Handler
|
||||
0x0000000008004394 USART1_IRQHandler
|
||||
0x0000000008004394 OTG_FS_IRQHandler
|
||||
0x0000000008004394 SPI3_IRQHandler
|
||||
0x0000000008004394 DMA1_Stream4_IRQHandler
|
||||
0x0000000008004394 I2C1_ER_IRQHandler
|
||||
0x0000000008004394 DMA2_Stream6_IRQHandler
|
||||
0x0000000008004394 DMA1_Stream3_IRQHandler
|
||||
*(.rodata)
|
||||
*fill* 0x0000000008004396 0x2
|
||||
.rodata 0x0000000008004398 0x4c0 ./FATFS/option/ccsbcs.o
|
||||
.rodata 0x0000000008004858 0xa4 ./FATFS/ff.o
|
||||
*(.rodata*)
|
||||
*(.glue_7)
|
||||
.glue_7 0x00000000080048fc 0x0 linker stubs
|
||||
*(.glue_7t)
|
||||
.glue_7t 0x00000000080048fc 0x0 linker stubs
|
||||
*(.eh_frame)
|
||||
*(.init)
|
||||
*(.fini)
|
||||
0x00000000080048fc . = ALIGN (0x4)
|
||||
0x00000000080048fc _etext = .
|
||||
0x00000000080048fc _exit = .
|
||||
|
||||
.vfp11_veneer 0x00000000080048fc 0x0
|
||||
.vfp11_veneer 0x00000000080048fc 0x0 linker stubs
|
||||
|
||||
.v4_bx 0x00000000080048fc 0x0
|
||||
.v4_bx 0x00000000080048fc 0x0 linker stubs
|
||||
|
||||
.iplt 0x00000000080048fc 0x0
|
||||
.iplt 0x00000000080048fc 0x0 ./cmsis_boot/system_stm32f4xx.o
|
||||
|
||||
.rel.dyn 0x00000000080048fc 0x0
|
||||
.rel.iplt 0x00000000080048fc 0x0 ./cmsis_boot/system_stm32f4xx.o
|
||||
|
||||
.ARM.extab
|
||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||
|
||||
.ARM 0x00000000080048fc 0x0
|
||||
0x00000000080048fc __exidx_start = .
|
||||
*(.ARM.exidx*)
|
||||
0x00000000080048fc __exidx_end = .
|
||||
|
||||
.preinit_array 0x00000000080048fc 0x0
|
||||
0x00000000080048fc PROVIDE (__preinit_array_start, .)
|
||||
*(.preinit_array*)
|
||||
0x00000000080048fc PROVIDE (__preinit_array_end, .)
|
||||
|
||||
.init_array 0x00000000080048fc 0x0
|
||||
0x00000000080048fc PROVIDE (__init_array_start, .)
|
||||
*(SORT(.init_array.*))
|
||||
*(.init_array*)
|
||||
0x00000000080048fc PROVIDE (__init_array_end, .)
|
||||
|
||||
.fini_array 0x00000000080048fc 0x0
|
||||
0x00000000080048fc PROVIDE (__fini_array_start, .)
|
||||
*(.fini_array*)
|
||||
*(SORT(.fini_array.*))
|
||||
0x00000000080048fc PROVIDE (__fini_array_end, .)
|
||||
0x00000000080048fc _siccmram = LOADADDR (.ccmram)
|
||||
|
||||
.ccmram 0x0000000010000000 0x0 load address 0x00000000080048fc
|
||||
0x0000000010000000 . = ALIGN (0x4)
|
||||
0x0000000010000000 _sccmram = .
|
||||
*(.ccmram)
|
||||
*(.ccmram*)
|
||||
0x0000000010000000 . = ALIGN (0x4)
|
||||
0x0000000010000000 _eccmram = .
|
||||
0x00000000080048fc _sidata = LOADADDR (.data)
|
||||
|
||||
.data 0x0000000020000000 0x14 load address 0x00000000080048fc
|
||||
0x0000000020000000 . = ALIGN (0x4)
|
||||
0x0000000020000000 _sdata = .
|
||||
*(.data)
|
||||
.data 0x0000000020000000 0x14 ./cmsis_boot/system_stm32f4xx.o
|
||||
0x0000000020000000 SystemCoreClock
|
||||
0x0000000020000004 AHBPrescTable
|
||||
.data 0x0000000020000014 0x0 ./boot/startup_stm32f4xx.o
|
||||
.data 0x0000000020000014 0x0 ./UART/uart.o
|
||||
.data 0x0000000020000014 0x0 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.data 0x0000000020000014 0x0 ./FATFS/option/ccsbcs.o
|
||||
.data 0x0000000020000014 0x0 ./FATFS/option/syscall.o
|
||||
.data 0x0000000020000014 0x0 ./FATFS/diskio.o
|
||||
.data 0x0000000020000014 0x0 ./FATFS/ff.o
|
||||
.data 0x0000000020000014 0x0 ./main.o
|
||||
.data 0x0000000020000014 0x0 ./syscalls.o
|
||||
*(.data*)
|
||||
0x0000000020000014 . = ALIGN (0x4)
|
||||
0x0000000020000014 _edata = .
|
||||
|
||||
.igot.plt 0x0000000020000014 0x0 load address 0x0000000008004910
|
||||
.igot.plt 0x0000000020000014 0x0 ./cmsis_boot/system_stm32f4xx.o
|
||||
0x0000000020000014 . = ALIGN (0x4)
|
||||
|
||||
.bss 0x0000000020000014 0x660 load address 0x0000000008004910
|
||||
0x0000000020000014 _sbss = .
|
||||
0x0000000020000014 __bss_start__ = _sbss
|
||||
*(.bss)
|
||||
.bss 0x0000000020000014 0x0 ./cmsis_boot/system_stm32f4xx.o
|
||||
.bss 0x0000000020000014 0x0 ./boot/startup_stm32f4xx.o
|
||||
.bss 0x0000000020000014 0x0 ./UART/uart.o
|
||||
.bss 0x0000000020000014 0x0 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.bss 0x0000000020000014 0x0 ./FATFS/option/ccsbcs.o
|
||||
.bss 0x0000000020000014 0x0 ./FATFS/option/syscall.o
|
||||
.bss 0x0000000020000014 0x0 ./FATFS/diskio.o
|
||||
.bss 0x0000000020000014 0x208 ./FATFS/ff.o
|
||||
.bss 0x000000002000021c 0x0 ./main.o
|
||||
.bss 0x000000002000021c 0x4 ./syscalls.o
|
||||
*(.bss*)
|
||||
*(COMMON)
|
||||
COMMON 0x0000000020000220 0x454 ./main.o
|
||||
0x0000000020000220 file
|
||||
0x0000000020000444 SDfs
|
||||
0x0000000020000674 . = ALIGN (0x4)
|
||||
0x0000000020000674 _ebss = .
|
||||
0x0000000020000674 __bss_end__ = _ebss
|
||||
|
||||
._user_heap_stack
|
||||
0x0000000020000674 0x400 load address 0x0000000008004910
|
||||
0x0000000020000674 . = ALIGN (0x4)
|
||||
0x0000000020000674 PROVIDE (heap_low, .)
|
||||
0x0000000020000674 PROVIDE (end, .)
|
||||
0x0000000020000674 PROVIDE (_end, .)
|
||||
0x0000000020000674 . = (. + _Min_Heap_Size)
|
||||
0x0000000020000674 PROVIDE (heap_top, .)
|
||||
0x0000000020000a74 . = (. + _Min_Stack_Size)
|
||||
*fill* 0x0000000020000674 0x400
|
||||
0x0000000020000a74 . = ALIGN (0x4)
|
||||
|
||||
.memory_b1_text
|
||||
*(.mb1text)
|
||||
*(.mb1text*)
|
||||
*(.mb1rodata)
|
||||
*(.mb1rodata*)
|
||||
|
||||
.ARM.attributes
|
||||
0x0000000000000000 0x37
|
||||
*(.ARM.attributes)
|
||||
.ARM.attributes
|
||||
0x0000000000000000 0x39 ./cmsis_boot/system_stm32f4xx.o
|
||||
.ARM.attributes
|
||||
0x0000000000000039 0x21 ./boot/startup_stm32f4xx.o
|
||||
.ARM.attributes
|
||||
0x000000000000005a 0x39 ./UART/uart.o
|
||||
.ARM.attributes
|
||||
0x0000000000000093 0x39 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.ARM.attributes
|
||||
0x00000000000000cc 0x39 ./FATFS/option/ccsbcs.o
|
||||
.ARM.attributes
|
||||
0x0000000000000105 0x39 ./FATFS/option/syscall.o
|
||||
.ARM.attributes
|
||||
0x000000000000013e 0x39 ./FATFS/diskio.o
|
||||
.ARM.attributes
|
||||
0x0000000000000177 0x39 ./FATFS/ff.o
|
||||
.ARM.attributes
|
||||
0x00000000000001b0 0x39 ./main.o
|
||||
.ARM.attributes
|
||||
0x00000000000001e9 0x39 ./syscalls.o
|
||||
OUTPUT(SDCardTemplate_stm32f407vgt6.elf elf32-littlearm)
|
||||
|
||||
.debug_info 0x0000000000000000 0x378e
|
||||
.debug_info 0x0000000000000000 0x5a6 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_info 0x00000000000005a6 0x40b ./UART/uart.o
|
||||
.debug_info 0x00000000000009b1 0x1be ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_info 0x0000000000000b6f 0x160 ./FATFS/option/ccsbcs.o
|
||||
.debug_info 0x0000000000000ccf 0x61 ./FATFS/option/syscall.o
|
||||
.debug_info 0x0000000000000d30 0x204 ./FATFS/diskio.o
|
||||
.debug_info 0x0000000000000f34 0x1bb9 ./FATFS/ff.o
|
||||
.debug_info 0x0000000000002aed 0xaf2 ./main.o
|
||||
.debug_info 0x00000000000035df 0x1af ./syscalls.o
|
||||
|
||||
.debug_abbrev 0x0000000000000000 0x8db
|
||||
.debug_abbrev 0x0000000000000000 0x13b ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_abbrev 0x000000000000013b 0x13c ./UART/uart.o
|
||||
.debug_abbrev 0x0000000000000277 0xb2 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_abbrev 0x0000000000000329 0xab ./FATFS/option/ccsbcs.o
|
||||
.debug_abbrev 0x00000000000003d4 0x29 ./FATFS/option/syscall.o
|
||||
.debug_abbrev 0x00000000000003fd 0xa1 ./FATFS/diskio.o
|
||||
.debug_abbrev 0x000000000000049e 0x1a4 ./FATFS/ff.o
|
||||
.debug_abbrev 0x0000000000000642 0x1ce ./main.o
|
||||
.debug_abbrev 0x0000000000000810 0xcb ./syscalls.o
|
||||
|
||||
.debug_aranges 0x0000000000000000 0x118
|
||||
.debug_aranges
|
||||
0x0000000000000000 0x20 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_aranges
|
||||
0x0000000000000020 0x20 ./UART/uart.o
|
||||
.debug_aranges
|
||||
0x0000000000000040 0x20 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_aranges
|
||||
0x0000000000000060 0x20 ./FATFS/option/ccsbcs.o
|
||||
.debug_aranges
|
||||
0x0000000000000080 0x18 ./FATFS/option/syscall.o
|
||||
.debug_aranges
|
||||
0x0000000000000098 0x20 ./FATFS/diskio.o
|
||||
.debug_aranges
|
||||
0x00000000000000b8 0x20 ./FATFS/ff.o
|
||||
.debug_aranges
|
||||
0x00000000000000d8 0x20 ./main.o
|
||||
.debug_aranges
|
||||
0x00000000000000f8 0x20 ./syscalls.o
|
||||
|
||||
.debug_macro 0x0000000000000000 0xbf19
|
||||
.debug_macro 0x0000000000000000 0xc5 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x00000000000000c5 0x87a ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x000000000000093f 0x45 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x0000000000000984 0x28 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x00000000000009ac 0x3b ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x00000000000009e7 0x22 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x0000000000000a09 0x44 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x0000000000000a4d 0x1c ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x0000000000000a69 0x1f7 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x0000000000000c60 0x18 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x0000000000000c78 0x42 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x0000000000000cba 0xd39 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x00000000000019f3 0x9201 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x000000000000abf4 0x43 ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_macro 0x000000000000ac37 0xac ./UART/uart.o
|
||||
.debug_macro 0x000000000000ace3 0x33 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_macro 0x000000000000ad16 0x16 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_macro 0x000000000000ad2c 0x7c ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_macro 0x000000000000ada8 0x39 ./FATFS/option/ccsbcs.o
|
||||
.debug_macro 0x000000000000ade1 0xdc ./FATFS/option/ccsbcs.o
|
||||
.debug_macro 0x000000000000aebd 0xf5 ./FATFS/option/ccsbcs.o
|
||||
.debug_macro 0x000000000000afb2 0x33 ./FATFS/option/syscall.o
|
||||
.debug_macro 0x000000000000afe5 0x3d ./FATFS/diskio.o
|
||||
.debug_macro 0x000000000000b022 0x275 ./FATFS/ff.o
|
||||
.debug_macro 0x000000000000b297 0x8e ./FATFS/ff.o
|
||||
.debug_macro 0x000000000000b325 0x1a5 ./main.o
|
||||
.debug_macro 0x000000000000b4ca 0x12 ./main.o
|
||||
.debug_macro 0x000000000000b4dc 0x58 ./main.o
|
||||
.debug_macro 0x000000000000b534 0x35 ./main.o
|
||||
.debug_macro 0x000000000000b569 0x9c ./main.o
|
||||
.debug_macro 0x000000000000b605 0x166 ./main.o
|
||||
.debug_macro 0x000000000000b76b 0x52 ./main.o
|
||||
.debug_macro 0x000000000000b7bd 0x16 ./main.o
|
||||
.debug_macro 0x000000000000b7d3 0x43 ./main.o
|
||||
.debug_macro 0x000000000000b816 0x180 ./main.o
|
||||
.debug_macro 0x000000000000b996 0x29d ./main.o
|
||||
.debug_macro 0x000000000000bc33 0x10 ./main.o
|
||||
.debug_macro 0x000000000000bc43 0x35 ./main.o
|
||||
.debug_macro 0x000000000000bc78 0x1e1 ./main.o
|
||||
.debug_macro 0x000000000000be59 0xa5 ./main.o
|
||||
.debug_macro 0x000000000000befe 0x1b ./syscalls.o
|
||||
|
||||
.debug_line 0x0000000000000000 0x192a
|
||||
.debug_line 0x0000000000000000 0x23a ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_line 0x000000000000023a 0x262 ./UART/uart.o
|
||||
.debug_line 0x000000000000049c 0x147 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_line 0x00000000000005e3 0xc8 ./FATFS/option/ccsbcs.o
|
||||
.debug_line 0x00000000000006ab 0x6e ./FATFS/option/syscall.o
|
||||
.debug_line 0x0000000000000719 0x13d ./FATFS/diskio.o
|
||||
.debug_line 0x0000000000000856 0xc99 ./FATFS/ff.o
|
||||
.debug_line 0x00000000000014ef 0x392 ./main.o
|
||||
.debug_line 0x0000000000001881 0xa9 ./syscalls.o
|
||||
|
||||
.debug_str 0x0000000000000000 0x42b5b
|
||||
.debug_str 0x0000000000000000 0x3dd22 ./cmsis_boot/system_stm32f4xx.o
|
||||
0x3de93 (size before relaxing)
|
||||
.debug_str 0x000000000003dd22 0x8b ./UART/uart.o
|
||||
0x3dd98 (size before relaxing)
|
||||
.debug_str 0x000000000003ddad 0x280 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
0x273e (size before relaxing)
|
||||
.debug_str 0x000000000003e02d 0x64a ./FATFS/option/ccsbcs.o
|
||||
0x2b1d (size before relaxing)
|
||||
.debug_str 0x000000000003e677 0x1a ./FATFS/option/syscall.o
|
||||
0x2ade (size before relaxing)
|
||||
.debug_str 0x000000000003e691 0x3a ./FATFS/diskio.o
|
||||
0x270c (size before relaxing)
|
||||
.debug_str 0x000000000003e6cb 0xc69 ./FATFS/ff.o
|
||||
0x3949 (size before relaxing)
|
||||
.debug_str 0x000000000003f334 0x37df ./main.o
|
||||
0x41d06 (size before relaxing)
|
||||
.debug_str 0x0000000000042b13 0x48 ./syscalls.o
|
||||
0x24eb (size before relaxing)
|
||||
|
||||
.comment 0x0000000000000000 0x33
|
||||
.comment 0x0000000000000000 0x33 ./cmsis_boot/system_stm32f4xx.o
|
||||
0x34 (size before relaxing)
|
||||
.comment 0x0000000000000033 0x34 ./UART/uart.o
|
||||
.comment 0x0000000000000033 0x34 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.comment 0x0000000000000033 0x34 ./FATFS/option/ccsbcs.o
|
||||
.comment 0x0000000000000033 0x34 ./FATFS/option/syscall.o
|
||||
.comment 0x0000000000000033 0x34 ./FATFS/diskio.o
|
||||
.comment 0x0000000000000033 0x34 ./FATFS/ff.o
|
||||
.comment 0x0000000000000033 0x34 ./main.o
|
||||
.comment 0x0000000000000033 0x34 ./syscalls.o
|
||||
|
||||
.debug_frame 0x0000000000000000 0xc5c
|
||||
.debug_frame 0x0000000000000000 0x7c ./cmsis_boot/system_stm32f4xx.o
|
||||
.debug_frame 0x000000000000007c 0x7c ./UART/uart.o
|
||||
.debug_frame 0x00000000000000f8 0xe8 ./FATFS/shimatta_sdio_driver/shimatta_sdio-driver.o
|
||||
.debug_frame 0x00000000000001e0 0x60 ./FATFS/option/ccsbcs.o
|
||||
.debug_frame 0x0000000000000240 0xc4 ./FATFS/diskio.o
|
||||
.debug_frame 0x0000000000000304 0x78c ./FATFS/ff.o
|
||||
.debug_frame 0x0000000000000a90 0x98 ./main.o
|
||||
.debug_frame 0x0000000000000b28 0x134 ./syscalls.o
|
8
Default/objects.mk
Normal file
8
Default/objects.mk
Normal file
@ -0,0 +1,8 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
USER_OBJS :=
|
||||
|
||||
LIBS :=
|
||||
|
23
Default/sources.mk
Normal file
23
Default/sources.mk
Normal file
@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
O_SRCS :=
|
||||
C_SRCS :=
|
||||
S_UPPER_SRCS :=
|
||||
OBJ_SRCS :=
|
||||
ASM_SRCS :=
|
||||
OBJS :=
|
||||
C_DEPS :=
|
||||
EXECUTABLES :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS := \
|
||||
. \
|
||||
cmsis_boot \
|
||||
boot \
|
||||
UART \
|
||||
FATFS/shimatta_sdio_driver \
|
||||
FATFS/option \
|
||||
FATFS \
|
||||
|
27
Default/subdir.mk
Normal file
27
Default/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 += \
|
||||
../main.c \
|
||||
../syscalls.c
|
||||
|
||||
OBJS += \
|
||||
./main.o \
|
||||
./syscalls.o
|
||||
|
||||
C_DEPS += \
|
||||
./main.d \
|
||||
./syscalls.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
%.o: ../%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: Cross GCC Compiler'
|
||||
arm-none-eabi-gcc -DSTM32F407xx -DSTM32F4XX -DARM_MATH_CM4 -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/shimatta_sdio_driver" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS/option" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/FATFS" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/cmsis_boot" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/mathlib" -I"/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART" -O0 -g3 -Wall -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
4
Default/syscalls.d
Normal file
4
Default/syscalls.d
Normal file
@ -0,0 +1,4 @@
|
||||
syscalls.d: ../syscalls.c \
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART/uart.h
|
||||
|
||||
/home/mari/projects/arm/workspace/SDCardTemplate_stm32f407vgt6/UART/uart.h:
|
@ -9,7 +9,7 @@
|
||||
|
||||
//Only ONE device with ONE partition!!!
|
||||
#include "diskio.h" /* FatFs lower layer API */
|
||||
//TODO: include meow!
|
||||
#include <shimatta_sdio-driver.h>
|
||||
|
||||
/* Definitions of physical drive number for each drive */
|
||||
#define SDIO 0 /* Example: Map ATA harddisk to physical drive 0 */
|
||||
|
18
FATFS/ff.c
18
FATFS/ff.c
@ -19,6 +19,8 @@
|
||||
#include "ff.h" /* Declarations of FatFs API */
|
||||
#include "diskio.h" /* Declarations of disk I/O functions */
|
||||
|
||||
//For get_fattime:
|
||||
//#include <shimatta_sdio-driver.h>
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
|
||||
@ -62,9 +64,9 @@
|
||||
#if _NORTC_YEAR < 1980 || _NORTC_YEAR > 2107 || _NORTC_MON < 1 || _NORTC_MON > 12 || _NORTC_MDAY < 1 || _NORTC_MDAY > 31
|
||||
#error Invalid _FS_NORTC settings
|
||||
#endif
|
||||
#define GET_FATTIME() ((DWORD)(_NORTC_YEAR - 1980) << 25 | (DWORD)_NORTC_MON << 21 | (DWORD)_NORTC_MDAY << 16)
|
||||
#define get_fattime() ((DWORD)(_NORTC_YEAR - 1980) << 25 | (DWORD)_NORTC_MON << 21 | (DWORD)_NORTC_MDAY << 16)
|
||||
#else
|
||||
#define GET_FATTIME() get_fattime()
|
||||
#define get_fattime() get_fattime()
|
||||
#endif
|
||||
|
||||
|
||||
@ -2462,7 +2464,7 @@ FRESULT f_open (
|
||||
}
|
||||
}
|
||||
if (res == FR_OK && (mode & FA_CREATE_ALWAYS)) { /* Truncate it if overwrite mode */
|
||||
dw = GET_FATTIME(); /* Created time */
|
||||
dw = get_fattime(); /* Created time */
|
||||
ST_DWORD(dir + DIR_CrtTime, dw);
|
||||
dir[DIR_Attr] = 0; /* Reset attribute */
|
||||
ST_DWORD(dir + DIR_FileSize, 0);/* size = 0 */
|
||||
@ -2788,7 +2790,7 @@ FRESULT f_sync (
|
||||
dir[DIR_Attr] |= AM_ARC; /* Set archive bit */
|
||||
ST_DWORD(dir + DIR_FileSize, fp->fsize); /* Update file size */
|
||||
st_clust(dir, fp->sclust); /* Update start cluster */
|
||||
tm = GET_FATTIME(); /* Update updated time */
|
||||
tm = get_fattime(); /* Update updated timer*/
|
||||
ST_DWORD(dir + DIR_WrtTime, tm);
|
||||
ST_WORD(dir + DIR_LstAccDate, 0);
|
||||
fp->flag &= ~FA__WRITTEN;
|
||||
@ -3556,7 +3558,7 @@ FRESULT f_mkdir (
|
||||
FRESULT res;
|
||||
DIR dj;
|
||||
BYTE *dir, n;
|
||||
DWORD dsc, dcl, pcl, tm = GET_FATTIME();
|
||||
DWORD dsc, dcl, pcl, tm = get_fattime();
|
||||
DEFINE_NAMEBUF;
|
||||
|
||||
|
||||
@ -3916,7 +3918,7 @@ FRESULT f_setlabel (
|
||||
if (res == FR_OK) { /* A volume label is found */
|
||||
if (vn[0]) {
|
||||
mem_cpy(dj.dir, vn, 11); /* Change the volume label name */
|
||||
tm = GET_FATTIME();
|
||||
tm = get_fattime();
|
||||
ST_DWORD(dj.dir + DIR_WrtTime, tm);
|
||||
} else {
|
||||
dj.dir[0] = DDEM; /* Remove the volume label */
|
||||
@ -3932,7 +3934,7 @@ FRESULT f_setlabel (
|
||||
mem_set(dj.dir, 0, SZ_DIRE); /* Set volume label */
|
||||
mem_cpy(dj.dir, vn, 11);
|
||||
dj.dir[DIR_Attr] = AM_VOL;
|
||||
tm = GET_FATTIME();
|
||||
tm = get_fattime();
|
||||
ST_DWORD(dj.dir + DIR_WrtTime, tm);
|
||||
dj.fs->wflag = 1;
|
||||
res = sync_fs(dj.fs);
|
||||
@ -4183,7 +4185,7 @@ FRESULT f_mkfs (
|
||||
ST_WORD(tbl + BPB_SecPerTrk, 63); /* Number of sectors per track */
|
||||
ST_WORD(tbl + BPB_NumHeads, 255); /* Number of heads */
|
||||
ST_DWORD(tbl + BPB_HiddSec, b_vol); /* Hidden sectors */
|
||||
n = GET_FATTIME(); /* Use current time as VSN */
|
||||
n = get_fattime(); /* Use current time as VSN */
|
||||
if (fmt == FS_FAT32) {
|
||||
ST_DWORD(tbl + BS_VolID32, n); /* VSN */
|
||||
ST_DWORD(tbl + BPB_FATSz32, n_fat); /* Number of sectors per FAT */
|
||||
|
27
FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c
Normal file
27
FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* shimatta_sdio-driver.c
|
||||
*
|
||||
* Created on: Apr 30, 2015
|
||||
* Author: mari
|
||||
*/
|
||||
|
||||
#include <shimatta_sdio-driver.h>
|
||||
|
||||
DSTATUS SDIO_status(){
|
||||
return 0;
|
||||
}
|
||||
DSTATUS SDIO_initialize(){
|
||||
return 0;
|
||||
}
|
||||
DRESULT SDIO_disk_read(BYTE *buff, DWORD sector, UINT count){
|
||||
return RES_OK;
|
||||
}
|
||||
DRESULT SDIO_disk_write(BYTE *buff, DWORD sector, UINT count){
|
||||
return RES_OK;
|
||||
}
|
||||
DRESULT SDIO_disk_ioctl(BYTE cmd, void* buff){
|
||||
return RES_OK;
|
||||
}
|
||||
DWORD get_fattime(){
|
||||
return 0;
|
||||
}
|
@ -8,6 +8,13 @@
|
||||
#ifndef FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_
|
||||
#define FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_
|
||||
|
||||
#include <diskio.h>
|
||||
|
||||
DSTATUS SDIO_status();
|
||||
DSTATUS SDIO_initialize();
|
||||
DRESULT SDIO_disk_read(BYTE *buff, DWORD sector, UINT count);
|
||||
DRESULT SDIO_disk_write(BYTE *buff, DWORD sector, UINT count);
|
||||
DRESULT SDIO_disk_ioctl(BYTE cmd, void* buff);
|
||||
DWORD get_fattime();
|
||||
|
||||
#endif /* FATFS_SHIMATTA_SDIO_DRIVER_SHIMATTA_SDIO_DRIVER_H_ */
|
||||
|
6
main.c
6
main.c
@ -13,15 +13,15 @@
|
||||
#define OUTPUT(pin) (0b01 << (pin * 2))
|
||||
|
||||
FATFS SDfs;
|
||||
|
||||
FIL file;
|
||||
int main() {
|
||||
RCC->AHB1ENR |= RCC_AHB1ENR_GPIODEN;
|
||||
__DSB();
|
||||
GPIOD->MODER = OUTPUT(12);
|
||||
SysTick_Config(8*1680000);
|
||||
|
||||
f_mount(&SDfs, "0:/",1);
|
||||
|
||||
//f_mount(&SDfs, "0:/",1);
|
||||
//f_open(&file, "0:/meow.txt", FA_READ);
|
||||
while(1);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user