Redirecting printf() Function to UART in MDK5

Redirecting printf() Function to UART in MDK5

Introduction In embedded development, redirecting printf to the UART serial port is an important means of debugging and logging output. In the Keil environment, the printf function does not directly support UART output for STM32. This article will introduce how to redirect stdout (standard output) to the serial port in the Keil MCU environment, allowing … Read more

How to Properly Use MDK-ARM Optimization Features and Their Impact

How to Properly Use MDK-ARM Optimization Features and Their Impact

This article was originally published on my other public account ‘Embedded Column’. Original text:Detailed explanation of various optimization options in MDK-ARM, practical applications, and extended content Many friends have been using MDK-ARM for a long time, but do not know what its optimization options are for, or how to use them. This article discusses the … Read more

Keil MicroLib vs Standard C Library

Keil MicroLib vs Standard C Library

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | strongerHuang Beginners use Keil to learn microcontrollers, and when using serial printf for output, they usually enable the built-in MicroLib: Recently, I saw readers discussing the topic of Keil’s MicroLib and the standard C library, so today I will … Read more

Various Methods for Redirecting Serial Output in Embedded Systems

Various Methods for Redirecting Serial Output in Embedded Systems

[Image] More exciting content~ Click the blue text above to follow us! [Image] For a better reading experience, please click on the original text to visit: Mculover666’s personal blog. This article details various methods for redirecting printf output to serial output, including methods using the MDK MicroLib, standard library methods, and applicable …