Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/islandcontroller/mculib-controller-ch32v103
MCU system library for WCH CH32V103 series MCU
https://github.com/islandcontroller/mculib-controller-ch32v103
ch32v103 mculib openwch
Last synced: about 1 month ago
JSON representation
MCU system library for WCH CH32V103 series MCU
- Host: GitHub
- URL: https://github.com/islandcontroller/mculib-controller-ch32v103
- Owner: islandcontroller
- Created: 2022-03-02T19:40:51.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T21:38:47.000Z (about 1 year ago)
- Last Synced: 2023-10-03T10:54:14.225Z (about 1 year ago)
- Topics: ch32v103, mculib, openwch
- Language: Assembly
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mculib-controller-ch32v103
## Setup Notes
* Clone into `\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
* GNU RISC-V Cross Assembler
* Add include directory
```
"${workspace_loc:/${ProjName}/Controller/CH32V103}"
```
* 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}"
```
* GNU RISC-V Cross C Linker
* Set linkerscript location:
```
"${workspace_loc:/${ProjName}/Controller/CH32V103/linker_script_ch32v103x8.ld}"
```
(or `...x6.ld` for devices with small memory)
* Select options:
```
-nostartfiles
-Xlinker --gc-sections
--specs=nano.specs
--specs=nosys.specs
```