精简项目
删除了不需要的文件,并整理了文件夹
This commit is contained in:
111
USER/.vscode/c_cpp_properties.json
vendored
111
USER/.vscode/c_cpp_properties.json
vendored
@@ -1,111 +0,0 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "FATFS",
|
||||
"includePath": [
|
||||
"d:\\Desktop\\实验41 FATFS实验\\CORE",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\OBJ",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\USER",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HALLIB\\STM32F4xx_HAL_Driver\\Inc",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\SYSTEM\\delay",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\SYSTEM\\sys",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\SYSTEM\\usart",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\LED",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\KEY",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\LCD",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\SDRAM",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\SDIO",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\SPI",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\W25QXX",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HARDWARE\\NAND",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\MALLOC",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\USMART",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\FATFS\\exfuns",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\FATFS\\src",
|
||||
"C:\\Keil_v5\\ARM\\ARMCC\\include",
|
||||
"C:\\Keil_v5\\ARM\\ARMCC\\include\\rw",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\HALLIB\\STM32F4xx_HAL_Driver\\Src",
|
||||
"d:\\Desktop\\实验41 FATFS实验\\FATFS\\src\\option",
|
||||
"d:\\Desktop\\实验41 FATFS实验"
|
||||
],
|
||||
"defines": [
|
||||
"USE_HAL_DRIVER",
|
||||
"STM32F429xx",
|
||||
"__CC_ARM",
|
||||
"__arm__",
|
||||
"__align(x)=",
|
||||
"__ALIGNOF__(x)=",
|
||||
"__alignof__(x)=",
|
||||
"__asm(x)=",
|
||||
"__forceinline=",
|
||||
"__restrict=",
|
||||
"__global_reg(n)=",
|
||||
"__inline=",
|
||||
"__int64=long long",
|
||||
"__INTADDR__(expr)=0",
|
||||
"__irq=",
|
||||
"__packed=",
|
||||
"__pure=",
|
||||
"__smc(n)=",
|
||||
"__svc(n)=",
|
||||
"__svc_indirect(n)=",
|
||||
"__svc_indirect_r7(n)=",
|
||||
"__value_in_regs=",
|
||||
"__weak=",
|
||||
"__writeonly=",
|
||||
"__declspec(x)=",
|
||||
"__attribute__(x)=",
|
||||
"__nonnull__(x)=",
|
||||
"__register=",
|
||||
"__breakpoint(x)=",
|
||||
"__cdp(x,y,z)=",
|
||||
"__clrex()=",
|
||||
"__clz(x)=0U",
|
||||
"__current_pc()=0U",
|
||||
"__current_sp()=0U",
|
||||
"__disable_fiq()=",
|
||||
"__disable_irq()=",
|
||||
"__dmb(x)=",
|
||||
"__dsb(x)=",
|
||||
"__enable_fiq()=",
|
||||
"__enable_irq()=",
|
||||
"__fabs(x)=0.0",
|
||||
"__fabsf(x)=0.0f",
|
||||
"__force_loads()=",
|
||||
"__force_stores()=",
|
||||
"__isb(x)=",
|
||||
"__ldrex(x)=0U",
|
||||
"__ldrexd(x)=0U",
|
||||
"__ldrt(x)=0U",
|
||||
"__memory_changed()=",
|
||||
"__nop()=",
|
||||
"__pld(...)=",
|
||||
"__pli(...)=",
|
||||
"__qadd(x,y)=0",
|
||||
"__qdbl(x)=0",
|
||||
"__qsub(x,y)=0",
|
||||
"__rbit(x)=0U",
|
||||
"__rev(x)=0U",
|
||||
"__return_address()=0U",
|
||||
"__ror(x,y)=0U",
|
||||
"__schedule_barrier()=",
|
||||
"__semihost(x,y)=0",
|
||||
"__sev()=",
|
||||
"__sqrt(x)=0.0",
|
||||
"__sqrtf(x)=0.0f",
|
||||
"__ssat(x,y)=0",
|
||||
"__strex(x,y)=0U",
|
||||
"__strexd(x,y)=0",
|
||||
"__strt(x,y)=",
|
||||
"__swp(x,y)=0U",
|
||||
"__usat(x,y)=0U",
|
||||
"__wfe()=",
|
||||
"__wfi()=",
|
||||
"__yield()=",
|
||||
"__vfp_status(x,y)=0"
|
||||
],
|
||||
"intelliSenseMode": "${default}"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
18
USER/.vscode/keil-assistant.log
vendored
18
USER/.vscode/keil-assistant.log
vendored
@@ -1,18 +0,0 @@
|
||||
[info] Log at : 2024/10/21|19:33:59|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:34:11|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:34:24|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:34:50|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:35:50|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:35:56|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:39:13|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:39:36|GMT+0800
|
||||
|
||||
[info] Log at : 2024/10/21|19:40:54|GMT+0800
|
||||
|
||||
60
USER/.vscode/uv4.log
vendored
60
USER/.vscode/uv4.log
vendored
@@ -1,60 +0,0 @@
|
||||
*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
|
||||
Rebuild target 'FATFS'
|
||||
assembling startup_stm32f429xx.s...
|
||||
compiling stm32f4xx_it.c...
|
||||
compiling stm32f4xx_hal_dma_ex.c...
|
||||
compiling stm32f4xx_hal_pwr_ex.c...
|
||||
compiling stm32f4xx_hal_dma.c...
|
||||
compiling stm32f4xx_hal_rcc_ex.c...
|
||||
compiling stm32f4xx_hal_uart.c...
|
||||
compiling stm32f4xx_hal_cortex.c...
|
||||
compiling system_stm32f4xx.c...
|
||||
compiling stm32f4xx_hal_rcc.c...
|
||||
compiling stm32f4xx_hal_pwr.c...
|
||||
compiling stm32f4xx_hal_tim_ex.c...
|
||||
compiling main.c...
|
||||
main.c(31): warning: #177-D: variable "res" was declared but never referenced
|
||||
u8 res=0;
|
||||
main.c: 1 warning, 0 errors
|
||||
compiling stm32f4xx_hal_gpio.c...
|
||||
compiling stm32f4xx_hal.c...
|
||||
compiling stm32f4xx_hal_usart.c...
|
||||
compiling stm32f4xx_hal_tim.c...
|
||||
compiling stm32f4xx_hal_ltdc_ex.c...
|
||||
compiling stm32f4xx_hal_sram.c...
|
||||
compiling stm32f4xx_ll_fmc.c...
|
||||
compiling stm32f4xx_hal_sdram.c...
|
||||
compiling usart.c...
|
||||
compiling stm32f4xx_hal_ltdc.c...
|
||||
compiling stm32f4xx_hal_spi.c...
|
||||
compiling stm32f4xx_hal_dma2d.c...
|
||||
compiling key.c...
|
||||
compiling sys.c...
|
||||
compiling stm32f4xx_ll_sdmmc.c...
|
||||
compiling stm32f4xx_hal_nand.c...
|
||||
compiling led.c...
|
||||
compiling delay.c...
|
||||
compiling stm32f4xx_hal_sd.c...
|
||||
compiling cc936.c...
|
||||
compiling lcd.c...
|
||||
compiling ff.c...
|
||||
compiling sdio_sdcard.c...
|
||||
compiling sdram.c...
|
||||
compiling nandtester.c...
|
||||
compiling nand.c...
|
||||
compiling usmart_config.c...
|
||||
compiling ltdc.c...
|
||||
compiling usmart_str.c...
|
||||
compiling spi.c...
|
||||
compiling w25qxx.c...
|
||||
compiling malloc.c...
|
||||
compiling usmart.c...
|
||||
compiling diskio.c...
|
||||
compiling ftl.c...
|
||||
compiling exfuns.c...
|
||||
compiling fattester.c...
|
||||
linking...
|
||||
Program Size: Code=56382 RO-data=195006 RW-data=680 ZI-data=33751352
|
||||
FromELF: creating hex file...
|
||||
"..\OBJ\FATFS.axf" - 0 Error(s), 1 Warning(s).
|
||||
Build Time Elapsed: 00:00:09
|
||||
1
USER/.vscode/uv4.log.lock
vendored
1
USER/.vscode/uv4.log.lock
vendored
@@ -1 +0,0 @@
|
||||
2024/10/21 19:42:18
|
||||
@@ -1,41 +0,0 @@
|
||||
// <<< Use Configuration Wizard in Context Menu >>>
|
||||
|
||||
// <h>Debug MCU Configuration
|
||||
// <o.0> DBG_SLEEP <i> Debug Sleep Mode
|
||||
// <o.1> DBG_STOP <i> Debug Stop Mode
|
||||
// <o.2> DBG_STANDBY <i> Debug Standby Mode
|
||||
// </h>
|
||||
DbgMCU_CR = 0x00000007;
|
||||
|
||||
// <h> Debug MCU APB1 Freeze
|
||||
// <o.0> DBG_TIM2_STOP <i> Timer 2 Stopped when Core is halted
|
||||
// <o.1> DBG_TIM3_STOP <i> Timer 3 Stopped when Core is halted
|
||||
// <o.2> DBG_TIM4_STOP <i> Timer 4 Stopped when Core is halted
|
||||
// <o.3> DBG_TIM5_STOP <i> Timer 5 Stopped when Core is halted
|
||||
// <o.4> DBG_TIM6_STOP <i> Timer 6 Stopped when Core is halted
|
||||
// <o.5> DBG_TIM7_STOP <i> Timer 7 Stopped when Core is halted
|
||||
// <o.6> DBG_TIM12_STOP <i> Timer 12 Stopped when Core is halted
|
||||
// <o.7> DBG_TIM13_STOP <i> Timer 13 Stopped when Core is halted
|
||||
// <o.8> DBG_TIM14_STOP <i> Timer 14 Stopped when Core is halted
|
||||
// <o.10> DBG_RTC_STOP <i> RTC Stopped when Core is halted
|
||||
// <o.11> DBG_WWDG_STOP <i> Window Watchdog Stopped when Core is halted
|
||||
// <o.12> DBG_IWDG_STOP <i> Independent Watchdog Stopped when Core is halted
|
||||
// <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1 SMBUS Timeout Mode Stopped when Core is halted
|
||||
// <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2 SMBUS Timeout Mode Stopped when Core is halted
|
||||
// <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> I2C3 SMBUS Timeout Mode Stopped when Core is halted
|
||||
// <o.25> DBG_CAN1_STOP <i> CAN1 Stopped when Core is halted
|
||||
// <o.26> DBG_CAN2_STOP <i> CAN2 Stopped when Core is halted
|
||||
// </h>
|
||||
DbgMCU_APB1_Fz = 0x00000000;
|
||||
|
||||
|
||||
// <h> Debug MCU APB2 Freeze
|
||||
// <o.0> DBG_TIM1_STOP <i> Timer 1 Stopped when Core is halted
|
||||
// <o.1> DBG_TIM8_STOP <i> Timer 8 Stopped when Core is halted
|
||||
// <o.16> DBG_TIM9_STOP <i> Timer 9 Stopped when Core is halted
|
||||
// <o.17> DBG_TIM10_STOP <i> Timer 10 Stopped when Core is halted
|
||||
// <o.18> DBG_TIM11_STOP <i> Timer 11 Stopped when Core is halted
|
||||
// </h>
|
||||
DbgMCU_APB2_Fz = 0x00000000;
|
||||
|
||||
// <<< end of configuration section >>>
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
|
||||
|
||||
<component name="EventRecorderStub" version="1.0.0"/> <!--name and version of the component-->
|
||||
<events>
|
||||
</events>
|
||||
|
||||
</component_viewer>
|
||||
3601
USER/FATFS.uvguix.Qi
3601
USER/FATFS.uvguix.Qi
File diff suppressed because one or more lines are too long
@@ -26,7 +26,7 @@
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<TargetOption>
|
||||
<CLKADS>25000000</CLKADS>
|
||||
<CLKADS>12000000</CLKADS>
|
||||
<OPTTT>
|
||||
<gFlags>1</gFlags>
|
||||
<BeepAtEnd>1</BeepAtEnd>
|
||||
@@ -117,30 +117,10 @@
|
||||
<pMon>STLink\ST-LINKIII-KEIL_SWO.dll</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMRTXEVENTFLAGS</Key>
|
||||
<Name>-L70 -Z18 -C0 -M0 -T1</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGTARM</Key>
|
||||
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ARMDBGFLAGS</Key>
|
||||
<Name></Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>DLGUARM</Key>
|
||||
<Name>(105=-1,-1,-1,-1,0)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>ST-LINKIII-KEIL_SWO</Key>
|
||||
<Name>-U50FF6F067171535557260967 -O206 -S0 -C0 -A0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32F429IGTx$CMSIS\Flash\STM32F4xx_1024.FLM)</Name>
|
||||
<Name>-U580035000A0000395134534E -O206 -S0 -C0 -A0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024.FLM -FS08000000 -FL0100000 -FP0($$Device:STM32F429IGTx$CMSIS\Flash\STM32F4xx_1024.FLM)</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
@@ -149,54 +129,6 @@
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<WatchWindow2>
|
||||
<Ww>
|
||||
<count>0</count>
|
||||
<WinNumber>2</WinNumber>
|
||||
<ItemText>data</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>1</count>
|
||||
<WinNumber>2</WinNumber>
|
||||
<ItemText>fatbuf[i]</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>2</count>
|
||||
<WinNumber>2</WinNumber>
|
||||
<ItemText>isneg</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>3</count>
|
||||
<WinNumber>2</WinNumber>
|
||||
<ItemText>i</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>4</count>
|
||||
<WinNumber>2</WinNumber>
|
||||
<ItemText>totalPoints</ItemText>
|
||||
</Ww>
|
||||
<Ww>
|
||||
<count>5</count>
|
||||
<WinNumber>2</WinNumber>
|
||||
<ItemText>i</ItemText>
|
||||
</Ww>
|
||||
</WatchWindow2>
|
||||
<MemoryWindow1>
|
||||
<Mm>
|
||||
<WinNumber>1</WinNumber>
|
||||
<SubType>0</SubType>
|
||||
<ItemText>0x2002C818</ItemText>
|
||||
<AccSizeX>0</AccSizeX>
|
||||
</Mm>
|
||||
</MemoryWindow1>
|
||||
<MemoryWindow4>
|
||||
<Mm>
|
||||
<WinNumber>4</WinNumber>
|
||||
<SubType>0</SubType>
|
||||
<ItemText>0x2002C818</ItemText>
|
||||
<AccSizeX>0</AccSizeX>
|
||||
</Mm>
|
||||
</MemoryWindow4>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
</Tracepoint>
|
||||
@@ -208,7 +140,7 @@
|
||||
<aSer1>0</aSer1>
|
||||
<aSer2>0</aSer2>
|
||||
<aPa>0</aPa>
|
||||
<viewmode>1</viewmode>
|
||||
<viewmode>0</viewmode>
|
||||
<vrSel>0</vrSel>
|
||||
<aSym>0</aSym>
|
||||
<aTbox>0</aTbox>
|
||||
@@ -241,7 +173,7 @@
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
<DebugDescription>
|
||||
<Enable>1</Enable>
|
||||
<EnableFlashSeq>0</EnableFlashSeq>
|
||||
<EnableFlashSeq>1</EnableFlashSeq>
|
||||
<EnableLog>0</EnableLog>
|
||||
<Protocol>2</Protocol>
|
||||
<DbgClock>10000000</DbgClock>
|
||||
@@ -659,7 +591,7 @@
|
||||
|
||||
<Group>
|
||||
<GroupName>SYSTEM</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
@@ -703,7 +635,7 @@
|
||||
|
||||
<Group>
|
||||
<GroupName>HARDWARE</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
@@ -726,30 +658,6 @@
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\HARDWARE\KEY\key.c</PathWithFileName>
|
||||
<FilenameWithoutPath>key.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>38</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\HARDWARE\LCD\lcd.c</PathWithFileName>
|
||||
<FilenameWithoutPath>lcd.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>39</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\HARDWARE\SDRAM\sdram.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sdram.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
@@ -757,19 +665,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>40</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\HARDWARE\LCD\ltdc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ltdc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>41</FileNumber>
|
||||
<FileNumber>38</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@@ -781,7 +677,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>42</FileNumber>
|
||||
<FileNumber>39</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@@ -793,7 +689,7 @@
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>43</FileNumber>
|
||||
<FileNumber>40</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
@@ -803,58 +699,22 @@
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>44</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\HARDWARE\NAND\ftl.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ftl.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>45</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\HARDWARE\NAND\nand.c</PathWithFileName>
|
||||
<FilenameWithoutPath>nand.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>46</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\HARDWARE\NAND\nandtester.c</PathWithFileName>
|
||||
<FilenameWithoutPath>nandtester.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>MALLOC</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>47</FileNumber>
|
||||
<FileNumber>41</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\MALLOC\malloc.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\MALLOC\malloc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>malloc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
@@ -863,42 +723,42 @@
|
||||
|
||||
<Group>
|
||||
<GroupName>USMART</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>48</FileNumber>
|
||||
<FileNumber>42</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\USMART\usmart.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\USMART\usmart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usmart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>49</FileNumber>
|
||||
<FileNumber>43</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\USMART\usmart_config.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\USMART\usmart_config.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usmart_config.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>50</FileNumber>
|
||||
<FileNumber>44</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\USMART\usmart_str.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\USMART\usmart_str.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usmart_str.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
@@ -907,110 +767,98 @@
|
||||
|
||||
<Group>
|
||||
<GroupName>FATFS</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>51</FileNumber>
|
||||
<FileNumber>45</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\FATFS\src\ff.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\FATFS\src\ff.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ff.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>52</FileNumber>
|
||||
<FileNumber>46</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\FATFS\src\option\cc936.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\FATFS\src\option\cc936.c</PathWithFileName>
|
||||
<FilenameWithoutPath>cc936.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>53</FileNumber>
|
||||
<FileNumber>47</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\FATFS\src\diskio.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\FATFS\src\diskio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>diskio.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>54</FileNumber>
|
||||
<FileNumber>48</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\FATFS\exfuns\exfuns.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\FATFS\exfuns\exfuns.c</PathWithFileName>
|
||||
<FilenameWithoutPath>exfuns.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>55</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\FATFS\exfuns\fattester.c</PathWithFileName>
|
||||
<FilenameWithoutPath>fattester.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>MY</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<GroupName>CNN</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>56</FileNumber>
|
||||
<FileNumber>49</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\MY\my.c</PathWithFileName>
|
||||
<FilenameWithoutPath>my.c</FilenameWithoutPath>
|
||||
<PathWithFileName>..\PORTING\CNN\cnn_model.c</PathWithFileName>
|
||||
<FilenameWithoutPath>cnn_model.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>57</FileNumber>
|
||||
<FileNumber>50</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\MY\debug.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\CNN\debug.c</PathWithFileName>
|
||||
<FilenameWithoutPath>debug.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>9</GroupNumber>
|
||||
<FileNumber>58</FileNumber>
|
||||
<FileNumber>51</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\MY\cnn.c</PathWithFileName>
|
||||
<PathWithFileName>..\PORTING\CNN\cnn.c</PathWithFileName>
|
||||
<FilenameWithoutPath>cnn.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
|
||||
@@ -338,7 +338,7 @@
|
||||
<MiscControls></MiscControls>
|
||||
<Define>USE_HAL_DRIVER,STM32F429xx</Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath>..\CORE;..\OBJ;..\USER;..\HALLIB\STM32F4xx_HAL_Driver\Inc;..\SYSTEM\delay;..\SYSTEM\sys;..\SYSTEM\usart;..\HARDWARE\LED;..\HARDWARE\KEY;..\HARDWARE\LCD;..\HARDWARE\SDRAM;..\HARDWARE\KEY;..\HARDWARE\SDIO;..\HARDWARE\SPI;..\HARDWARE\W25QXX;..\HARDWARE\NAND;..\MALLOC;..\USMART;..\FATFS\exfuns;..\FATFS\src;..\MY</IncludePath>
|
||||
<IncludePath>..\CORE;..\OBJ;..\USER;..\HALLIB\STM32F4xx_HAL_Driver\Inc;..\SYSTEM\delay;..\SYSTEM\sys;..\SYSTEM\usart;..\HARDWARE\LED;..\HARDWARE\KEY;..\HARDWARE\LCD;..\HARDWARE\SDRAM;..\HARDWARE\KEY;..\HARDWARE\SDIO;..\HARDWARE\SPI;..\HARDWARE\W25QXX;..\HARDWARE\NAND;..\PORTING\MALLOC;..\PORTING\USMART;..\PORTING\FATFS\exfuns;..\PORTING\FATFS\src;..\PORTING\CNN</IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
<Aads>
|
||||
@@ -582,26 +582,11 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\LED\led.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>key.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\KEY\key.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>lcd.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\LCD\lcd.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>sdram.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\SDRAM\sdram.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>ltdc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\LCD\ltdc.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>sdio_sdcard.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
@@ -617,21 +602,6 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\W25QXX\w25qxx.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>ftl.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\NAND\ftl.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>nand.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\NAND\nand.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>nandtester.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\HARDWARE\NAND\nandtester.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
@@ -640,7 +610,7 @@
|
||||
<File>
|
||||
<FileName>malloc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\MALLOC\malloc.c</FilePath>
|
||||
<FilePath>..\PORTING\MALLOC\malloc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
@@ -650,17 +620,17 @@
|
||||
<File>
|
||||
<FileName>usmart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\USMART\usmart.c</FilePath>
|
||||
<FilePath>..\PORTING\USMART\usmart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usmart_config.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\USMART\usmart_config.c</FilePath>
|
||||
<FilePath>..\PORTING\USMART\usmart_config.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usmart_str.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\USMART\usmart_str.c</FilePath>
|
||||
<FilePath>..\PORTING\USMART\usmart_str.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
@@ -670,47 +640,42 @@
|
||||
<File>
|
||||
<FileName>ff.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\FATFS\src\ff.c</FilePath>
|
||||
<FilePath>..\PORTING\FATFS\src\ff.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>cc936.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\FATFS\src\option\cc936.c</FilePath>
|
||||
<FilePath>..\PORTING\FATFS\src\option\cc936.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>diskio.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\FATFS\src\diskio.c</FilePath>
|
||||
<FilePath>..\PORTING\FATFS\src\diskio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>exfuns.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\FATFS\exfuns\exfuns.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>fattester.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\FATFS\exfuns\fattester.c</FilePath>
|
||||
<FilePath>..\PORTING\FATFS\exfuns\exfuns.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>MY</GroupName>
|
||||
<GroupName>CNN</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>my.c</FileName>
|
||||
<FileName>cnn_model.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\MY\my.c</FilePath>
|
||||
<FilePath>..\PORTING\CNN\cnn_model.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>debug.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\MY\debug.c</FilePath>
|
||||
<FilePath>..\PORTING\CNN\debug.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>cnn.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\MY\cnn.c</FilePath>
|
||||
<FilePath>..\PORTING\CNN\cnn.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
[BREAKPOINTS]
|
||||
ForceImpTypeAny = 0
|
||||
ShowInfoWin = 1
|
||||
EnableFlashBP = 2
|
||||
BPDuringExecution = 0
|
||||
[CFI]
|
||||
CFISize = 0x00
|
||||
CFIAddr = 0x00
|
||||
[CPU]
|
||||
OverrideMemMap = 0
|
||||
AllowSimulation = 1
|
||||
ScriptFile=""
|
||||
[FLASH]
|
||||
CacheExcludeSize = 0x00
|
||||
CacheExcludeAddr = 0x00
|
||||
MinNumBytesFlashDL = 0
|
||||
SkipProgOnCRCMatch = 1
|
||||
VerifyDownload = 1
|
||||
AllowCaching = 1
|
||||
EnableFlashDL = 2
|
||||
Override = 1
|
||||
Device="Unspecified"
|
||||
[GENERAL]
|
||||
WorkRAMSize = 0x00
|
||||
WorkRAMAddr = 0x00
|
||||
RAMUsageLimit = 0x00
|
||||
[SWO]
|
||||
SWOLogFile=""
|
||||
[MEM]
|
||||
RdOverrideOrMask = 0x00
|
||||
RdOverrideAndMask = 0xFFFFFFFF
|
||||
RdOverrideAddr = 0xFFFFFFFF
|
||||
WrOverrideOrMask = 0x00
|
||||
WrOverrideAndMask = 0xFFFFFFFF
|
||||
WrOverrideAddr = 0xFFFFFFFF
|
||||
167
USER/main.c
167
USER/main.c
@@ -1,21 +1,99 @@
|
||||
#include "sys.h"
|
||||
#include "string.h"
|
||||
|
||||
#include "delay.h"
|
||||
#include "usart.h"
|
||||
#include "led.h"
|
||||
#include "string.h"
|
||||
|
||||
#include "w25qxx.h"
|
||||
#include "sdram.h"
|
||||
#include "malloc.h"
|
||||
#include "w25qxx.h"
|
||||
|
||||
#include "ff.h"
|
||||
#include "exfuns.h"
|
||||
#include "string.h"
|
||||
#include "usmart.h"
|
||||
#include "sdio_sdcard.h"
|
||||
#include "ftl.h"
|
||||
#include "my.h"
|
||||
|
||||
#include "usmart.h"
|
||||
|
||||
#include "cnn_model.h"
|
||||
#include "debug.h"
|
||||
#include "cnn.h"
|
||||
|
||||
|
||||
|
||||
void run_dataset(){
|
||||
char* modelusearr[] = {
|
||||
"C1autosave00095_right_new_2",
|
||||
"C1autosave00096_right_new_2",
|
||||
"C1autosave00097_right_new_2",
|
||||
"C1autosave00098_right_new_2",
|
||||
"C1autosave00099_right_new_2",
|
||||
"C1autosave00100_right_new_2",
|
||||
"C1autosave00101_right_new_2",
|
||||
"C1autosave00102_right_new_2",
|
||||
"C1autosave00103_right_new_2",
|
||||
"C1autosave00104_right_new_2",
|
||||
"C1autosave00105_right_new_2",
|
||||
"C1autosave00106_right_new_2",
|
||||
"C1autosave00107_right_new_2",
|
||||
"C1autosave00108_right_new_2",
|
||||
"C1autosave00109_right_new_2",
|
||||
"C1autosave00110_right_new_2",
|
||||
"C1autosave00111_right_new_2",
|
||||
"C1autosave00112_right_new_2",
|
||||
"C1autosave00113_right_new_2",
|
||||
"C1autosave00114_right_new_2",
|
||||
"C1autosave00115_right_new_2",
|
||||
"C1autosave00116_right_new_2",
|
||||
"C1autosave00117_right_new_2",
|
||||
"C1autosave00118_right_new_2",
|
||||
"C1autosave00119_right_new_2",
|
||||
"C1autosave00120_right_new_2",
|
||||
"C1autosave00121_right_new_2",
|
||||
"C1autosave00122_right_new_2",
|
||||
"C1autosave00123_right_new_2",
|
||||
"C1autosave00124_right_new_2",
|
||||
|
||||
"filtered_C1autosave00011_right_new",
|
||||
"filtered_C1autosave00015_right_new",
|
||||
"filtered_C1autosave00043_right_new",
|
||||
"filtered_C1autosave00067_right_new",
|
||||
"filtered_C1autosave00090_right_new",
|
||||
"filtered_C1autosave00106_right_new",
|
||||
"filtered_C1autosave00118_right_new",
|
||||
|
||||
"filtered_C1autosave00007_right_new",
|
||||
"filtered_C1autosave00035_right_new",
|
||||
"filtered_C1autosave00036_right_new",
|
||||
"filtered_C1autosave00040_right_new",
|
||||
"filtered_C1autosave00053_right_new",
|
||||
"filtered_C1autosave00061_right_new",
|
||||
"filtered_C1autosave00074_right_new",
|
||||
"filtered_C1autosave00077_right_new",
|
||||
"filtered_C1autosave00080_right_new",
|
||||
"filtered_C1autosave00085_right_new",
|
||||
"filtered_C1autosave00098_right_new",
|
||||
"filtered_C1autosave00100_right_new",
|
||||
"filtered_C1autosave00104_right_new",
|
||||
"filtered_C1autosave00122_right_new",
|
||||
"filtered_C1autosave00124_right_new",
|
||||
|
||||
"filtered_C1autosave00108_right_new",
|
||||
|
||||
"filtered_C1autosave00004_right_new",
|
||||
"filtered_C1autosave00039_right_new",
|
||||
"filtered_C1autosave00062_right_new",
|
||||
};
|
||||
for(int a=0;a<(sizeof(modelusearr) / sizeof(modelusearr[0]));a++){
|
||||
SDRAM_USED();
|
||||
model_switchdata(modelusearr[a]);
|
||||
cnn_run();
|
||||
}
|
||||
printf("\r\n运行完成\r\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
int main(void)
|
||||
{
|
||||
u32 total,free;
|
||||
@@ -27,12 +105,11 @@ int main(void)
|
||||
|
||||
SDRAM_Init();
|
||||
LED_Init();
|
||||
my_mem_init(SRAMIN);
|
||||
my_mem_init(SRAMEX);
|
||||
|
||||
model_init();
|
||||
TIM3_Init(5000-1,9000-1); //定时器3初始化,定时器时钟为90M,分频系数为9000-1
|
||||
//////////////////////////////调试工具usmart的初始化/////////////////////////////////
|
||||
TIM3_Init(5000-1,9000-1); //STM32状态灯所使用的定时器
|
||||
//////////////////////////////////////////////////调试工具usmart的初始化///////////////
|
||||
usmart_dev.init(90);
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
u8 _res_sd = SD_Init();
|
||||
@@ -42,7 +119,6 @@ int main(void)
|
||||
delay_ms(500);
|
||||
LED0=!LED0;
|
||||
}
|
||||
FTL_Init();
|
||||
exfuns_init(); //为fatfs相关变量申请内存
|
||||
f_mount(fs[0],"0:",1); //挂载SD卡
|
||||
fatbuf=(u8*)mymalloc(SRAMEX,512); //为fatbuf申请内存
|
||||
@@ -56,76 +132,7 @@ int main(void)
|
||||
|
||||
model_write("all");
|
||||
printf("初始化完成!\r\n");
|
||||
|
||||
// char* modelusearr[] = {
|
||||
// "C1autosave00095_right_new_2",
|
||||
// "C1autosave00096_right_new_2",
|
||||
// "C1autosave00097_right_new_2",
|
||||
// "C1autosave00098_right_new_2",
|
||||
// "C1autosave00099_right_new_2",
|
||||
// "C1autosave00100_right_new_2",
|
||||
// "C1autosave00101_right_new_2",
|
||||
// "C1autosave00102_right_new_2",
|
||||
// "C1autosave00103_right_new_2",
|
||||
// "C1autosave00104_right_new_2",
|
||||
// "C1autosave00105_right_new_2",
|
||||
// "C1autosave00106_right_new_2",
|
||||
// "C1autosave00107_right_new_2",
|
||||
// "C1autosave00108_right_new_2",
|
||||
// "C1autosave00109_right_new_2",
|
||||
// "C1autosave00110_right_new_2",
|
||||
// "C1autosave00111_right_new_2",
|
||||
// "C1autosave00112_right_new_2",
|
||||
// "C1autosave00113_right_new_2",
|
||||
// "C1autosave00114_right_new_2",
|
||||
// "C1autosave00115_right_new_2",
|
||||
// "C1autosave00116_right_new_2",
|
||||
// "C1autosave00117_right_new_2",
|
||||
// "C1autosave00118_right_new_2",
|
||||
// "C1autosave00119_right_new_2",
|
||||
// "C1autosave00120_right_new_2",
|
||||
// "C1autosave00121_right_new_2",
|
||||
// "C1autosave00122_right_new_2",
|
||||
// "C1autosave00123_right_new_2",
|
||||
// "C1autosave00124_right_new_2",
|
||||
|
||||
// "filtered_C1autosave00011_right_new",
|
||||
// "filtered_C1autosave00015_right_new",
|
||||
// "filtered_C1autosave00043_right_new",
|
||||
// "filtered_C1autosave00067_right_new",
|
||||
// "filtered_C1autosave00090_right_new",
|
||||
// "filtered_C1autosave00106_right_new",
|
||||
// "filtered_C1autosave00118_right_new",
|
||||
|
||||
// "filtered_C1autosave00007_right_new",
|
||||
// "filtered_C1autosave00035_right_new",
|
||||
// "filtered_C1autosave00036_right_new",
|
||||
// "filtered_C1autosave00040_right_new",
|
||||
// "filtered_C1autosave00053_right_new",
|
||||
// "filtered_C1autosave00061_right_new",
|
||||
// "filtered_C1autosave00074_right_new",
|
||||
// "filtered_C1autosave00077_right_new",
|
||||
// "filtered_C1autosave00080_right_new",
|
||||
// "filtered_C1autosave00085_right_new",
|
||||
// "filtered_C1autosave00098_right_new",
|
||||
// "filtered_C1autosave00100_right_new",
|
||||
// "filtered_C1autosave00104_right_new",
|
||||
// "filtered_C1autosave00122_right_new",
|
||||
// "filtered_C1autosave00124_right_new",
|
||||
|
||||
// "filtered_C1autosave00108_right_new",
|
||||
|
||||
// "filtered_C1autosave00004_right_new",
|
||||
// "filtered_C1autosave00039_right_new",
|
||||
// "filtered_C1autosave00062_right_new",
|
||||
// };
|
||||
// for(int a=0;a<(sizeof(modelusearr) / sizeof(modelusearr[0]));a++){
|
||||
// SDRAM_USED();
|
||||
// model_switchdata(modelusearr[a]);
|
||||
// cnn_run();
|
||||
// }
|
||||
// printf("\r\n运行完成\r\n");
|
||||
|
||||
//run_dataset();
|
||||
while(1){
|
||||
if(isrun)cnn_run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user