📄 demo.plg
字号:
linking...
demo.axf: Error: L6218E: Undefined symbol f_close (referred from main.o).
demo.axf: Error: L6218E: Undefined symbol f_mount (referred from main.o).
demo.axf: Error: L6218E: Undefined symbol f_open (referred from main.o).
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
FatFS\diskio.c(8): error: #5: cannot open source input file "Config.h": No such file or directory
compiling ff.c...
FatFS\ff.c(783): warning: #550-D: variable "lfen" was set but never used
FatFS\ff.c(783): warning: #550-D: variable "ord" was set but never used
FatFS\ff.c(783): warning: #550-D: variable "sum" was set but never used
FatFS\ff.c(846): warning: #550-D: variable "ord" was set but never used
FatFS\ff.c(846): warning: #550-D: variable "sum" was set but never used
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
FatFS\Config.h(15): error: #5: cannot open source input file "FatFS\integer.h": No such file or directory
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
FatFS\Config.h(17): error: #5: cannot open source input file "SD_driver.h": No such file or directory
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
FatFS\Config.h(17): error: #5: cannot open source input file "sd_driver.h": No such file or directory
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
FatFS\Config.h(17): error: #5: cannot open source input file "SD_driver.h": No such file or directory
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
FatFS\Config.h(17): error: #5: cannot open source input file "SD_driver.h": No such file or directory
Target not created
Build target 'Target 1'
compiling main.c...
Config.h(15): error: #5: cannot open source input file "FatFS\integer.h": No such file or directory
compiling diskio.c...
diskio.c: Error: #5: cannot open source input file "FatFS\diskio.c": No such file or directory
Target not created
Build target 'Target 1'
compiling main.c...
Config.h(15): error: #5: cannot open source input file "FatFS\integer.h": No such file or directory
compiling diskio.c...
Config.h(15): error: #5: cannot open source input file "FatFS\integer.h": No such file or directory
compiling ff.c...
ff.c(783): warning: #550-D: variable "lfen" was set but never used
ff.c(783): warning: #550-D: variable "ord" was set but never used
ff.c(783): warning: #550-D: variable "sum" was set but never used
ff.c(846): warning: #550-D: variable "ord" was set but never used
ff.c(846): warning: #550-D: variable "sum" was set but never used
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
diskio.c(221): error: #70: incomplete type is not allowed
diskio.c(223): warning: #223-D: function "Time_GetCalendarTime" declared implicitly
diskio.c(236): error: #409: function "get_Calendarfattime" returns incomplete type "struct tm"
diskio.c(238): error: #70: incomplete type is not allowed
diskio.c(253): warning: #223-D: function "Time_ConvCalendarToUnix" declared implicitly
diskio.c(254): warning: #223-D: function "Time_ConvUnixToCalendar" declared implicitly
diskio.c(256): warning: #1166-D: returning pointer to local variable
Target not created
Build target 'Target 1'
compiling main.c...
compiling diskio.c...
diskio.c(221): error: #70: incomplete type is not allowed
diskio.c(223): warning: #223-D: function "Time_GetCalendarTime" declared implicitly
diskio.c(236): error: #409: function "get_Calendarfattime" returns incomplete type "struct tm"
diskio.c(238): error: #70: incomplete type is not allowed
diskio.c(253): warning: #223-D: function "Time_ConvCalendarToUnix" declared implicitly
diskio.c(254): warning: #223-D: function "Time_ConvUnixToCalendar" declared implicitly
diskio.c(256): warning: #1166-D: returning pointer to local variable
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
diskio.c(221): error: #70: incomplete type is not allowed
diskio.c(223): warning: #223-D: function "Time_GetCalendarTime" declared implicitly
diskio.c(236): error: #409: function "get_Calendarfattime" returns incomplete type "struct tm"
diskio.c(238): error: #70: incomplete type is not allowed
diskio.c(253): warning: #223-D: function "Time_ConvCalendarToUnix" declared implicitly
diskio.c(254): warning: #223-D: function "Time_ConvUnixToCalendar" declared implicitly
diskio.c(256): warning: #1166-D: returning pointer to local variable
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
diskio.c(223): error: #20: identifier "t" is undefined
diskio.c(223): warning: #223-D: function "Time_GetCalendarTime" declared implicitly
diskio.c(236): error: #409: function "get_Calendarfattime" returns incomplete type "struct tm"
diskio.c(238): error: #70: incomplete type is not allowed
diskio.c(253): warning: #223-D: function "Time_ConvCalendarToUnix" declared implicitly
diskio.c(254): warning: #223-D: function "Time_ConvUnixToCalendar" declared implicitly
diskio.c(256): warning: #1166-D: returning pointer to local variable
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
diskio.c(222): error: #20: identifier "tm" is undefined
diskio.c(222): error: #65: expected a ";"
diskio.c(223): error: #268: declaration may not appear after executable statement in block
diskio.c(224): error: #20: identifier "t" is undefined
diskio.c(224): warning: #223-D: function "Time_GetCalendarTime" declared implicitly
diskio.c(237): error: #409: function "get_Calendarfattime" returns incomplete type "struct tm"
diskio.c(239): error: #70: incomplete type is not allowed
diskio.c(254): warning: #223-D: function "Time_ConvCalendarToUnix" declared implicitly
diskio.c(255): warning: #223-D: function "Time_ConvUnixToCalendar" declared implicitly
diskio.c(257): warning: #1166-D: returning pointer to local variable
Target not created
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
diskio.c(226): error: #409: function "get_Calendarfattime" returns incomplete type "struct tm"
diskio.c(228): error: #70: incomplete type is not allowed
diskio.c(243): warning: #223-D: function "Time_ConvCalendarToUnix" declared implicitly
diskio.c(244): warning: #223-D: function "Time_ConvUnixToCalendar" declared implicitly
diskio.c(246): warning: #1166-D: returning pointer to local variable
Target not created
Build target 'Target 1'
compiling main.c...
compiling diskio.c...
diskio.c(226): error: #409: function "get_Calendarfattime" returns incomplete type "struct tm"
diskio.c(228): error: #70: incomplete type is not allowed
diskio.c(243): warning: #223-D: function "Time_ConvCalendarToUnix" declared implicitly
diskio.c(244): warning: #223-D: function "Time_ConvUnixToCalendar" declared implicitly
diskio.c(246): warning: #1166-D: returning pointer to local variable
Target not created
Build target 'Target 1'
compiling diskio.c...
diskio.c(226): error: #18: expected a ")"
diskio.c(226): error: #101: "DWORD" has already been declared in the current scope
diskio.c(226): error: #65: expected a ";"
diskio.c(249): warning: At end of source: #12-D: parsing restarts here after previous syntax error
diskio.c(226): error: #235: variable "DWORD" was declared with a never-completed type
Target not created
Build target 'Target 1'
compiling diskio.c...
linking...
Program Size: Code=20418 RO-data=358 RW-data=52 ZI-data=3780
FromELF: creating hex file...
"demo.axf" - 0 Error(s), 0 Warning(s).
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
Target not created
compiling main.c...
main.c(123): error: #167: argument of type "FIL" is incompatible with parameter of type "FILE *restrict"
main.c - 1 Error(s), 0 Warning(s).
Build target 'Target 1'
compiling main.c...
main.c(123): error: #167: argument of type "FIL *" is incompatible with parameter of type "FILE *restrict"
Target not created
compiling main.c...
main.c(123): error: #167: argument of type "FIL *" is incompatible with parameter of type "FILE *restrict"
main.c - 1 Error(s), 0 Warning(s).
Build target 'Target 1'
compiling stm32f10x_it.c...
compiling main.c...
main.c(123): error: #167: argument of type "FIL *" is incompatible with parameter of type "FILE *restrict"
compiling diskio.c...
compiling ff.c...
ff.c(783): warning: #550-D: variable "lfen" was set but never used
ff.c(783): warning: #550-D: variable "ord" was set but never used
ff.c(783): warning: #550-D: variable "sum" was set but never used
ff.c(846): warning: #550-D: variable "ord" was set but never used
ff.c(846): warning: #550-D: variable "sum" was set but never used
assembling cortexm3_macro.s...
assembling stm32f10x_vector.s...
compiling stm32f10x_adc.c...
compiling stm32f10x_bkp.c...
compiling stm32f10x_can.c...
compiling stm32f10x_crc.c...
compiling stm32f10x_dac.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_dma.c...
compiling stm32f10x_exti.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_fsmc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_i2c.c...
compiling stm32f10x_iwdg.c...
compiling stm32f10x_lib.c...
compiling stm32f10x_nvic.c...
compiling stm32f10x_pwr.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_rtc.c...
compiling stm32f10x_sdio.c...
compiling stm32f10x_spi.c...
compiling stm32f10x_systick.c...
compiling stm32f10x_tim.c...
compiling stm32f10x_usart.c...
compiling stm32f10x_wwdg.c...
Target not created
Build target 'Target 1'
compiling main.c...
linking...
Program Size: Code=21650 RO-data=374 RW-data=52 ZI-data=3988
FromELF: creating hex file...
"demo.axf" - 0 Error(s), 0 Warning(s).
Load "E:\\ARM\\STM32\\demo.AXF"
VTarget = 3.352V
Info: TotalIRLen = 9, IRPrint = 0x0011
Info: Found Cortex-M3 r1p1, Little endian.
Info: TPIU fitted.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Info: TotalIRLen = 9, IRPrint = 0x0011
Info: Found Cortex-M3 r1p1, Little endian.
Info: TPIU fitted.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
DLL version V3.90d, compiled Sep 1 2008 13:56:39
Firmware: J-Link ARM V7 compiled Nov 20 2008 13:09:18
Hardware: V7.00
Hardware-Breakpoints: 6
Software-Breakpoints: 2048
Watchpoints: 0
Found 2 JTAG devices, Total IRLen = 9:
Id of device #0: 0x3BA00477
Id of device #1: 0x16410041
Cortex-M3 identified.
JTAG speed: 5 kHz
Info: TotalIRLen = 9, IRPrint = 0x0011
Info: Found Cortex-M3 r1p1, Little endian.
Info: TPIU fitted.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
JTAG speed: 1000 kHz
Erase Done.
Programming Done.
Verify OK.
Info: TotalIRLen = 9, IRPrint = 0x0011
Info: Found Cortex-M3 r1p1, Little endian.
Info: TPIU fitted.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
JTAG speed: 1000 kHz
Application running ...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -