Skip to content

Commit 0ce53a4

Browse files
committed
fix length issue
1 parent 2be25cb commit 0ce53a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bsp/gd32/arm/gd32e230-lckfb/.ci/attachconfig/ci.attachconfig.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ hw_drv_onchip.i2c0:
2626
hw_drv_onchip.i2c1:
2727
kconfig:
2828
- CONFIG_BSP_USING_HW_I2C=y
29-
- CONFIG_BSP_USING_HW_I2C0=22
29+
- CONFIG_BSP_USING_HW_I2C0=22
30+
- CONFIG_BSP_HW_I2C0_CLOCK_SPEED=400000

bsp/gd32/arm/gd32e230-lckfb/rtconfig.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
/* end of rt_strnlen options */
6363
/* end of klibc options */
64-
#define RT_NAME_MAX 8
64+
#define RT_NAME_MAX 16
6565
#define RT_CPUS_NR 1
6666
#define RT_ALIGN_SIZE 8
6767
#define RT_THREAD_PRIORITY_32
@@ -410,4 +410,3 @@
410410
/* end of Hardware Drivers Config */
411411

412412
#endif
413-

0 commit comments

Comments
 (0)