Search Posts

正点原子Mini STM32F103RCT6在STM32CubeMX中玩UART

正點原子的教程是在Keil, 如果要在STM32CubeMX裏玩UART可跟以下步驟

Step 1.

Step 2. Comment the whole file

Step 3. Add these 3 files from the CD

Step 4. Modify usart.c , default example override fputc never works, we have to overrid _write

Step 5. Add this

Leave a Reply

Your email address will not be published. Required fields are marked *