how to recieve input from PC keyboard on target in a debug session
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-10-15 4:27 AM
Hi,
With Keil uVision I could type to a console and reicieve that on target with SER_GetChar ().
I implemented SER_GetChar () but the code below does not go to case 'a'.
switch ( SER_GetChar() )
{
case 'a' :
dbg_print ( "Pressed 'a'\n" );
break;
default :
break;
}
What am I doing wrong ?
Any idea how to recieve input from PC keyboard on target in a debug session, to replicate uVision's functionality ?
Thank you
Labels:
- Labels:
-
STM32CubeIDE
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-10-15 7:42 AM

- « Previous
-
- 1
- 2
- Next »