A clean, clear, simple implementation of UART typer example for gapuino. Send the corresponding byte received.
First cd
into gap_sdk and source sourceme.sh. And then back to the baremetal directory.
./build.sh
Use plpbridge
from gap_sdk
$GAP_SDK_HOME/install/workstation/bin/plpbridge \
--cable=ftdi@digilent --boot-mode=jtag --chip=gap \
--binary=test \
load ioloop reqloop start wait
The uart is usually /dev/ttyUSB1
, while /dev/ttyUSB0
is occupied by JTAG.