qusetion about uart and shell
Posted: Wed Dec 20, 2017 8:25 am
1.i can run the shell with usb,but how to use shell with uart?
2.when i use chprintf like this chprintf((BaseSequentialStream *)&UARTD2,"hello!"); it doesn't work,and sometimes chprintf((BaseSequentialStream *)&USBD1,"hello!"); also doesn't work. are there have any documentation to learn about :how to use chprintf , shell?
2.when i use chprintf like this chprintf((BaseSequentialStream *)&UARTD2,"hello!"); it doesn't work,and sometimes chprintf((BaseSequentialStream *)&USBD1,"hello!"); also doesn't work. are there have any documentation to learn about :how to use chprintf , shell?