STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Connect USBCDC to stdin

I have successfully connected USBCDC to stdout by redefining __io_putchar and can use printf to talk to a PC thru its virtual serial port but am not having any success with stdin (modifying __io_getchar). Anyone done this and can advise?

ETone by Associate III
  • 701 Views
  • 3 replies
  • 0 kudos

How can I dictate, without changing the task priorities, who gets the mutex/binary semaphore, when several tasks are waiting for it?

I'm implementing, using FreeRTOS, a simple communication protocol based on a 1-wire UART and a request-to-read pin. It has a master and a slave both of them can initiate a read from the other. If both the slave and master want to read at the same tim...