Closed jackjeanab closed 5 years ago
因為MT7697並不是AVR架構而是ARM Cortex-M架構,所以是無法提供 avr/io 的,可能要請您自行檢查一下是為什麼會走到AVR那條路去。
另外,如果要用 FreeRTOS的 API 的話,LinkIt 7697 底層已經是用FreeRTOS了,應該不需要再從外部引入其他的FreeRTOS,這樣可能會造成名稱的衝突。
收到 謝謝
Pablo Sun notifications@github.com 於 2018年8月22日週三 上午8:18 寫道:
因為MT7697並不是AVR架構而是ARM Cortex-M架構,所以是無法提供 avr/io 的,可能要請您自行檢查一下是為什麼會走到AVR那條路去。
另外,如果要用 FreeRTOS的 API 的話,LinkIt 7697 底層已經是用FreeRTOS了,應該不需要再從外部引入其他的FreeRTOS,這樣可能會造成名稱的衝突。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MediaTek-Labs/Arduino-Add-On-for-LinkIt-SDK/issues/104#issuecomment-414863829, or mute the thread https://github.com/notifications/unsubscribe-auth/AhiVg4IE9TP7k86AcV0Z-GLw3Hifm5Knks5uTKNkgaJpZM4V9g7n .
Error & Expected Results
Environment
error message as follow: Arduino: 1.8.5 (Windows 10), Board: "LinkIt 7697"
In file included from C:\Users\Jack\Documents\Arduino\libraries\FreeRTOS\src/Arduino_FreeRTOS.h:53:0,
C:\Users\Jack\Documents\Arduino\libraries\FreeRTOS\src/FreeRTOSConfig.h:32:20: fatal error: avr/io.h: No such file or directory
include <avr/io.h>
compilation terminated.
exit status 1 Error compiling for board LinkIt 7697.
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.