From dc98391e1be86914d3aef1d80aef2c516f7970c0 Mon Sep 17 00:00:00 2001 From: cnlohr <lohr85@gmail.com> Date: Tue, 14 Mar 2023 22:59:06 -0400 Subject: [PATCH] Update readme. --- README.md | 19 ++++++++++++++++++- examples/debugprintfdemo/debugprintfdemo.c | 3 +-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e7bd78e..aa0cddc 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/debugprintfdemo/debugprintfdemo.c b/examples/debugprintfdemo/debugprintfdemo.c index fbb2d1c..676b024 100644 --- a/examples/debugprintfdemo/debugprintfdemo.c +++ b/examples/debugprintfdemo/debugprintfdemo.c @@ -35,8 +35,7 @@ int main() GPIOC->BSHR = (1<<16); printf( "-%d\n", count++ ); count++; - -// _write( 0, "xxxxxxx", 7 ); + //_write( 0, "xxxxxxx", 7 ); } } -- GitLab