Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: USB/COM port driver for SKS7G2 to console print

$
0
0
Hello Mk, to output some text through USB I used the "Communications Framework on sf_el_ux_comms". In the Configurator in e2 studio I have created a thread, then I added to it a new stack: New Stack > Framework > Connectivity > Communications Framework on sf_el_ux_comms An example code to make use of it is: const uint8_t str[30] = ""; snprintf((CHAR *) str, sizeof(str), "Hello through USB\n\r"); g_sf_comms0.p_api->write(g_sf_comms0.p_ctrl, str, (uint32_t) strlen((CHAR *) str), TX_WAIT_FOREVER); anper

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>