rp-hal
rp-hal copied to clipboard
rom_funcs results output over USB instead of UART
- Added f64 tests for chips with rom_version>1
- Output results over USB Serial instead of hardware UART
I like the idea, but just replacing the UART output with USB-UART output doesn't really improve the situation.
A better option would be to have a optional logger feature in the HAL where you can choose between uart, usb-cdc, rtt or defmt for getting textual output from your program.
That way all the examples can output data in the user's preferred format, and end-users can also opt in to get a simpler debug output.
Also: make it a separate PR to updating the example.