如改在STM32F103R8T6的小板子上跑, 有什麼要改動的呢?
MDK 內的 STARTUPCODE 己改為 startup_stm32f10x_md.s
Device 內己改為 STM32F103R8
試 Translte 時出:
compiling main.c...
..CMSISstm32f10x.h(298): error: #67: expected a "}"
ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */
..CMSISstm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error
} IRQn_Type;
main.c: 1 warning, 1 error
&quot;main.c&quot; - 1 Error(s), 1 Warning(s). |