正點原子的教程是在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
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website