STM32使用FreeRtos + C++

編譯環境 MDK5.25    gcc-arm7.2函數 .C文件不可包含CPP的頭文件操作系統 C調用C++函數code 在CPP文件內編寫C函數,頭文件聲明。頭文件不可出現C++關鍵字內存 在main中調用此函數做爲程序入口便可it void Init(void) { drivers = new Drivers(); drivers->Init(); business = new Bus
相關文章
相關標籤/搜索