rp-hal icon indicating copy to clipboard operation
rp-hal copied to clipboard

rom_funcs results output over USB instead of UART

Open camrbuss opened this issue 3 years ago • 1 comments

  • Added f64 tests for chips with rom_version>1
  • Output results over USB Serial instead of hardware UART

camrbuss avatar Aug 07 '22 04:08 camrbuss

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.

9names avatar Aug 07 '22 08:08 9names