Skip to content
Snippets Groups Projects
Commit 882394de authored by recallmenot's avatar recallmenot
Browse files

GPIO example funconfig changes

parent a9ebd035
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,6 @@
#endif
#define SYSTEM_CORE_CLOCK 48000000
#define APB_CLOCK SYSTEM_CORE_CLOCK
#include "ch32v003fun.h"
#include "ch32v003_GPIO_branchless.h"
......@@ -25,7 +22,7 @@
int main() {
SystemInit48HSI();
SystemInit();
#if DEMO_GPIO_blink == 1
GPIO_port_enable(GPIO_port_C);
......
......@@ -2,9 +2,6 @@ all : flash
TARGET:=GPIO
CFLAGS+=-DTINYVECTOR
CFLAGS+=-DSTDOUT_UART
include ../../ch32v003fun/ch32v003fun.mk
flash : cv_flash
......
#ifndef _FUNCONFIG_H
#define _FUNCONFIG_H
#define FUNCONF_TINYVECTOR 1
#define CH32V003 1
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment