Hardfault on compile ? Which one.I tried compiling the code, but I was encountering a hardfault
I check it again and it's compile ok
Code:
daniel@benchpi4:~ $ git clone https://github.com/danjperron/picoADC_UDPdaniel@benchpi4:~ $ cd picoADC_UDP/daniel@benchpi4:~/picoADC_UDP $ cd picoADC_USB/daniel@benchpi4:~/picoADC_UDP/picoADC_USB $ mkdir builddaniel@benchpi4:~/picoADC_UDP/picoADC_USB $ cd builddaniel@benchpi4:~/picoADC_UDP/picoADC_USB/build $ cmake ..daniel@benchpi4:~/picoADC_UDP/picoADC_USB/build $ make
Once you transfered the uf2 to the pico the device for the pico usb should be /dec/ttyACM0
Just do
Code:
cat /dev/ttyACM0
Statistics: Posted by danjperron — Tue Feb 13, 2024 12:15 am