- Clone into
<project root>\Controller\CH32V103\
with--recursive
tag - Template files
- Exclude
Template
folder from builds - Copy template files into parent
Controller
folder and modify to suit system needs
- Exclude
- GNU RISC-V Cross Assembler
- Add include directory
"${workspace_loc:/${ProjName}/Controller/CH32V103}"
- Add include directory
- GNU RISC-V Cross C Compiler
- Add include directories
"${workspace_loc:/${ProjName}/Controller}" "${workspace_loc:/${ProjName}/Controller/CH32V103}" "${workspace_loc:/${ProjName}/Controller/CH32V103/Core}" "${workspace_loc:/${ProjName}/Controller/CH32V103/Peripheral/inc}"
- Add include directories
- GNU RISC-V Cross C Linker
- Set linkerscript location:
(or
"${workspace_loc:/${ProjName}/Controller/CH32V103/linker_script_ch32v103x8.ld}"
...x6.ld
for devices with small memory) - Select options:
-nostartfiles -Xlinker --gc-sections --specs=nano.specs --specs=nosys.specs
- Set linkerscript location:
islandcontroller / mculib-controller-ch32v103 Goto Github PK
View Code? Open in Web Editor NEWMCU system library for WCH CH32V103 series MCU