IAR版本6.3 STM32標(biāo)準(zhǔn)庫為3.5 使用庫時出現(xiàn)如下錯誤 Error: declaration is incompatible with "__nounwind __interwork __softfp unsigned long __get_PSP(void)"
原因為core_cm3.h 文件版本太舊,解決辦法將core_cm3.h文件改名或刪除,然后使用IAR內(nèi)置的CMSIS 具體為:Project -> Options -> General Options -> Library Configuration -> Use CMSIS,右下角的選項中選擇 use CMSIS