Solved
Retarget scanf on STM32G070RBxx Cortex M0+
(originally a reply to https://community.st.com/t5/stm32cubeide-mcus/retarget-printf-on-stm32g070rbxx-cortex-m0/td-p/720883)
Hi
For the scanf do we need to make any other change?
My read function is-
int _read(int fd, char *ptr, int len){
(void)fd;
int i;
for(i=0;i<len;i++){
*ptr++ = uart_read();
}
return len;
}
In the terminal window it is not taking any keypress.
