- Clone into
<project root>\Controller\CH32V003\
with--recursive
tag - Template files
- Exclude
Template
folder from builds - Copy template files into parent
Controller
folder and modify to suit system needs
- Exclude
- Target Processor settings
- Architecture: "
RV32E (-march=rv32e)
" - Compressed Extension (RVC) enabled
- Integer ABI: "
ILP32E (-mabi=ilp32e)
" - others to disabled state (unchecked, "
None
" or "Toolchain default
")
- Architecture: "
- GNU RISC-V Cross Assembler
- Add include directory
"${workspace_loc:/${ProjName}/Controller/CH32V003}"
- Add include files
"${workspace_loc:/${ProjName}/Controller/CH32V003/Core/custom_csr.s}"
- Add include directory
- GNU RISC-V Cross C Compiler
- Add include directories
"${workspace_loc:/${ProjName}/Controller}" "${workspace_loc:/${ProjName}/Controller/CH32V003}" "${workspace_loc:/${ProjName}/Controller/CH32V003/Core}" "${workspace_loc:/${ProjName}/Controller/CH32V003/Peripheral/inc}"
- Add include directories
- GNU RISC-V Cross C Linker
- Set linkerscript location:
"${workspace_loc:/${ProjName}/Controller/CH32V003/linker_script_ch32v003x4.ld}"
- Select options:
-nostartfiles -Xlinker --gc-sections --specs=nano.specs --specs=nosys.specs
- Set linkerscript location:
-
Notifications
You must be signed in to change notification settings - Fork 0
islandcontroller/mculib-controller-ch32v003
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
MCU system library for WCH CH32V003 series MCU