diff --git a/bsp/ra6m4-cpk/.config b/bsp/ra6m4-cpk/.config
index 3b36572e222dacda61218c0e3b56cbd6ad2e1ce7..c5fe6cb440758b5e2e1457f938bd4985d7880c95 100644
--- a/bsp/ra6m4-cpk/.config
+++ b/bsp/ra6m4-cpk/.config
@@ -7,6 +7,7 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX=8
+# CONFIG_RT_USING_BIG_ENDIAN is not set
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE=4
@@ -156,6 +157,7 @@ CONFIG_RT_USING_PIN=y
#
# Using USB
#
+# CONFIG_RT_USING_USB is not set
# CONFIG_RT_USING_USB_HOST is not set
# CONFIG_RT_USING_USB_DEVICE is not set
@@ -163,9 +165,9 @@ CONFIG_RT_USING_PIN=y
# POSIX layer and C standard library
#
# CONFIG_RT_USING_LIBC is not set
-# CONFIG_RT_USING_PTHREADS is not set
CONFIG_RT_LIBC_USING_TIME=y
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
+# CONFIG_RT_USING_PTHREADS is not set
#
# Network
@@ -202,6 +204,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_RYM is not set
# CONFIG_RT_USING_ULOG is not set
# CONFIG_RT_USING_UTEST is not set
+# CONFIG_RT_USING_VAR_EXPORT is not set
# CONFIG_RT_USING_RT_LINK is not set
# CONFIG_RT_USING_LWP is not set
diff --git "a/bsp/ra6m4-cpk/docs/\344\275\277\347\224\250\347\221\236\350\220\250FSP\351\205\215\347\275\256\345\267\245\345\205\267.md" "b/bsp/ra6m4-cpk/docs/\344\275\277\347\224\250\347\221\236\350\220\250FSP\351\205\215\347\275\256\345\267\245\345\205\267.md"
index 6ad2b5ab715b23620aa4a3855d5837b6117bb303..b4d01e48c17881cf578b2a4574530832db5bae38 100644
--- "a/bsp/ra6m4-cpk/docs/\344\275\277\347\224\250\347\221\236\350\220\250FSP\351\205\215\347\275\256\345\267\245\345\205\267.md"
+++ "b/bsp/ra6m4-cpk/docs/\344\275\277\347\224\250\347\221\236\350\220\250FSP\351\205\215\347\275\256\345\267\245\345\205\267.md"
@@ -66,15 +66,15 @@
4. 测试中断是否成功开启
```c
- #define IRQ_TEST_PIN "p104"
+ #define IRQ_TEST_PIN "p105"
void irq_callback_test(void *args)
{
- rt_kprintf("\n IRQ01 triggered \n");
+ rt_kprintf("\n IRQ00 triggered \n");
}
void icu_sample(void)
{
- /* init P104 */
+ /* init */
rt_uint32_t pin = rt_pin_get(IRQ_TEST_PIN);
rt_kprintf("\n pin number : 0x%04X \n", pin);
rt_err_t err = rt_pin_attach_irq(pin, PIN_IRQ_MODE_RISING, irq_callback_test, RT_NULL);
diff --git a/bsp/ra6m4-cpk/project.uvoptx b/bsp/ra6m4-cpk/project.uvoptx
index f8db0ba5359c1a0557678d4cf44f3014f4fc5f25..a12247f11fca62f692143851f462dbc5f354d34e 100644
--- a/bsp/ra6m4-cpk/project.uvoptx
+++ b/bsp/ra6m4-cpk/project.uvoptx
@@ -214,24 +214,24 @@
1
4
- 2
+ 1
0
0
0
- ..\..\libcpu\arm\cortex-m4\context_rvds.S
- context_rvds.S
+ ..\..\libcpu\arm\cortex-m4\cpuport.c
+ cpuport.c
0
0
1
5
- 1
+ 2
0
0
0
- ..\..\libcpu\arm\cortex-m4\cpuport.c
- cpuport.c
+ ..\..\libcpu\arm\cortex-m4\context_rvds.S
+ context_rvds.S
0
0
@@ -274,8 +274,8 @@
0
0
0
- ..\..\components\drivers\src\pipe.c
- pipe.c
+ ..\..\components\drivers\src\waitqueue.c
+ waitqueue.c
0
0
@@ -286,8 +286,8 @@
0
0
0
- ..\..\components\drivers\src\ringblk_buf.c
- ringblk_buf.c
+ ..\..\components\drivers\src\dataqueue.c
+ dataqueue.c
0
0
@@ -298,8 +298,8 @@
0
0
0
- ..\..\components\drivers\src\dataqueue.c
- dataqueue.c
+ ..\..\components\drivers\src\ringblk_buf.c
+ ringblk_buf.c
0
0
@@ -310,8 +310,8 @@
0
0
0
- ..\..\components\drivers\src\workqueue.c
- workqueue.c
+ ..\..\components\drivers\src\pipe.c
+ pipe.c
0
0
@@ -334,8 +334,8 @@
0
0
0
- ..\..\components\drivers\src\completion.c
- completion.c
+ ..\..\components\drivers\src\workqueue.c
+ workqueue.c
0
0
@@ -346,8 +346,8 @@
0
0
0
- ..\..\components\drivers\src\waitqueue.c
- waitqueue.c
+ ..\..\components\drivers\src\completion.c
+ completion.c
0
0
@@ -355,7 +355,7 @@
Drivers
- 1
+ 0
0
0
0
@@ -454,8 +454,8 @@
0
0
0
- ..\..\src\ipc.c
- ipc.c
+ ..\..\src\components.c
+ components.c
0
0
@@ -466,8 +466,8 @@
0
0
0
- ..\..\src\thread.c
- thread.c
+ ..\..\src\irq.c
+ irq.c
0
0
@@ -478,8 +478,8 @@
0
0
0
- ..\..\src\device.c
- device.c
+ ..\..\src\object.c
+ object.c
0
0
@@ -490,8 +490,8 @@
0
0
0
- ..\..\src\kservice.c
- kservice.c
+ ..\..\src\idle.c
+ idle.c
0
0
@@ -502,8 +502,8 @@
0
0
0
- ..\..\src\components.c
- components.c
+ ..\..\src\kservice.c
+ kservice.c
0
0
@@ -526,8 +526,8 @@
0
0
0
- ..\..\src\timer.c
- timer.c
+ ..\..\src\device.c
+ device.c
0
0
@@ -538,8 +538,8 @@
0
0
0
- ..\..\src\mem.c
- mem.c
+ ..\..\src\scheduler.c
+ scheduler.c
0
0
@@ -550,8 +550,8 @@
0
0
0
- ..\..\src\object.c
- object.c
+ ..\..\src\thread.c
+ thread.c
0
0
@@ -562,8 +562,8 @@
0
0
0
- ..\..\src\scheduler.c
- scheduler.c
+ ..\..\src\mem.c
+ mem.c
0
0
@@ -574,8 +574,8 @@
0
0
0
- ..\..\src\irq.c
- irq.c
+ ..\..\src\ipc.c
+ ipc.c
0
0
@@ -586,8 +586,8 @@
0
0
0
- ..\..\src\idle.c
- idle.c
+ ..\..\src\timer.c
+ timer.c
0
0
diff --git a/bsp/ra6m4-cpk/project.uvprojx b/bsp/ra6m4-cpk/project.uvprojx
index 1af8a083384319a362864012c4e4ec7b786d0734..0099b57c7005fae233b10c8263f8877d65b51caa 100644
--- a/bsp/ra6m4-cpk/project.uvprojx
+++ b/bsp/ra6m4-cpk/project.uvprojx
@@ -339,7 +339,7 @@
-Wno-license-management -Wuninitialized -Wall -Wmissing-declarations -Wpointer-arith -Waggregate-return -Wfloat-equal
SOC_R7FA6M4AF, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- ..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;drivers\config;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\none-gcc;..\..\examples\utest\testcases\kernel
+ ..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;drivers\config;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\examples\utest\testcases\kernel
@@ -398,16 +398,16 @@
1
..\..\libcpu\arm\common\showmem.c
-
- context_rvds.S
- 2
- ..\..\libcpu\arm\cortex-m4\context_rvds.S
-
cpuport.c
1
..\..\libcpu\arm\cortex-m4\cpuport.c
+
+ context_rvds.S
+ 2
+ ..\..\libcpu\arm\cortex-m4\context_rvds.S
+
@@ -424,24 +424,24 @@
..\..\components\drivers\serial\serial_v2.c
- pipe.c
+ waitqueue.c
1
- ..\..\components\drivers\src\pipe.c
+ ..\..\components\drivers\src\waitqueue.c
- ringblk_buf.c
+ dataqueue.c
1
- ..\..\components\drivers\src\ringblk_buf.c
+ ..\..\components\drivers\src\dataqueue.c
- dataqueue.c
+ ringblk_buf.c
1
- ..\..\components\drivers\src\dataqueue.c
+ ..\..\components\drivers\src\ringblk_buf.c
- workqueue.c
+ pipe.c
1
- ..\..\components\drivers\src\workqueue.c
+ ..\..\components\drivers\src\pipe.c
ringbuffer.c
@@ -449,14 +449,14 @@
..\..\components\drivers\src\ringbuffer.c
- completion.c
+ workqueue.c
1
- ..\..\components\drivers\src\completion.c
+ ..\..\components\drivers\src\workqueue.c
- waitqueue.c
+ completion.c
1
- ..\..\components\drivers\src\waitqueue.c
+ ..\..\components\drivers\src\completion.c
@@ -504,29 +504,29 @@
Kernel
- ipc.c
+ components.c
1
- ..\..\src\ipc.c
+ ..\..\src\components.c
- thread.c
+ irq.c
1
- ..\..\src\thread.c
+ ..\..\src\irq.c
- device.c
+ object.c
1
- ..\..\src\device.c
+ ..\..\src\object.c
- kservice.c
+ idle.c
1
- ..\..\src\kservice.c
+ ..\..\src\idle.c
- components.c
+ kservice.c
1
- ..\..\src\components.c
+ ..\..\src\kservice.c
clock.c
@@ -534,34 +534,34 @@
..\..\src\clock.c
- timer.c
+ device.c
1
- ..\..\src\timer.c
+ ..\..\src\device.c
- mem.c
+ scheduler.c
1
- ..\..\src\mem.c
+ ..\..\src\scheduler.c
- object.c
+ thread.c
1
- ..\..\src\object.c
+ ..\..\src\thread.c
- scheduler.c
+ mem.c
1
- ..\..\src\scheduler.c
+ ..\..\src\mem.c
- irq.c
+ ipc.c
1
- ..\..\src\irq.c
+ ..\..\src\ipc.c
- idle.c
+ timer.c
1
- ..\..\src\idle.c
+ ..\..\src\timer.c