[bsp/at32] 1、调整文件结构,合并各系列独立的rt-drivers,以便维护。 2、更新各系列library和工程相关内容

This commit is contained in:
sheltonyu 2022-05-19 11:07:28 +08:00 committed by guo
parent 53be4393aa
commit d466bd0540
497 changed files with 2641 additions and 20939 deletions

View File

@ -126,6 +126,14 @@ CONFIG_FINSH_ARG_MAX=10
# Device virtual file system
#
# CONFIG_RT_USING_DFS is not set
# CONFIG_RT_DFS_ELM_USE_LFN_0 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_1 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_2 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_3 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_0 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_1 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_2 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_3 is not set
#
# Device Drivers
@ -416,10 +424,12 @@ CONFIG_BSP_USING_SERIAL=y
CONFIG_BSP_USING_GPIO=y
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
# CONFIG_BSP_USING_RTC is not set
# CONFIG_BSP_RTC_USING_LEXT is not set
# CONFIG_BSP_RTC_USING_LICK is not set
CONFIG_BSP_USING_UART=y
CONFIG_BSP_USING_UART1=y
CONFIG_BSP_USING_UART2=y
CONFIG_BSP_USING_UART3=y
# CONFIG_BSP_USING_UART2 is not set
# CONFIG_BSP_USING_UART3 is not set
# CONFIG_BSP_USING_PWM is not set
# CONFIG_BSP_USING_HWTIMER is not set
# CONFIG_BSP_USING_SPI is not set

View File

@ -46,11 +46,14 @@ Export('SDK_LIB')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
at32_library = 'f403a_407'
at32_library = 'AT32F403A_407_Firmware_Library'
rtconfig.BSP_LIBRARY_TYPE = at32_library
# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, at32_library, 'SConscript')))
# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)

View File

@ -5,12 +5,12 @@
*
* Change Logs:
* Date Author Notes
* 2022-03-08 shelton first version
* 2022-05-16 shelton first version
*/
#include <rtthread.h>
#include <rtdevice.h>
#include "board.h"
#include "drv_common.h"
#include "drv_gpio.h"
/* defined the led2 pin: pd13 */

View File

@ -18,11 +18,11 @@ path += [cwd + '/inc']
startup_path_prefix = SDK_LIB
if rtconfig.PLATFORM == 'gcc':
src += [startup_path_prefix + '/f403a_407/firmware/cmsis/cm4/device_support/startup/gcc/startup_at32f403a_407.s']
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/gcc/startup_at32f403a_407.s']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/f403a_407/firmware/cmsis/cm4/device_support/startup/mdk/startup_at32f403a_407.s']
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f403a_407.s']
elif rtconfig.CROSS_TOOL == 'iar':
src += [startup_path_prefix + '/f403a_407/firmware/cmsis/cm4/device_support/startup/iar/startup_at32f403a_407.s']
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f403a_407.s']
CPPDEFINES = ['AT32F403AVGT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

View File

@ -348,23 +348,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -1388,23 +1388,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -2094,17 +2094,14 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
@ -2112,26 +2109,29 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
</group>
<group>
<name>CPU</name>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
@ -2143,10 +2143,13 @@
<group>
<name>DeviceDrivers</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\pipe.c</name>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c</name>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringbuffer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\pipe.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c</name>
@ -2158,10 +2161,7 @@
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringbuffer.c</name>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c</name>
@ -2172,9 +2172,6 @@
</group>
<group>
<name>Drivers</name>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</name>
</file>
<file>
<name>$PROJ_DIR$\board\src\at32_msp.c</name>
</file>
@ -2182,13 +2179,16 @@
<name>$PROJ_DIR$\board\src\board.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers\drv_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers\drv_usart.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers\drv_common.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c</name>
</file>
</group>
<group>
@ -2206,7 +2206,7 @@
<group>
<name>Kernel</name>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
@ -2217,6 +2217,9 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
@ -2227,7 +2230,7 @@
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\memheap.c</name>
@ -2235,98 +2238,95 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\clock.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_exint.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_emac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_rtc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_spi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_bpr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_sdio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usart.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support\system_at32f403a_407.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_flash.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_pwc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_acc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_can.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crm.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wwdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_debug.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usb.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_adc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_i2c.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_misc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_tmr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_xmc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c</name>
</file>
</group>
<group>

View File

@ -359,7 +359,7 @@
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, __RTTHREAD__, AT32F403AVGT7, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f403a_407\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f403a_407\firmware\cmsis\cm4\device_support;..\libraries\f403a_407\firmware\cmsis\cm4\core_support;..\libraries\f403a_407\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -442,6 +442,13 @@
</Group>
<Group>
<GroupName>CPU</GroupName>
<Files>
<File>
<FileName>showmem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\showmem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>div0.c</FileName>
@ -458,9 +465,9 @@
</Files>
<Files>
<File>
<FileName>showmem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\showmem.c</FilePath>
<FileName>context_rvds.S</FileName>
<FileType>2</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath>
</File>
</Files>
<Files>
@ -470,13 +477,6 @@
<FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
<FileType>2</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
@ -489,9 +489,16 @@
</Files>
<Files>
<File>
<FileName>dataqueue.c</FileName>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
@ -510,16 +517,9 @@
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileName>dataqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
</File>
</Files>
<Files>
@ -546,13 +546,6 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
@ -567,25 +560,32 @@
<FilePath>board\src\board.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -615,6 +615,20 @@
</Group>
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
@ -645,9 +659,9 @@
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
@ -666,16 +680,16 @@
</Files>
<Files>
<File>
<FileName>kservice.c</FileName>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\kservice.c</FilePath>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileName>kservice.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
</Files>
<Files>
@ -685,6 +699,13 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
@ -692,27 +713,6 @@
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -720,182 +720,182 @@
<File>
<FileName>at32f403a_407_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_exint.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_emac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_rtc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_rtc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_spi.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_bpr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_bpr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_gpio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_sdio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usart.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f403a_407.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_flash.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dma.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_pwc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_acc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_can.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crm.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_debug.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usb.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_adc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_i2c.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_misc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_tmr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_xmc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c</FilePath>
</File>
</Files>
</Group>

View File

@ -335,7 +335,7 @@
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, __RTTHREAD__, AT32F403AVGT7, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f403a_407\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f403a_407\firmware\cmsis\cm4\device_support;..\libraries\f403a_407\firmware\cmsis\cm4\core_support;..\libraries\f403a_407\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -404,16 +404,16 @@
</Files>
<Files>
<File>
<FileName>stdlib.c</FileName>
<FileName>time.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\common\stdlib.c</FilePath>
<FilePath>..\..\..\components\libc\compilers\common\time.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>time.c</FileName>
<FileName>stdlib.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\common\time.c</FilePath>
<FilePath>..\..\..\components\libc\compilers\common\stdlib.c</FilePath>
</File>
</Files>
</Group>
@ -457,27 +457,6 @@
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
@ -506,6 +485,27 @@
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -523,13 +523,6 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
@ -544,25 +537,32 @@
<FilePath>board\src\board.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -594,9 +594,9 @@
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>thread.c</FileName>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
@ -620,6 +620,13 @@
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
@ -643,9 +650,9 @@
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
@ -664,16 +671,16 @@
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileName>kservice.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>kservice.c</FileName>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\kservice.c</FilePath>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
@ -683,13 +690,6 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -697,182 +697,182 @@
<File>
<FileName>at32f403a_407_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_exint.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_emac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_rtc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_rtc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_spi.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_bpr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_bpr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_gpio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_sdio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usart.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f403a_407.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_flash.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dma.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_pwc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_acc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_can.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crm.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_debug.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usb.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_adc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_i2c.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_misc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_tmr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_xmc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c</FilePath>
</File>
</Files>
</Group>

View File

@ -174,7 +174,5 @@
#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART1
#define BSP_USING_UART2
#define BSP_USING_UART3
#endif

View File

@ -126,14 +126,6 @@ CONFIG_FINSH_ARG_MAX=10
# Device virtual file system
#
# CONFIG_RT_USING_DFS is not set
# CONFIG_RT_DFS_ELM_USE_LFN_0 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_1 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_2 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_3 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_0 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_1 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_2 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_3 is not set
#
# Device Drivers
@ -208,9 +200,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_SAL is not set
# CONFIG_RT_USING_NETDEV is not set
# CONFIG_RT_USING_LWIP is not set
# CONFIG_RT_USING_LWIP141 is not set
# CONFIG_RT_USING_LWIP203 is not set
# CONFIG_RT_USING_LWIP212 is not set
# CONFIG_RT_USING_AT is not set
#
@ -427,15 +416,11 @@ CONFIG_BSP_USING_SERIAL=y
CONFIG_BSP_USING_GPIO=y
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
# CONFIG_BSP_USING_EMAC is not set
# CONFIG_PHY_USING_DM9162 is not set
# CONFIG_PHY_USING_DP83848 is not set
# CONFIG_BSP_USING_RTC is not set
# CONFIG_BSP_RTC_USING_LEXT is not set
# CONFIG_BSP_RTC_USING_LICK is not set
CONFIG_BSP_USING_UART=y
CONFIG_BSP_USING_UART1=y
CONFIG_BSP_USING_UART2=y
CONFIG_BSP_USING_UART3=y
# CONFIG_BSP_USING_UART2 is not set
# CONFIG_BSP_USING_UART3 is not set
# CONFIG_BSP_USING_PWM is not set
# CONFIG_BSP_USING_HWTIMER is not set
# CONFIG_BSP_USING_SPI is not set

View File

@ -46,11 +46,14 @@ Export('SDK_LIB')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
at32_library = 'f403a_407'
at32_library = 'AT32F403A_407_Firmware_Library'
rtconfig.BSP_LIBRARY_TYPE = at32_library
# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, at32_library, 'SConscript')))
# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)

View File

@ -5,12 +5,12 @@
*
* Change Logs:
* Date Author Notes
* 2022-03-08 shelton first version
* 2022-05-16 shelton first version
*/
#include <rtthread.h>
#include <rtdevice.h>
#include "board.h"
#include "drv_common.h"
#include "drv_gpio.h"
/* defined the led2 pin: pd13 */

View File

@ -18,11 +18,11 @@ path += [cwd + '/inc']
startup_path_prefix = SDK_LIB
if rtconfig.PLATFORM == 'gcc':
src += [startup_path_prefix + '/f403a_407/firmware/cmsis/cm4/device_support/startup/gcc/startup_at32f403a_407.s']
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/gcc/startup_at32f403a_407.s']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/f403a_407/firmware/cmsis/cm4/device_support/startup/mdk/startup_at32f403a_407.s']
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f403a_407.s']
elif rtconfig.CROSS_TOOL == 'iar':
src += [startup_path_prefix + '/f403a_407/firmware/cmsis/cm4/device_support/startup/iar/startup_at32f403a_407.s']
src += [startup_path_prefix + '/AT32F403A_407_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f403a_407.s']
CPPDEFINES = ['AT32F407VGT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

View File

@ -348,23 +348,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -1388,23 +1388,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -2088,23 +2088,11 @@
</group>
<group>
<name>Compiler</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
@ -2113,26 +2101,38 @@
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
</group>
<group>
<name>CPU</name>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
</file>
@ -2142,12 +2142,6 @@
</group>
<group>
<name>DeviceDrivers</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c</name>
</file>
@ -2163,6 +2157,12 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c</name>
</file>
@ -2172,9 +2172,6 @@
</group>
<group>
<name>Drivers</name>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</name>
</file>
<file>
<name>$PROJ_DIR$\board\src\at32_msp.c</name>
</file>
@ -2182,13 +2179,16 @@
<name>$PROJ_DIR$\board\src\board.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers\drv_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers\drv_usart.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\rt_drivers\drv_common.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c</name>
</file>
</group>
<group>
@ -2205,6 +2205,24 @@
</group>
<group>
<name>Kernel</name>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
@ -2220,113 +2238,95 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_exint.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_emac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_rtc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_spi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_bpr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_sdio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usart.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\cmsis\cm4\device_support\system_at32f403a_407.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_flash.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_pwc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_acc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_can.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crm.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wwdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_debug.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usb.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_adc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_i2c.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_misc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_tmr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_xmc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c</name>
</file>
</group>
<group>

View File

@ -359,7 +359,7 @@
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, AT32F407VGT7, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f403a_407\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f403a_407\firmware\cmsis\cm4\device_support;..\libraries\f403a_407\firmware\cmsis\cm4\core_support;..\libraries\f403a_407\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -442,13 +442,6 @@
</Group>
<Group>
<GroupName>CPU</GroupName>
<Files>
<File>
<FileName>backtrace.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>showmem.c</FileName>
@ -463,6 +456,13 @@
<FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>backtrace.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
@ -480,6 +480,27 @@
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
@ -508,27 +529,6 @@
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -546,13 +546,6 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
@ -567,25 +560,32 @@
<FilePath>board\src\board.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -615,20 +615,6 @@
</Group>
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
@ -636,6 +622,13 @@
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
@ -643,13 +636,6 @@
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
@ -657,13 +643,6 @@
<FilePath>..\..\..\src\irq.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
@ -680,9 +659,9 @@
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
@ -706,6 +685,13 @@
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ipc.c</FileName>
@ -713,6 +699,20 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -720,182 +720,182 @@
<File>
<FileName>at32f403a_407_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_exint.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_emac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_rtc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_rtc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_spi.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_bpr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_bpr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_gpio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_sdio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usart.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f403a_407.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_flash.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dma.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_pwc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_acc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_can.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crm.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_debug.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usb.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_adc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_i2c.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_misc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_tmr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_xmc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c</FilePath>
</File>
</Files>
</Group>

View File

@ -335,7 +335,7 @@
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, AT32F407VGT7, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f403a_407\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f403a_407\firmware\cmsis\cm4\device_support;..\libraries\f403a_407\firmware\cmsis\cm4\core_support;..\libraries\f403a_407\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F403A_407_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -388,13 +388,6 @@
</Group>
<Group>
<GroupName>Compiler</GroupName>
<Files>
<File>
<FileName>syscalls.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>syscall_mem.c</FileName>
@ -404,9 +397,9 @@
</Files>
<Files>
<File>
<FileName>stdlib.c</FileName>
<FileName>syscalls.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\common\stdlib.c</FilePath>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath>
</File>
</Files>
<Files>
@ -416,6 +409,13 @@
<FilePath>..\..\..\components\libc\compilers\common\time.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>stdlib.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\common\stdlib.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>CPU</GroupName>
@ -442,16 +442,16 @@
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
<FileType>2</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath>
<FileName>cpuport.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>cpuport.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath>
<FileName>context_rvds.S</FileName>
<FileType>2</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath>
</File>
</Files>
</Group>
@ -459,23 +459,9 @@
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileName>waitqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>workqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
</File>
</Files>
<Files>
@ -494,9 +480,9 @@
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
<FileName>workqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
@ -506,6 +492,20 @@
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -523,13 +523,6 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
@ -544,25 +537,32 @@
<FilePath>board\src\board.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>startup_at32f403a_407.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f403a_407.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -592,6 +592,41 @@
</Group>
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
@ -608,16 +643,16 @@
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
@ -634,13 +669,6 @@
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>kservice.c</FileName>
@ -650,9 +678,9 @@
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
@ -662,34 +690,6 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -697,182 +697,182 @@
<File>
<FileName>at32f403a_407_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_exint.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_emac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_rtc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_rtc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_rtc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_spi.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dac.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_bpr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_bpr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_bpr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_gpio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_sdio.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usart.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f403a_407.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\cmsis\cm4\device_support\system_at32f403a_407.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_flash.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_dma.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_pwc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_acc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_can.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crm.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_crc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_debug.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_usb.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_adc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_i2c.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_misc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_tmr.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f403a_407_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f403a_407\firmware\drivers\src\at32f403a_407_xmc.c</FilePath>
<FilePath>..\libraries\AT32F403A_407_Firmware_Library\drivers\src\at32f403a_407_xmc.c</FilePath>
</File>
</Files>
</Group>

View File

@ -174,7 +174,5 @@
#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART1
#define BSP_USING_UART2
#define BSP_USING_UART3
#endif

View File

@ -416,6 +416,8 @@ CONFIG_BSP_USING_SERIAL=y
CONFIG_BSP_USING_GPIO=y
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
# CONFIG_BSP_USING_RTC is not set
# CONFIG_BSP_RTC_USING_LEXT is not set
# CONFIG_BSP_RTC_USING_LICK is not set
CONFIG_BSP_USING_UART=y
CONFIG_BSP_USING_UART1=y
# CONFIG_BSP_USING_UART2 is not set

View File

@ -46,11 +46,14 @@ Export('SDK_LIB')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
at32_library = 'f413'
at32_library = 'AT32F413_Firmware_Library'
rtconfig.BSP_LIBRARY_TYPE = at32_library
# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, at32_library, 'SConscript')))
# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)

View File

@ -5,12 +5,12 @@
*
* Change Logs:
* Date Author Notes
* 2022-05-10 shelton first version
* 2022-05-16 shelton first version
*/
#include <rtthread.h>
#include <rtdevice.h>
#include "board.h"
#include "drv_common.h"
#include "drv_gpio.h"
/* defined the led2 pin: pc2 */

View File

@ -18,11 +18,11 @@ path += [cwd + '/inc']
startup_path_prefix = SDK_LIB
if rtconfig.CROSS_TOOL == 'gcc':
src += [startup_path_prefix + '/f413/firmware/cmsis/cm4/device_support/startup/gcc/startup_at32f413.s']
src += [startup_path_prefix + '/AT32F413_Firmware_Library/cmsis/cm4/device_support/startup/gcc/startup_at32f413.s']
elif rtconfig.CROSS_TOOL == 'keil':
src += [startup_path_prefix + '/f413/firmware/cmsis/cm4/device_support/startup/mdk/startup_at32f413.s']
src += [startup_path_prefix + '/AT32F413_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f413.s']
elif rtconfig.CROSS_TOOL == 'iar':
src += [startup_path_prefix + '/f413/firmware/cmsis/cm4/device_support/startup/iar/startup_at32f413.s']
src += [startup_path_prefix + '/AT32F413_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f413.s']
CPPDEFINES = ['AT32F413RCT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

View File

@ -348,23 +348,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f413\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\libraries\f413\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f413\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\f413\rt_drivers</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -1388,23 +1388,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f413\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\libraries\f413\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f413\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\f413\rt_drivers</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -2094,6 +2094,12 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
@ -2115,24 +2121,18 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
</group>
<group>
<name>CPU</name>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
</file>
@ -2142,11 +2142,14 @@
</group>
<group>
<name>DeviceDrivers</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c</name>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringbuffer.c</name>
@ -2154,15 +2157,12 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\pipe.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c</name>
</file>
@ -2172,6 +2172,9 @@
</group>
<group>
<name>Drivers</name>
<file>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f413.s</name>
</file>
<file>
<name>$PROJ_DIR$\board\src\at32_msp.c</name>
</file>
@ -2179,16 +2182,13 @@
<name>$PROJ_DIR$\board\src\board.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\cmsis\cm4\device_support\startup\iar\startup_at32f413.s</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\rt_drivers\drv_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\rt_drivers\drv_common.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c</name>
</file>
</group>
<group>
@ -2205,119 +2205,119 @@
</group>
<group>
<name>Kernel</name>
<file>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\memheap.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\clock.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_wdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_usart.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_spi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_spi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_rtc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_rtc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_wwdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wwdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_tmr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_tmr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_pwc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_pwc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_acc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_acc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_debug.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_debug.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_adc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_adc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_i2c.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_i2c.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_sdio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_bpr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_bpr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_crc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_dma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_dma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_crm.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crm.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_misc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_exint.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_exint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_flash.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_flash.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_usb.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usb.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\cmsis\cm4\device_support\system_at32f413.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\system_at32f413.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f413\firmware\drivers\src\at32f413_can.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_can.c</name>
</file>
</group>
<group>

View File

@ -359,7 +359,7 @@
<MiscControls />
<Define>AT32F413RCT7, USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f413\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f413\firmware\cmsis\cm4\device_support;..\libraries\f413\firmware\cmsis\cm4\core_support;..\libraries\f413\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F413_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -413,16 +413,16 @@
<GroupName>Compiler</GroupName>
<Files>
<File>
<FileName>syscalls.c</FileName>
<FileName>syscall_mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscall_mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>syscall_mem.c</FileName>
<FileName>syscalls.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscall_mem.c</FilePath>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath>
</File>
</Files>
<Files>
@ -442,13 +442,6 @@
</Group>
<Group>
<GroupName>CPU</GroupName>
<Files>
<File>
<FileName>backtrace.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>showmem.c</FileName>
@ -463,6 +456,13 @@
<FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>backtrace.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
@ -480,6 +480,27 @@
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringblk_buf.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringblk_buf.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>dataqueue.c</FileName>
@ -508,27 +529,6 @@
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringblk_buf.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringblk_buf.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -546,13 +546,6 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f413.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f413\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f413.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
@ -567,25 +560,32 @@
<FilePath>board\src\board.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>startup_at32f413.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f413.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -615,6 +615,13 @@
</Group>
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>kservice.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
@ -631,30 +638,9 @@
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>memheap.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\memheap.c</FilePath>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
@ -666,9 +652,16 @@
</Files>
<Files>
<File>
<FileName>kservice.c</FileName>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\kservice.c</FilePath>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
@ -678,6 +671,13 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>memheap.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
@ -701,16 +701,16 @@
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
</Group>
@ -720,161 +720,161 @@
<File>
<FileName>at32f413_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_gpio.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_wdt.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_usart.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_spi.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_rtc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_rtc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_rtc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_tmr.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_pwc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_acc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_debug.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_adc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_i2c.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_sdio.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_bpr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_bpr.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_bpr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_crc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_dma.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_crm.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_misc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_exint.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_flash.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_usb.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f413.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\cmsis\cm4\device_support\system_at32f413.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\system_at32f413.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_can.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_can.c</FilePath>
</File>
</Files>
</Group>

View File

@ -335,7 +335,7 @@
<MiscControls />
<Define>AT32F413RCT7, USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f413\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f413\firmware\cmsis\cm4\device_support;..\libraries\f413\firmware\cmsis\cm4\core_support;..\libraries\f413\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F413_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F413_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -440,13 +440,6 @@
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>cpuport.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
@ -454,9 +447,23 @@
<FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>cpuport.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
@ -499,13 +506,6 @@
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -523,13 +523,6 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f413.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f413\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f413.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
@ -544,25 +537,32 @@
<FilePath>board\src\board.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>startup_at32f413.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f413.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -594,16 +594,16 @@
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>mem.c</FileName>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
@ -615,16 +615,16 @@
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\idle.c</FilePath>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileName>idle.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
@ -636,9 +636,9 @@
</Files>
<Files>
<File>
<FileName>clock.c</FileName>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\clock.c</FilePath>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
@ -650,9 +650,16 @@
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileName>clock.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
@ -662,13 +669,6 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
@ -678,16 +678,16 @@
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
</Group>
@ -697,161 +697,161 @@
<File>
<FileName>at32f413_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_gpio.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_wdt.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_usart.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_spi.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_rtc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_rtc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_rtc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_tmr.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_pwc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_acc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_debug.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_adc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_i2c.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_sdio.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_bpr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_bpr.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_bpr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_crc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_dma.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_crm.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_misc.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_exint.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_flash.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_usb.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f413.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\cmsis\cm4\device_support\system_at32f413.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\cmsis\cm4\device_support\system_at32f413.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f413_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f413\firmware\drivers\src\at32f413_can.c</FilePath>
<FilePath>..\libraries\AT32F413_Firmware_Library\drivers\src\at32f413_can.c</FilePath>
</File>
</Files>
</Group>

View File

@ -126,14 +126,6 @@ CONFIG_FINSH_ARG_MAX=10
# Device virtual file system
#
# CONFIG_RT_USING_DFS is not set
# CONFIG_RT_DFS_ELM_USE_LFN_0 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_1 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_2 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_3 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_0 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_1 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_2 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_3 is not set
#
# Device Drivers
@ -424,6 +416,8 @@ CONFIG_BSP_USING_SERIAL=y
CONFIG_BSP_USING_GPIO=y
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
# CONFIG_BSP_USING_RTC is not set
# CONFIG_BSP_RTC_USING_LEXT is not set
# CONFIG_BSP_RTC_USING_LICK is not set
CONFIG_BSP_USING_UART=y
CONFIG_BSP_USING_UART1=y
# CONFIG_BSP_USING_UART2 is not set

View File

@ -46,11 +46,14 @@ Export('SDK_LIB')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
at32_library = 'f415'
at32_library = 'AT32F415_Firmware_Library'
rtconfig.BSP_LIBRARY_TYPE = at32_library
# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, at32_library, 'SConscript')))
# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)

View File

@ -5,12 +5,12 @@
*
* Change Logs:
* Date Author Notes
* 2022-05-11 shelton first version
* 2022-05-16 shelton first version
*/
#include <rtthread.h>
#include <rtdevice.h>
#include "board.h"
#include "drv_common.h"
#include "drv_gpio.h"
/* defined the led2 pin: pc2 */

View File

@ -18,11 +18,11 @@ path += [cwd + '/inc']
startup_path_prefix = SDK_LIB
if rtconfig.CROSS_TOOL == 'gcc':
src += [startup_path_prefix + '/f415/firmware/cmsis/cm4/device_support/startup/gcc/startup_at32f415.s']
src += [startup_path_prefix + '/AT32F415_Firmware_Library/cmsis/cm4/device_support/startup/gcc/startup_at32f415.s']
elif rtconfig.CROSS_TOOL == 'keil':
src += [startup_path_prefix + '/f415/firmware/cmsis/cm4/device_support/startup/mdk/startup_at32f415.s']
src += [startup_path_prefix + '/AT32F415_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f415.s']
elif rtconfig.CROSS_TOOL == 'iar':
src += [startup_path_prefix + '/f415/firmware/cmsis/cm4/device_support/startup/iar/startup_at32f415.s']
src += [startup_path_prefix + '/AT32F415_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f415.s']
CPPDEFINES = ['AT32F415RCT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

View File

@ -348,23 +348,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\libraries\f415\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\f415\rt_drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f415\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\f415\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -1388,23 +1388,23 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\libraries\f415\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\f415\rt_drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\f415\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\libraries\f415\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\board</state>
</option>
<option>
@ -2088,18 +2088,27 @@
</group>
<group>
<name>Compiler</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
@ -2112,15 +2121,6 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
</file>
</group>
<group>
<name>CPU</name>
@ -2128,10 +2128,10 @@
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
@ -2172,6 +2172,9 @@
</group>
<group>
<name>Drivers</name>
<file>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f415.s</name>
</file>
<file>
<name>$PROJ_DIR$\board\src\at32_msp.c</name>
</file>
@ -2179,16 +2182,13 @@
<name>$PROJ_DIR$\board\src\board.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\cmsis\cm4\device_support\startup\iar\startup_at32f415.s</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\rt_drivers\drv_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\rt_drivers\drv_common.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c</name>
</file>
</group>
<group>
@ -2206,17 +2206,11 @@
<group>
<name>Kernel</name>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
@ -2232,9 +2226,6 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
@ -2247,74 +2238,83 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_wdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_exint.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_exint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_dma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_dma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_sdio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_adc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_adc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_debug.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_debug.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_tmr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_tmr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_ertc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_ertc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_wwdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wwdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_misc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_crm.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crm.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_crc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_usb.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usb.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_flash.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_flash.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\cmsis\cm4\device_support\system_at32f415.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\system_at32f415.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_usart.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_can.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_can.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_spi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_spi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_cmp.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_cmp.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_pwc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_pwc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f415\firmware\drivers\src\at32f415_i2c.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_i2c.c</name>
</file>
</group>
<group>

View File

@ -175,835 +175,11 @@
</Target>
<Group>
<GroupName>Applications</GroupName>
<GroupName>Source Group 1</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>1</GroupNumber>
<FileNumber>1</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>applications\main.c</PathWithFileName>
<FilenameWithoutPath>main.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>Compiler</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>2</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\libc\compilers\armlibc\syscall_mem.c</PathWithFileName>
<FilenameWithoutPath>syscall_mem.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>3</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\libc\compilers\armlibc\syscalls.c</PathWithFileName>
<FilenameWithoutPath>syscalls.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>4</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\libc\compilers\common\stdlib.c</PathWithFileName>
<FilenameWithoutPath>stdlib.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>5</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\libc\compilers\common\time.c</PathWithFileName>
<FilenameWithoutPath>time.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>CPU</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>3</GroupNumber>
<FileNumber>6</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\libcpu\arm\common\backtrace.c</PathWithFileName>
<FilenameWithoutPath>backtrace.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>3</GroupNumber>
<FileNumber>7</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\libcpu\arm\common\showmem.c</PathWithFileName>
<FilenameWithoutPath>showmem.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>3</GroupNumber>
<FileNumber>8</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\libcpu\arm\common\div0.c</PathWithFileName>
<FilenameWithoutPath>div0.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>3</GroupNumber>
<FileNumber>9</FileNumber>
<FileType>2</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</PathWithFileName>
<FilenameWithoutPath>context_rvds.S</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>3</GroupNumber>
<FileNumber>10</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\libcpu\arm\cortex-m4\cpuport.c</PathWithFileName>
<FilenameWithoutPath>cpuport.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>11</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\ipc\waitqueue.c</PathWithFileName>
<FilenameWithoutPath>waitqueue.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>12</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\ipc\ringblk_buf.c</PathWithFileName>
<FilenameWithoutPath>ringblk_buf.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>13</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\ipc\dataqueue.c</PathWithFileName>
<FilenameWithoutPath>dataqueue.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>14</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\ipc\workqueue.c</PathWithFileName>
<FilenameWithoutPath>workqueue.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>15</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\ipc\ringbuffer.c</PathWithFileName>
<FilenameWithoutPath>ringbuffer.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>16</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\ipc\pipe.c</PathWithFileName>
<FilenameWithoutPath>pipe.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>17</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\ipc\completion.c</PathWithFileName>
<FilenameWithoutPath>completion.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>18</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\misc\pin.c</PathWithFileName>
<FilenameWithoutPath>pin.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>4</GroupNumber>
<FileNumber>19</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\drivers\serial\serial.c</PathWithFileName>
<FilenameWithoutPath>serial.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>Drivers</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>20</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>board\src\at32_msp.c</PathWithFileName>
<FilenameWithoutPath>at32_msp.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>21</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>board\src\board.c</PathWithFileName>
<FilenameWithoutPath>board.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>22</FileNumber>
<FileType>2</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f415.s</PathWithFileName>
<FilenameWithoutPath>startup_at32f415.s</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>23</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\rt_drivers\drv_gpio.c</PathWithFileName>
<FilenameWithoutPath>drv_gpio.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>24</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\rt_drivers\drv_usart.c</PathWithFileName>
<FilenameWithoutPath>drv_usart.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>5</GroupNumber>
<FileNumber>25</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\rt_drivers\drv_common.c</PathWithFileName>
<FilenameWithoutPath>drv_common.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>Finsh</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>26</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\finsh\shell.c</PathWithFileName>
<FilenameWithoutPath>shell.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>27</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\finsh\msh.c</PathWithFileName>
<FilenameWithoutPath>msh.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>6</GroupNumber>
<FileNumber>28</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\components\finsh\cmd.c</PathWithFileName>
<FilenameWithoutPath>cmd.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>Kernel</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>29</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\kservice.c</PathWithFileName>
<FilenameWithoutPath>kservice.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>30</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\components.c</PathWithFileName>
<FilenameWithoutPath>components.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>31</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\scheduler.c</PathWithFileName>
<FilenameWithoutPath>scheduler.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>32</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\irq.c</PathWithFileName>
<FilenameWithoutPath>irq.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>33</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\mempool.c</PathWithFileName>
<FilenameWithoutPath>mempool.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>34</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\idle.c</PathWithFileName>
<FilenameWithoutPath>idle.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>35</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\mem.c</PathWithFileName>
<FilenameWithoutPath>mem.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>36</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\thread.c</PathWithFileName>
<FilenameWithoutPath>thread.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>37</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\timer.c</PathWithFileName>
<FilenameWithoutPath>timer.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>38</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\clock.c</PathWithFileName>
<FilenameWithoutPath>clock.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>39</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\object.c</PathWithFileName>
<FilenameWithoutPath>object.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>40</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\ipc.c</PathWithFileName>
<FilenameWithoutPath>ipc.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>41</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\memheap.c</PathWithFileName>
<FilenameWithoutPath>memheap.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>7</GroupNumber>
<FileNumber>42</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\src\device.c</PathWithFileName>
<FilenameWithoutPath>device.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>Libraries</GroupName>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>43</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_wdt.c</PathWithFileName>
<FilenameWithoutPath>at32f415_wdt.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>44</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_exint.c</PathWithFileName>
<FilenameWithoutPath>at32f415_exint.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>45</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_dma.c</PathWithFileName>
<FilenameWithoutPath>at32f415_dma.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>46</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_sdio.c</PathWithFileName>
<FilenameWithoutPath>at32f415_sdio.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>47</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_adc.c</PathWithFileName>
<FilenameWithoutPath>at32f415_adc.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>48</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_debug.c</PathWithFileName>
<FilenameWithoutPath>at32f415_debug.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>49</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_tmr.c</PathWithFileName>
<FilenameWithoutPath>at32f415_tmr.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>50</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_ertc.c</PathWithFileName>
<FilenameWithoutPath>at32f415_ertc.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>51</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_wwdt.c</PathWithFileName>
<FilenameWithoutPath>at32f415_wwdt.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>52</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_misc.c</PathWithFileName>
<FilenameWithoutPath>at32f415_misc.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>53</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_crm.c</PathWithFileName>
<FilenameWithoutPath>at32f415_crm.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>54</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_crc.c</PathWithFileName>
<FilenameWithoutPath>at32f415_crc.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>..\libraries\f415\firmware\drivers\src\at32f415_usb.c</PathWithFileName>
<FilenameWithoutPath>at32f415_usb.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>56</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_flash.c</PathWithFileName>
<FilenameWithoutPath>at32f415_flash.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>57</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\cmsis\cm4\device_support\system_at32f415.c</PathWithFileName>
<FilenameWithoutPath>system_at32f415.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>58</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_usart.c</PathWithFileName>
<FilenameWithoutPath>at32f415_usart.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>59</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_can.c</PathWithFileName>
<FilenameWithoutPath>at32f415_can.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>60</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_spi.c</PathWithFileName>
<FilenameWithoutPath>at32f415_spi.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>61</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_gpio.c</PathWithFileName>
<FilenameWithoutPath>at32f415_gpio.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>62</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_cmp.c</PathWithFileName>
<FilenameWithoutPath>at32f415_cmp.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>63</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_pwc.c</PathWithFileName>
<FilenameWithoutPath>at32f415_pwc.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>64</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\libraries\f415\firmware\drivers\src\at32f415_i2c.c</PathWithFileName>
<FilenameWithoutPath>at32f415_i2c.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
</ProjectOpt>

View File

@ -359,7 +359,7 @@
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, __RTTHREAD__, AT32F415RCT7, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f415\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f415\firmware\cmsis\cm4\device_support;..\libraries\f415\firmware\cmsis\cm4\core_support;..\libraries\f415\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F415_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -413,16 +413,16 @@
<GroupName>Compiler</GroupName>
<Files>
<File>
<FileName>syscalls.c</FileName>
<FileName>syscall_mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscall_mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>syscall_mem.c</FileName>
<FileName>syscalls.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscall_mem.c</FilePath>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath>
</File>
</Files>
<Files>
@ -442,6 +442,13 @@
</Group>
<Group>
<GroupName>CPU</GroupName>
<Files>
<File>
<FileName>div0.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>backtrace.c</FileName>
@ -458,9 +465,9 @@
</Files>
<Files>
<File>
<FileName>div0.c</FileName>
<FileName>cpuport.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath>
<FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath>
</File>
</Files>
<Files>
@ -470,13 +477,6 @@
<FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>cpuport.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
@ -487,6 +487,13 @@
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
@ -515,13 +522,6 @@
<FilePath>..\..\..\components\drivers\ipc\ringblk_buf.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>dataqueue.c</FileName>
@ -546,6 +546,13 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f415.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f415.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
@ -560,32 +567,25 @@
<FilePath>board\src\board.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>startup_at32f415.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f415\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f415.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -615,6 +615,62 @@
</Group>
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\irq.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>clock.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>memheap.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>kservice.c</FileName>
@ -631,9 +687,9 @@
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileName>ipc.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
@ -645,9 +701,9 @@
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\irq.c</FilePath>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
@ -657,62 +713,6 @@
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>clock.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ipc.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>memheap.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -720,154 +720,154 @@
<File>
<FileName>at32f415_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_wdt.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_exint.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_dma.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_sdio.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_adc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_debug.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_tmr.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_ertc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_ertc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_ertc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_misc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_crm.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_crc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_usb.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_flash.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f415.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\cmsis\cm4\device_support\system_at32f415.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\system_at32f415.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_usart.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_can.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_spi.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_gpio.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_cmp.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_cmp.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_cmp.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_pwc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_i2c.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_i2c.c</FilePath>
</File>
</Files>
</Group>

View File

@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd">
<SchemaVersion>2.1</SchemaVersion>
<Header>### uVision Project, (C) Keil Software</Header>
<Targets>
<Target>
<TargetName>rt-thread</TargetName>
@ -18,28 +15,28 @@
<Vendor>ArteryTek</Vendor>
<PackID>ArteryTek.AT32F415_DFP.2.0.4</PackID>
<Cpu>IRAM(0x20000000,0x8000) IROM(0x08000000,0x40000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE</Cpu>
<FlashUtilSpec></FlashUtilSpec>
<StartupFile></StartupFile>
<FlashUtilSpec />
<StartupFile />
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F415_256 -FS08000000 -FL040000 -FP0($$Device:-AT32F415RCT7$Flash\AT32F415_256.FLM))</FlashDriverDll>
<DeviceId>0</DeviceId>
<RegisterFile>$$Device:-AT32F415RCT7$Device\Include\at32f415.h</RegisterFile>
<MemoryEnv></MemoryEnv>
<Cmp></Cmp>
<Asm></Asm>
<Linker></Linker>
<OHString></OHString>
<InfinionOptionDll></InfinionOptionDll>
<SLE66CMisc></SLE66CMisc>
<SLE66AMisc></SLE66AMisc>
<SLE66LinkerMisc></SLE66LinkerMisc>
<MemoryEnv />
<Cmp />
<Asm />
<Linker />
<OHString />
<InfinionOptionDll />
<SLE66CMisc />
<SLE66AMisc />
<SLE66LinkerMisc />
<SFDFile>$$Device:-AT32F415RCT7$SVD\AT32F415xx_v2.svd</SFDFile>
<bCustSvd>0</bCustSvd>
<UseEnv>0</UseEnv>
<BinPath></BinPath>
<IncludePath></IncludePath>
<LibPath></LibPath>
<RegisterFilePath></RegisterFilePath>
<DBRegisterFilePath></DBRegisterFilePath>
<BinPath />
<IncludePath />
<LibPath />
<RegisterFilePath />
<DBRegisterFilePath />
<TargetStatus>
<Error>0</Error>
<ExitCodeStop>0</ExitCodeStop>
@ -61,8 +58,8 @@
<BeforeCompile>
<RunUserProg1>0</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
<UserProg1Name></UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Name />
<UserProg2Name />
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
<nStopU1X>0</nStopU1X>
@ -71,8 +68,8 @@
<BeforeMake>
<RunUserProg1>0</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
<UserProg1Name></UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Name />
<UserProg2Name />
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
<nStopB1X>0</nStopB1X>
@ -82,14 +79,14 @@
<RunUserProg1>1</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
<UserProg1Name>fromelf --bin !L --output rtthread.bin</UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg2Name />
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
<nStopA1X>0</nStopA1X>
<nStopA2X>0</nStopA2X>
</AfterMake>
<SelectedForBatchBuild>0</SelectedForBatchBuild>
<SVCSIdString></SVCSIdString>
<SVCSIdString />
</TargetCommonOption>
<CommonProperty>
<UseCPPCompiler>0</UseCPPCompiler>
@ -103,8 +100,8 @@
<AssembleAssemblyFile>0</AssembleAssemblyFile>
<PublicsOnly>0</PublicsOnly>
<StopOnExitCode>3</StopOnExitCode>
<CustomArgument></CustomArgument>
<IncludeLibraryModules></IncludeLibraryModules>
<CustomArgument />
<IncludeLibraryModules />
<ComprImg>1</ComprImg>
</CommonProperty>
<DllOption>
@ -137,11 +134,11 @@
</Flash1>
<bUseTDR>1</bUseTDR>
<Flash2>BIN\UL2CM3.DLL</Flash2>
<Flash3></Flash3>
<Flash4></Flash4>
<pFcarmOut></pFcarmOut>
<pFcarmGrp></pFcarmGrp>
<pFcArmRoot></pFcArmRoot>
<Flash3 />
<Flash4 />
<pFcarmOut />
<pFcarmGrp />
<pFcArmRoot />
<FcArmLst>0</FcArmLst>
</Utilities>
<TargetArmAds>
@ -174,7 +171,7 @@
<RvctClst>0</RvctClst>
<GenPPlst>0</GenPPlst>
<AdsCpuType>"Cortex-M4"</AdsCpuType>
<RvctDeviceName></RvctDeviceName>
<RvctDeviceName />
<mOS>0</mOS>
<uocRom>0</uocRom>
<uocRam>0</uocRam>
@ -308,7 +305,7 @@
<Size>0x0</Size>
</OCR_RVCT10>
</OnChipMemories>
<RvctStartVector></RvctStartVector>
<RvctStartVector />
</ArmAdsMisc>
<Cads>
<interw>1</interw>
@ -335,10 +332,10 @@
<v6WtE>0</v6WtE>
<v6Rtti>0</v6Rtti>
<VariousControls>
<MiscControls></MiscControls>
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, __RTTHREAD__, AT32F415RCT7, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine></Undefine>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f415\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f415\firmware\cmsis\cm4\device_support;..\libraries\f415\firmware\cmsis\cm4\core_support;..\libraries\f415\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F415_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F415_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -353,10 +350,10 @@
<useXO>0</useXO>
<ClangAsOpt>4</ClangAsOpt>
<VariousControls>
<MiscControls></MiscControls>
<Define></Define>
<Undefine></Undefine>
<IncludePath></IncludePath>
<MiscControls />
<Define />
<Undefine />
<IncludePath />
</VariousControls>
</Aads>
<LDads>
@ -368,13 +365,13 @@
<useFile>0</useFile>
<TextAddressRange>0x08000000</TextAddressRange>
<DataAddressRange>0x20000000</DataAddressRange>
<pXoBase></pXoBase>
<pXoBase />
<ScatterFile>.\board\linker_scripts\link.sct</ScatterFile>
<IncludeLibs></IncludeLibs>
<IncludeLibsPath></IncludeLibsPath>
<Misc></Misc>
<LinkerInputFile></LinkerInputFile>
<DisabledWarnings></DisabledWarnings>
<IncludeLibs />
<IncludeLibsPath />
<Misc />
<LinkerInputFile />
<DisabledWarnings />
</LDads>
</TargetArmAds>
</TargetOption>
@ -397,46 +394,60 @@
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscall_mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>syscalls.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath>
</File>
<File>
<FileName>stdlib.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\common\stdlib.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>time.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\common\time.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>stdlib.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\libc\compilers\common\stdlib.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>CPU</GroupName>
<Files>
<File>
<FileName>div0.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>backtrace.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>showmem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\showmem.c</FilePath>
</File>
<File>
<FileName>div0.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
<FileType>2</FileType>
<FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>cpuport.c</FileName>
<FileType>1</FileType>
@ -447,46 +458,62 @@
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>waitqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
</File>
<File>
<FileName>ringblk_buf.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringblk_buf.c</FilePath>
</File>
<File>
<FileName>dataqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>workqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringblk_buf.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringblk_buf.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\misc\pin.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>serial.c</FileName>
<FileType>1</FileType>
@ -496,36 +523,46 @@
</Group>
<Group>
<GroupName>Drivers</GroupName>
<Files>
<File>
<FileName>startup_at32f415.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f415.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32_msp.c</FileName>
<FileType>1</FileType>
<FilePath>board\src\at32_msp.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>board.c</FileName>
<FileType>1</FileType>
<FilePath>board\src\board.c</FilePath>
</File>
<File>
<FileName>startup_at32f415.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f415\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f415.s</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -537,11 +574,15 @@
<FileType>1</FileType>
<FilePath>..\..\..\components\finsh\shell.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>msh.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\finsh\msh.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>cmd.c</FileName>
<FileType>1</FileType>
@ -552,77 +593,103 @@
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>kservice.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
<File>
<FileName>irq.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\irq.c</FilePath>
</File>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
<File>
<FileName>idle.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
<File>
<FileName>clock.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ipc.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>memheap.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>kservice.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\irq.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>clock.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -630,138 +697,177 @@
<File>
<FileName>at32f415_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_wdt.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_exint.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_dma.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_sdio.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_adc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_debug.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_tmr.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_ertc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_ertc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_ertc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_misc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_crm.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crm.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_crc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_usb.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_flash.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f415.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\cmsis\cm4\device_support\system_at32f415.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\cmsis\cm4\device_support\system_at32f415.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_usart.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_can.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_spi.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_gpio.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_cmp.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_cmp.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_cmp.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_pwc.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f415_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f415\firmware\drivers\src\at32f415_i2c.c</FilePath>
<FilePath>..\libraries\AT32F415_Firmware_Library\drivers\src\at32f415_i2c.c</FilePath>
</File>
</Files>
</Group>
</Groups>
</Target>
</Targets>
<RTE>
<apis/>
<components/>
<files/>
<apis />
<components />
<files />
</RTE>
<LayerInfo>
<Layers>
<Layer>
<LayName>&lt;Project Info&gt;</LayName>
<LayDesc></LayDesc>
<LayUrl></LayUrl>
<LayKeys></LayKeys>
<LayCat></LayCat>
<LayLic></LayLic>
<LayDesc />
<LayUrl />
<LayKeys />
<LayCat />
<LayLic />
<LayTarg>0</LayTarg>
<LayPrjMark>1</LayPrjMark>
</Layer>
</Layers>
</LayerInfo>
</Project>

View File

@ -64,9 +64,8 @@ CONFIG_RT_USING_SMALL_MEM=y
CONFIG_RT_USING_MEMHEAP=y
CONFIG_RT_MEMHEAP_FAST_MODE=y
# CONFIG_RT_MEMHEAP_BSET_MODE is not set
# CONFIG_RT_USING_SMALL_MEM_AS_HEAP is not set
CONFIG_RT_USING_MEMHEAP_AS_HEAP=y
CONFIG_RT_USING_MEMHEAP_AUTO_BINDING=y
CONFIG_RT_USING_SMALL_MEM_AS_HEAP=y
# CONFIG_RT_USING_MEMHEAP_AS_HEAP is not set
# CONFIG_RT_USING_SLAB_AS_HEAP is not set
# CONFIG_RT_USING_USERHEAP is not set
# CONFIG_RT_USING_NOHEAP is not set
@ -421,8 +420,8 @@ CONFIG_BSP_USING_GPIO=y
# CONFIG_BSP_USING_RTC is not set
CONFIG_BSP_USING_UART=y
CONFIG_BSP_USING_UART1=y
CONFIG_BSP_USING_UART2=y
CONFIG_BSP_USING_UART3=y
# CONFIG_BSP_USING_UART2 is not set
# CONFIG_BSP_USING_UART3 is not set
# CONFIG_BSP_USING_PWM is not set
# CONFIG_BSP_USING_HWTIMER is not set
# CONFIG_BSP_USING_SPI is not set

View File

@ -46,11 +46,14 @@ Export('SDK_LIB')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
at32_library = 'f435_437'
at32_library = 'AT32F435_437_Firmware_Library'
rtconfig.BSP_LIBRARY_TYPE = at32_library
# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, at32_library, 'SConscript')))
# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)

View File

@ -5,12 +5,12 @@
*
* Change Logs:
* Date Author Notes
* 2022-03-28 shelton first version
* 2022-05-16 shelton first version
*/
#include <rtthread.h>
#include <rtdevice.h>
#include "board.h"
#include "drv_common.h"
#include "drv_gpio.h"
/* defined the led2 pin: pd13 */

View File

@ -18,11 +18,11 @@ path += [cwd + '/inc']
startup_path_prefix = SDK_LIB
if rtconfig.PLATFORM == 'gcc':
src += [startup_path_prefix + '/f435_437/firmware/cmsis/cm4/device_support/startup/gcc/startup_at32f435_437.s']
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/gcc/startup_at32f435_437.s']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/f435_437/firmware/cmsis/cm4/device_support/startup/mdk/startup_at32f435_437.s']
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f435_437.s']
elif rtconfig.CROSS_TOOL == 'iar':
src += [startup_path_prefix + '/f435_437/firmware/cmsis/cm4/device_support/startup/iar/startup_at32f435_437.s']
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f435_437.s']
CPPDEFINES = ['AT32F435ZMT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

View File

@ -348,20 +348,20 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f435_437\rt_drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\include</state>
@ -1388,20 +1388,20 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f435_437\rt_drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\include</state>
@ -2088,23 +2088,11 @@
</group>
<group>
<name>Compiler</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
@ -2112,27 +2100,39 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
</group>
<group>
<name>CPU</name>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
</file>
@ -2142,27 +2142,27 @@
</group>
<group>
<name>DeviceDrivers</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\workqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringbuffer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\pipe.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\dataqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c</name>
</file>
@ -2172,6 +2172,9 @@
</group>
<group>
<name>Drivers</name>
<file>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f435_437.s</name>
</file>
<file>
<name>$PROJ_DIR$\board\src\at32_msp.c</name>
</file>
@ -2179,16 +2182,13 @@
<name>$PROJ_DIR$\board\src\board.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support\startup\iar\startup_at32f435_437.s</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\rt_drivers\drv_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\rt_drivers\drv_common.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c</name>
</file>
</group>
<group>
@ -2205,20 +2205,32 @@
</group>
<group>
<name>Kernel</name>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
<name>$PROJ_DIR$\..\..\..\src\memheap.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\clock.c</name>
@ -2227,115 +2239,103 @@
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\memheap.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_exint.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_i2c.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support\system_at32f435_437.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_acc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_dac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_qspi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_crc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_dma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_can.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_ertc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_usb.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_spi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_pwc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_tmr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_edma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_emac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_xmc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_debug.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_dvp.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_misc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_usart.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_wdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_flash.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_adc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_wwdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_scfg.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_sdio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_crm.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c</name>
</file>
</group>
<group>

View File

@ -359,7 +359,7 @@
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, AT32F435ZMT7, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f435_437\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f435_437\firmware\cmsis\cm4\device_support;..\libraries\f435_437\firmware\cmsis\cm4\core_support;..\libraries\f435_437\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F435_437_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -442,13 +442,6 @@
</Group>
<Group>
<GroupName>CPU</GroupName>
<Files>
<File>
<FileName>showmem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\showmem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>div0.c</FileName>
@ -463,6 +456,13 @@
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>showmem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\showmem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
@ -480,6 +480,27 @@
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>dataqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>workqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
@ -508,27 +529,6 @@
<FilePath>..\..\..\components\drivers\ipc\ringblk_buf.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>dataqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>workqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -550,7 +550,7 @@
<File>
<FileName>startup_at32f435_437.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
</File>
</Files>
<Files>
@ -571,21 +571,21 @@
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -636,13 +636,6 @@
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
@ -692,6 +685,13 @@
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
@ -720,203 +720,203 @@
<File>
<FileName>at32f435_437_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_gpio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_exint.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_i2c.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f435_437.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_acc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_qspi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_qspi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_can.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_ertc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_ertc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usb.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_spi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_pwc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_tmr.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_edma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_edma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_emac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_xmc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_debug.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dvp.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dvp.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_misc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usart.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_flash.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_adc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_scfg.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_scfg.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_sdio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crm.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c</FilePath>
</File>
</Files>
</Group>

View File

@ -335,7 +335,7 @@
<MiscControls />
<Define>USE_STDPERIPH_DRIVER, AT32F435ZMT7, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f435_437\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f435_437\firmware\cmsis\cm4\device_support;..\libraries\f435_437\firmware\cmsis\cm4\core_support;..\libraries\f435_437\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F435_437_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -457,13 +457,6 @@
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
@ -506,6 +499,13 @@
<FilePath>..\..\..\components\drivers\ipc\pipe.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -527,7 +527,7 @@
<File>
<FileName>startup_at32f435_437.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
</File>
</Files>
<Files>
@ -548,21 +548,21 @@
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -592,6 +592,27 @@
</Group>
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
@ -613,6 +634,13 @@
<FilePath>..\..\..\src\irq.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
@ -620,6 +648,13 @@
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
@ -648,13 +683,6 @@
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ipc.c</FileName>
@ -662,34 +690,6 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -697,203 +697,203 @@
<File>
<FileName>at32f435_437_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_gpio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_exint.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_i2c.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f435_437.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_acc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_qspi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_qspi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_can.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_ertc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_ertc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usb.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_spi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_pwc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_tmr.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_edma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_edma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_emac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_xmc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_debug.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dvp.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dvp.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_misc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usart.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_flash.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_adc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_scfg.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_scfg.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_sdio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crm.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c</FilePath>
</File>
</Files>
</Group>

View File

@ -40,8 +40,7 @@
#define RT_USING_SMALL_MEM
#define RT_USING_MEMHEAP
#define RT_MEMHEAP_FAST_MODE
#define RT_USING_MEMHEAP_AS_HEAP
#define RT_USING_MEMHEAP_AUTO_BINDING
#define RT_USING_SMALL_MEM_AS_HEAP
#define RT_USING_HEAP
/* Kernel Device Object */
@ -175,7 +174,5 @@
#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART1
#define BSP_USING_UART2
#define BSP_USING_UART3
#endif

View File

@ -64,9 +64,8 @@ CONFIG_RT_USING_SMALL_MEM=y
CONFIG_RT_USING_MEMHEAP=y
CONFIG_RT_MEMHEAP_FAST_MODE=y
# CONFIG_RT_MEMHEAP_BSET_MODE is not set
# CONFIG_RT_USING_SMALL_MEM_AS_HEAP is not set
CONFIG_RT_USING_MEMHEAP_AS_HEAP=y
CONFIG_RT_USING_MEMHEAP_AUTO_BINDING=y
CONFIG_RT_USING_SMALL_MEM_AS_HEAP=y
# CONFIG_RT_USING_MEMHEAP_AS_HEAP is not set
# CONFIG_RT_USING_SLAB_AS_HEAP is not set
# CONFIG_RT_USING_USERHEAP is not set
# CONFIG_RT_USING_NOHEAP is not set
@ -127,14 +126,6 @@ CONFIG_FINSH_ARG_MAX=10
# Device virtual file system
#
# CONFIG_RT_USING_DFS is not set
# CONFIG_RT_DFS_ELM_USE_LFN_0 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_1 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_2 is not set
# CONFIG_RT_DFS_ELM_USE_LFN_3 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_0 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_1 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_2 is not set
# CONFIG_RT_DFS_ELM_LFN_UNICODE_3 is not set
#
# Device Drivers
@ -209,9 +200,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_SAL is not set
# CONFIG_RT_USING_NETDEV is not set
# CONFIG_RT_USING_LWIP is not set
# CONFIG_RT_USING_LWIP141 is not set
# CONFIG_RT_USING_LWIP203 is not set
# CONFIG_RT_USING_LWIP212 is not set
# CONFIG_RT_USING_AT is not set
#
@ -429,16 +417,12 @@ CONFIG_BSP_USING_SERIAL=y
CONFIG_BSP_USING_GPIO=y
# CONFIG_BSP_USING_ON_CHIP_FLASH is not set
# CONFIG_BSP_USING_EMAC is not set
# CONFIG_PHY_USING_DM9162 is not set
# CONFIG_PHY_USING_DP83848 is not set
# CONFIG_BSP_USING_QSPI is not set
# CONFIG_BSP_USING_RTC is not set
# CONFIG_BSP_RTC_USING_LEXT is not set
# CONFIG_BSP_RTC_USING_LICK is not set
CONFIG_BSP_USING_UART=y
CONFIG_BSP_USING_UART1=y
CONFIG_BSP_USING_UART2=y
CONFIG_BSP_USING_UART3=y
# CONFIG_BSP_USING_UART2 is not set
# CONFIG_BSP_USING_UART3 is not set
# CONFIG_BSP_USING_PWM is not set
# CONFIG_BSP_USING_HWTIMER is not set
# CONFIG_BSP_USING_SPI is not set

View File

@ -46,11 +46,14 @@ Export('SDK_LIB')
# prepare building environment
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)
at32_library = 'f435_437'
at32_library = 'AT32F435_437_Firmware_Library'
rtconfig.BSP_LIBRARY_TYPE = at32_library
# include libraries
objs.extend(SConscript(os.path.join(libraries_path_prefix, at32_library, 'SConscript')))
# include drivers
objs.extend(SConscript(os.path.join(libraries_path_prefix, 'rt_drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)

View File

@ -5,12 +5,12 @@
*
* Change Logs:
* Date Author Notes
* 2022-03-28 shelton first version
* 2022-05-16 shelton first version
*/
#include <rtthread.h>
#include <rtdevice.h>
#include "board.h"
#include "drv_common.h"
#include "drv_gpio.h"
/* defined the led2 pin: pd13 */

View File

@ -18,11 +18,11 @@ path += [cwd + '/inc']
startup_path_prefix = SDK_LIB
if rtconfig.PLATFORM == 'gcc':
src += [startup_path_prefix + '/f435_437/firmware/cmsis/cm4/device_support/startup/gcc/startup_at32f435_437.s']
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/gcc/startup_at32f435_437.s']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += [startup_path_prefix + '/f435_437/firmware/cmsis/cm4/device_support/startup/mdk/startup_at32f435_437.s']
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/mdk/startup_at32f435_437.s']
elif rtconfig.CROSS_TOOL == 'iar':
src += [startup_path_prefix + '/f435_437/firmware/cmsis/cm4/device_support/startup/iar/startup_at32f435_437.s']
src += [startup_path_prefix + '/AT32F435_437_Firmware_Library/cmsis/cm4/device_support/startup/iar/startup_at32f435_437.s']
CPPDEFINES = ['AT32F437ZMT7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

View File

@ -348,20 +348,20 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f435_437\rt_drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\include</state>
@ -1388,20 +1388,20 @@
<option>
<name>CCIncludePath2</name>
<state />
<state>$PROJ_DIR$\..\libraries\f435_437\rt_drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\board\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\inc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\inc</state>
<state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\stdio</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\include</state>
@ -2088,20 +2088,11 @@
</group>
<group>
<name>Compiler</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
@ -2109,24 +2100,30 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
</group>
<group>
<name>CPU</name>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
@ -2134,14 +2131,20 @@
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
</file>
</group>
<group>
<name>DeviceDrivers</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\ringblk_buf.c</name>
</file>
@ -2160,9 +2163,6 @@
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\completion.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\ipc\waitqueue.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c</name>
</file>
@ -2172,6 +2172,9 @@
</group>
<group>
<name>Drivers</name>
<file>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\iar\startup_at32f435_437.s</name>
</file>
<file>
<name>$PROJ_DIR$\board\src\at32_msp.c</name>
</file>
@ -2179,16 +2182,13 @@
<name>$PROJ_DIR$\board\src\board.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support\startup\iar\startup_at32f435_437.s</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\rt_drivers\drv_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\rt_drivers\drv_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\rt_drivers\drv_common.c</name>
<name>$PROJ_DIR$\..\libraries\rt_drivers\drv_common.c</name>
</file>
</group>
<group>
@ -2208,134 +2208,134 @@
<file>
<name>$PROJ_DIR$\..\..\..\src\idle.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\memheap.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\clock.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
<name>$PROJ_DIR$\..\..\..\src\clock.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\memheap.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\object.c</name>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
</file>
</group>
<group>
<name>Libraries</name>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_gpio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_exint.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_i2c.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\cmsis\cm4\device_support\system_at32f435_437.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_acc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_dac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_qspi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_crc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_dma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_can.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_ertc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_usb.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_spi.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_pwc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_tmr.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_edma.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_emac.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_xmc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_debug.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_dvp.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_misc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_usart.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_wdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_flash.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_adc.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_wwdt.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_scfg.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_sdio.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\f435_437\firmware\drivers\src\at32f435_437_crm.c</name>
<name>$PROJ_DIR$\..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c</name>
</file>
</group>
<group>

View File

@ -359,7 +359,7 @@
<MiscControls />
<Define>AT32F437ZMT7, USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f435_437\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f435_437\firmware\cmsis\cm4\device_support;..\libraries\f435_437\firmware\cmsis\cm4\core_support;..\libraries\f435_437\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F435_437_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -442,6 +442,13 @@
</Group>
<Group>
<GroupName>CPU</GroupName>
<Files>
<File>
<FileName>backtrace.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>showmem.c</FileName>
@ -456,13 +463,6 @@
<FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>backtrace.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>context_rvds.S</FileName>
@ -480,20 +480,6 @@
</Group>
<Group>
<GroupName>DeviceDrivers</GroupName>
<Files>
<File>
<FileName>workqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pipe.c</FileName>
@ -503,16 +489,16 @@
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileName>workqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\workqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
@ -529,6 +515,20 @@
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>waitqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\waitqueue.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ringbuffer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\ringbuffer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>pin.c</FileName>
@ -550,7 +550,7 @@
<File>
<FileName>startup_at32f435_437.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
</File>
</Files>
<Files>
@ -571,21 +571,21 @@
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -615,20 +615,6 @@
</Group>
<Group>
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
@ -636,13 +622,6 @@
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>memheap.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>clock.c</FileName>
@ -657,6 +636,13 @@
<FilePath>..\..\..\src\kservice.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>object.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\object.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ipc.c</FileName>
@ -664,6 +650,13 @@
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>memheap.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>device.c</FileName>
@ -671,13 +664,6 @@
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
@ -687,9 +673,9 @@
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
@ -706,6 +692,13 @@
<FilePath>..\..\..\src\irq.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mempool.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mempool.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
@ -713,6 +706,13 @@
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Libraries</GroupName>
@ -720,203 +720,203 @@
<File>
<FileName>at32f435_437_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_gpio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_exint.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_i2c.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f435_437.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_acc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_qspi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_qspi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_can.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_ertc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_ertc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usb.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_spi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_pwc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_tmr.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_edma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_edma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_emac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_xmc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_debug.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dvp.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dvp.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_misc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usart.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_flash.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_adc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_scfg.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_scfg.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_sdio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crm.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c</FilePath>
</File>
</Files>
</Group>

View File

@ -335,7 +335,7 @@
<MiscControls />
<Define>AT32F437ZMT7, USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define>
<Undefine />
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\f435_437\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\f435_437\firmware\cmsis\cm4\device_support;..\libraries\f435_437\firmware\cmsis\cm4\core_support;..\libraries\f435_437\firmware\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
<IncludePath>applications;.;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\inc;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support;..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\core_support;..\libraries\AT32F435_437_Firmware_Library\drivers\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\io\stdio;..\..\..\components\libc\posix\ipc</IncludePath>
</VariousControls>
</Cads>
<Aads>
@ -473,9 +473,9 @@
</Files>
<Files>
<File>
<FileName>completion.c</FileName>
<FileName>dataqueue.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
</File>
</Files>
<Files>
@ -501,9 +501,9 @@
</Files>
<Files>
<File>
<FileName>dataqueue.c</FileName>
<FileName>completion.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\components\drivers\ipc\dataqueue.c</FilePath>
<FilePath>..\..\..\components\drivers\ipc\completion.c</FilePath>
</File>
</Files>
<Files>
@ -527,7 +527,7 @@
<File>
<FileName>startup_at32f435_437.s</FileName>
<FileType>2</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\startup\mdk\startup_at32f435_437.s</FilePath>
</File>
</Files>
<Files>
@ -548,21 +548,21 @@
<File>
<FileName>drv_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_gpio.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_usart.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>drv_common.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\rt_drivers\drv_common.c</FilePath>
<FilePath>..\libraries\rt_drivers\drv_common.c</FilePath>
</File>
</Files>
</Group>
@ -594,44 +594,9 @@
<GroupName>Kernel</GroupName>
<Files>
<File>
<FileName>components.c</FileName>
<FileName>device.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\irq.c</FilePath>
<FilePath>..\..\..\src\device.c</FilePath>
</File>
</Files>
<Files>
@ -643,9 +608,37 @@
</Files>
<Files>
<File>
<FileName>ipc.c</FileName>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\ipc.c</FilePath>
<FilePath>..\..\..\src\thread.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>components.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\components.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>mem.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\mem.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>irq.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\irq.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>idle.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\idle.c</FilePath>
</File>
</Files>
<Files>
@ -657,16 +650,9 @@
</Files>
<Files>
<File>
<FileName>clock.c</FileName>
<FileName>timer.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>thread.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\thread.c</FilePath>
<FilePath>..\..\..\src\timer.c</FilePath>
</File>
</Files>
<Files>
@ -676,6 +662,13 @@
<FilePath>..\..\..\src\memheap.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>clock.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\clock.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>kservice.c</FileName>
@ -685,9 +678,16 @@
</Files>
<Files>
<File>
<FileName>device.c</FileName>
<FileName>scheduler.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\device.c</FilePath>
<FilePath>..\..\..\src\scheduler.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>ipc.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\src\ipc.c</FilePath>
</File>
</Files>
</Group>
@ -697,203 +697,203 @@
<File>
<FileName>at32f435_437_gpio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_gpio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_gpio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_exint.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_exint.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_exint.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_i2c.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_i2c.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_i2c.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>system_at32f435_437.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\cmsis\cm4\device_support\system_at32f435_437.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_acc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_acc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_acc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_qspi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_qspi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_qspi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_can.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_can.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_can.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_ertc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_ertc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_ertc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usb.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usb.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usb.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_spi.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_spi.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_spi.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_pwc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_pwc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_pwc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_tmr.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_tmr.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_tmr.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_edma.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_edma.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_edma.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_emac.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_emac.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_emac.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_xmc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_xmc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_xmc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_debug.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_debug.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_debug.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_dvp.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_dvp.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_dvp.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_misc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_misc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_misc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_usart.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_usart.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_usart.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_flash.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_flash.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_flash.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_adc.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_adc.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_adc.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_wwdt.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_wwdt.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_wwdt.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_scfg.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_scfg.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_scfg.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_sdio.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_sdio.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_sdio.c</FilePath>
</File>
</Files>
<Files>
<File>
<FileName>at32f435_437_crm.c</FileName>
<FileType>1</FileType>
<FilePath>..\libraries\f435_437\firmware\drivers\src\at32f435_437_crm.c</FilePath>
<FilePath>..\libraries\AT32F435_437_Firmware_Library\drivers\src\at32f435_437_crm.c</FilePath>
</File>
</Files>
</Group>

View File

@ -40,8 +40,7 @@
#define RT_USING_SMALL_MEM
#define RT_USING_MEMHEAP
#define RT_MEMHEAP_FAST_MODE
#define RT_USING_MEMHEAP_AS_HEAP
#define RT_USING_MEMHEAP_AUTO_BINDING
#define RT_USING_SMALL_MEM_AS_HEAP
#define RT_USING_HEAP
/* Kernel Device Object */
@ -175,7 +174,5 @@
#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART1
#define BSP_USING_UART2
#define BSP_USING_UART3
#endif

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 header file
**************************************************************************
* Copyright notice & Disclaimer
@ -97,7 +97,7 @@ extern "C" {
*/
#define __AT32F403A_407_LIBRARY_VERSION_MAJOR (0x02) /*!< [31:24] major version */
#define __AT32F403A_407_LIBRARY_VERSION_MIDDLE (0x00) /*!< [23:16] middle version */
#define __AT32F403A_407_LIBRARY_VERSION_MINOR (0x07) /*!< [15:8] minor version */
#define __AT32F403A_407_LIBRARY_VERSION_MINOR (0x09) /*!< [15:8] minor version */
#define __AT32F403A_407_LIBRARY_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __AT32F403A_407_LIBRARY_VERSION ((__AT32F403A_407_LIBRARY_VERSION_MAJOR << 24) | \
(__AT32F403A_407_LIBRARY_VERSION_MIDDLE << 16) | \

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_conf.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 config header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -22,7 +22,7 @@
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20017FFF; /* end of RAM */
_estack = 0x20018000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
@ -134,12 +134,12 @@ SECTIONS
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(4);
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
. = . + _Min_Heap_Size;
. = . + _Min_Stack_Size;
. = ALIGN(4);
. = ALIGN(8);
} >RAM
/* Remove information from the standard libraries */

View File

@ -22,7 +22,7 @@
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20017FFF; /* end of RAM */
_estack = 0x20018000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
@ -134,12 +134,12 @@ SECTIONS
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(4);
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
. = . + _Min_Heap_Size;
. = . + _Min_Stack_Size;
. = ALIGN(4);
. = ALIGN(8);
} >RAM
/* Remove information from the standard libraries */

View File

@ -22,7 +22,7 @@
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20017FFF; /* end of RAM */
_estack = 0x20018000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
@ -134,12 +134,12 @@ SECTIONS
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(4);
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
. = . + _Min_Heap_Size;
. = . + _Min_Stack_Size;
. = ALIGN(4);
. = ALIGN(8);
} >RAM
/* Remove information from the standard libraries */

View File

@ -22,7 +22,7 @@
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20017FFF; /* end of RAM */
_estack = 0x20018000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
@ -134,12 +134,12 @@ SECTIONS
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(4);
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
. = . + _Min_Heap_Size;
. = . + _Min_Stack_Size;
. = ALIGN(4);
. = ALIGN(8);
} >RAM
/* Remove information from the standard libraries */

View File

@ -22,7 +22,7 @@
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20017FFF; /* end of RAM */
_estack = 0x20018000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
@ -134,12 +134,12 @@ SECTIONS
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(4);
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
. = . + _Min_Heap_Size;
. = . + _Min_Stack_Size;
. = ALIGN(4);
. = ALIGN(8);
} >RAM
/* Remove information from the standard libraries */

View File

@ -22,7 +22,7 @@
ENTRY(Reset_Handler)
/* Highest address of the user mode stack */
_estack = 0x20017FFF; /* end of RAM */
_estack = 0x20018000; /* end of RAM */
/* Generate a link error if heap and stack don't fit into RAM */
_Min_Heap_Size = 0x200; /* required amount of heap */
@ -134,12 +134,12 @@ SECTIONS
/* User_heap_stack section, used to check that there is enough RAM left */
._user_heap_stack :
{
. = ALIGN(4);
. = ALIGN(8);
PROVIDE ( end = . );
PROVIDE ( _end = . );
. = . + _Min_Heap_Size;
. = . + _Min_Stack_Size;
. = ALIGN(4);
. = ALIGN(8);
} >RAM
/* Remove information from the standard libraries */

View File

@ -1,8 +1,8 @@
/**
******************************************************************************
* @file startup_at32f403a_407.s
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407xx devices vector table for gcc toolchain.
* this module performs:
* - set the initial sp

View File

@ -1,7 +1,7 @@
;**************************************************************************
;* @file startup_at32f403a_407.s
;* @version v2.0.7
;* @date 2022-02-11
;* @version v2.0.9
;* @date 2022-04-25
;* @brief at32f403a_407 startup file for IAR Systems
;**************************************************************************
;

View File

@ -1,7 +1,7 @@
;**************************************************************************
;* @file startup_at32f403a_407.s
;* @version v2.0.7
;* @date 2022-02-11
;* @version v2.0.9
;* @date 2022-04-25
;* @brief at32f403a_407 startup file for keil
;**************************************************************************
;

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file system_at32f403a_407.c
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief contains all the functions for cmsis cortex-m4 system source file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file system_at32f403a_407.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief cmsis cortex-m4 system header file.
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_acc.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 acc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_adc.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 adc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_bpr.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 bpr header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_can.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 can header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_crc.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 crc header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_crm.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 crm header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_dac.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 dac header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_debug.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 debug header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_def.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 macros header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_dma.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 dma header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_emac.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 emac header file
**************************************************************************
* Copyright notice & Disclaimer
@ -45,7 +45,7 @@ extern "C" {
* @{
*/
#define PHY_TIMEOUT (0x0FFFFFFF) /*!< timeout for phy response */
#define PHY_TIMEOUT (0x000FFFFF) /*!< timeout for phy response */
/** @defgroup EMAC_smi_clock_border_definition
* @brief emac smi clock border
@ -1639,7 +1639,6 @@ void emac_dma_eight_pbl_mode_set(confirm_state new_state);
void emac_dma_address_aligned_beats_set(confirm_state new_state);
void emac_dma_poll_demand_set(emac_dma_tx_rx_type transfer_type, uint32_t value);
uint32_t emac_dma_poll_demand_get(emac_dma_tx_rx_type transfer_type);
flag_status emac_dma_status_get(uint32_t flag);
emac_dma_receive_process_status_type emac_dma_receive_status_get(void);
emac_dma_transmit_process_status_type emac_dma_transmit_status_get(void);
void emac_dma_operations_set(emac_dma_operations_type ops, confirm_state new_state);

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_exint.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 exint header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_flash.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 flash header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_gpio.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 gpio header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_i2c.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 i2c header file
**************************************************************************
* Copyright notice & Disclaimer

View File

@ -1,8 +1,8 @@
/**
**************************************************************************
* @file at32f403a_407_misc.h
* @version v2.0.7
* @date 2022-02-11
* @version v2.0.9
* @date 2022-04-25
* @brief at32f403a_407 misc header file
**************************************************************************
* Copyright notice & Disclaimer

Some files were not shown because too many files have changed in this diff Show More