forked from Embedded_Projects/CH32V307_Template
Updated README.
This commit is contained in:
parent
b5badc857a
commit
83a9bbbc96
|
@ -45,6 +45,7 @@ set(TARGET_C_SOURCES
|
|||
"BSP/Peripheral/src/ch32v30x_tim.c"
|
||||
"BSP/Peripheral/src/ch32v30x_usart.c"
|
||||
"BSP/Peripheral/src/ch32v30x_wwdg.c"
|
||||
"src/board.c"
|
||||
"src/ch32v30x_it.c"
|
||||
"src/main.c"
|
||||
"src/syscalls.c"
|
||||
|
|
|
@ -26,10 +26,11 @@ The first file is used for CH32V303 devices, which lacks of the following periph
|
|||
* USBHS
|
||||
* DVP
|
||||
|
||||
** Change the startup file to the correct version for the hardware in use. **
|
||||
*** Change the startup file to the correct version for the hardware in use. ***
|
||||
|
||||
### Compilers
|
||||
These MCUs uses something called "RISC-V4A" core with Chinese documentation provided.
|
||||
These MCUs uses something called "RISC-V4F" core with Chinese documentation provided:
|
||||
* Implemented RV32IMAFC ABI
|
||||
|
||||
Here is the list of features proprietary or incompatible with upstream toolchain:
|
||||
* Fast IRQ handlers: uses a special attribute of `interrupt`, which value is `WCH-Interrupt-fast`
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef BOARD_H
|
||||
#define BOARD_H
|
||||
|
||||
#endif
|
|
@ -0,0 +1,5 @@
|
|||
#include "ch32v30x_conf.h"
|
||||
|
||||
void BOARD_LED_Init(void) {
|
||||
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include "debug.h"
|
||||
|
||||
int main(void) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue