Add RISC-V 32 IMAC support.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
22
mcu/chx-gd32vf103.c
Normal file
22
mcu/chx-gd32vf103.c
Normal file
@@ -0,0 +1,22 @@
|
||||
#include <stdint.h>
|
||||
#include <mcu/gd32vf103.h>
|
||||
|
||||
asm (
|
||||
".equ wfe,0x810\n\t" /* Not used (yet). */
|
||||
".equ sleepvalue,0x811" /* Not used (yet). */
|
||||
);
|
||||
|
||||
extern int chx_allow_sleep;
|
||||
|
||||
void
|
||||
chx_sleep_mode (int how)
|
||||
{
|
||||
/*TBD*/
|
||||
(void)how;
|
||||
}
|
||||
|
||||
void
|
||||
chx_prepare_sleep_mode (void)
|
||||
{
|
||||
/*TBD*/
|
||||
}
|
||||
Reference in New Issue
Block a user