CH32V203F6P6有USBCDC的例程吗

如题,

芯片类型:CH32V203F6P6 评估板,如下图

想使用Type-C模拟串口

2012227-20221011111249039-983076073.jpg

您好,在我们CH32V203 EVT中有模拟CDC例程,可以参考一下,如下图。EVT下载链接如下:

https://www.wch.cn/downloads/CH32V20xEVT_ZIP.html 

image.png


icon_rar.gifCDC.zip

我使用的代码已上传

问题:使用的SimulateCDC示例代码,仅修改Link.ld的Flash为32K时出现下述错误,修改部分如图


d:/mounriver/mounriver_studio/toolchain/risc-v embedded gcc/bin/../lib/gcc/riscv-none-embed/8.2.0/../../../../riscv-none-embed/bin/ld.exe: section .stack VMA [0000000020002000,00000000200027ff] overlaps section .bss VMA [0000000020000168,0000000020002263]

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:58: SimulateCDC.elf] Error 1


image.png


如果可以请发邮件给我,邮箱:个人信息保护,已隐藏


只有登录才能回复,可以选择微信账号登录