diff --git a/README.md b/README.md index e7bd78efbb3433528e0c7e922dedf23cf5ce4106..aa0cddcd05c7700925d1ec3193f6590d4f940a66 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 fbb2d1c6935be824f05a89c9021afe870c834965..676b024b734618cb986f0a92e461e4f7d3703e07 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 ); } }