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
dc98391e
Commit
dc98391e
authored
2 years ago
by
cnlohr
Browse files
Options
Downloads
Patches
Plain Diff
Update readme.
parent
e47fa0e4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+18
-1
18 additions, 1 deletion
README.md
examples/debugprintfdemo/debugprintfdemo.c
+1
-2
1 addition, 2 deletions
examples/debugprintfdemo/debugprintfdemo.c
with
19 additions
and
3 deletions
README.md
+
18
−
1
View file @
dc98391e
...
...
@@ -25,6 +25,23 @@ In Progress:
4.
Support for
`NHC-Link042`
5.
Write more demos.
## Features
### A fast "printf" debug over the programming interface.
And by fast I mean very fast. Typically around 36kBytes/sec.
```
./minichlink -T | pv > /dev/null
Found ESP32S2 Programmer
536KiB 0:00:15 [36.7KiB/s] [ <=> ]
```
You can just try out the
`debugprintf`
project, or call
`SetupDebugPrintf();`
and
`printf()`
away.
### todo;;
## System Prep
On WSL or Debian based OSes
`apt-get install build-essential libnewlib-dev gcc-riscv64-unknown-elf libusb-1.0-0-dev libudev-dev`
...
...
@@ -44,7 +61,7 @@ In Linux this will "just work" using the `minichlink`. In Windows if you want
In Windows, you can use this or you can use the WCH-LinkUtility to flash the built hex file.
##
For using EVT demos, check out the EVT folder.
##
ESP32S2 Programming
## WCH-Link
...
...
This diff is collapsed.
Click to expand it.
examples/debugprintfdemo/debugprintfdemo.c
+
1
−
2
View file @
dc98391e
...
...
@@ -35,8 +35,7 @@ int main()
GPIOC
->
BSHR
=
(
1
<<
16
);
printf
(
"-%d
\n
"
,
count
++
);
count
++
;
// _write( 0, "xxxxxxx", 7 );
//_write( 0, "xxxxxxx", 7 );
}
}
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