hydrausb3 / hydrausb3_fw

HydraUSB3 (WCH CH569) open source test firmware / examples / libraries to experiment with streaming / high-speed protocols (USB2 HS, USB3 SS, HSPI, SerDes...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serial debug not working in blinky example

hansfbaier opened this issue · comments

The serial console is not initialized/working in the blinky example.
This is very important, because the blinky is the baseline project
for most projects one might start.
Would be great if it also printed "Blink!" on the serial console.

Yes it can be improved like in your proposal
Note: I plan a refactor of log_xxx API too see #4

In future I want to push more towards SerDes for traces which is unique feature to avoid slow UART (and allow real-time non intrusive log/debug traces)
So it can be added with UART today(especially in HydraUSB3_Blink_ULED example) and write other examples with traces over USB2, USB3, SerDes or even HSPI see #8

PR is welcome (like that you can do like you wish thanks to keep it simple)

Fixed in commit efb7014 any feedback is welcome