Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ch32v003fun
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Horn
ch32v003fun
Commits
882394de
Commit
882394de
authored
1 year ago
by
recallmenot
Browse files
Options
Downloads
Patches
Plain Diff
GPIO example funconfig changes
parent
a9ebd035
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/GPIO/GPIO.c
+1
-4
1 addition, 4 deletions
examples/GPIO/GPIO.c
examples/GPIO/Makefile
+0
-3
0 additions, 3 deletions
examples/GPIO/Makefile
examples/GPIO/funconfig.h
+7
-0
7 additions, 0 deletions
examples/GPIO/funconfig.h
with
8 additions
and
7 deletions
examples/GPIO/GPIO.c
+
1
−
4
View file @
882394de
...
...
@@ -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
()
{
SystemInit
48HSI
();
SystemInit
();
#if DEMO_GPIO_blink == 1
GPIO_port_enable
(
GPIO_port_C
);
...
...
This diff is collapsed.
Click to expand it.
examples/GPIO/Makefile
+
0
−
3
View file @
882394de
...
...
@@ -2,9 +2,6 @@ all : flash
TARGET
:=
GPIO
CFLAGS
+=
-DTINYVECTOR
CFLAGS
+=
-DSTDOUT_UART
include
../../ch32v003fun/ch32v003fun.mk
flash
:
cv_flash
...
...
This diff is collapsed.
Click to expand it.
examples/GPIO/funconfig.h
0 → 100644
+
7
−
0
View file @
882394de
#ifndef _FUNCONFIG_H
#define _FUNCONFIG_H
#define FUNCONF_TINYVECTOR 1
#define CH32V003 1
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment