Sep 21, 2020
09:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 21, 2020
09:22 PM
Hi
I would like to use printf function in my code.
In stm32, I used to implement printf function by fputc function.
int fputc(int ch,FILE *f)
{
UART_lStartTransmitPolling(&UART_0, (uint8_t*)&ch, 1);
return ch;
}
I wrote it in dave, but printf doesn't work.
Any one know about this topic?
I would like to use printf function in my code.
In stm32, I used to implement printf function by fputc function.
int fputc(int ch,FILE *f)
{
UART_lStartTransmitPolling(&UART_0, (uint8_t*)&ch, 1);
return ch;
}
I wrote it in dave, but printf doesn't work.
Any one know about this topic?
- Tags:
- IFX
1 Reply
Sep 22, 2020
01:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 22, 2020
01:40 AM
Hi,
See\eclipse\ARM-GCC-49\share\gcc-arm-none-eabi\samples\src\retarget
Regards,
Jesus
See
Regards,
Jesus