解決 https://os.mbed.com/compiler/ 錯誤問題 (for microbit at the Windows10)

問題:最近依據 https://bluetooth-mdw.blogspot.tw/p/bbc-microbit.html#comment-form 提供範例碼到 micro:bit Online development ( https://os.mbed.com/ ) 實作並Compiler時,發現其相關的套件模組會出錯,如下圖

不知可否解決(at the Windows10 platform)?!

解決方式
其實,上述的範例之外尚有一些錯誤,於是我向作者 Martin大神 求救,如下圖


先改程式的 messageBus,如下圖


再依 https://lancaster-university.github.io/microbit-docs/offline-toolchains/ 下載並安裝 yotta srecord ...
之後,在 yt build 時會出現 srecord 指令找不到的錯誤...
於是我修改了 C:\yotta\run_yotta.bat 內容,如下圖


再重新 yt build (Offline development離線版) ... 終於 ok 了...如下圖



 I appreciate all Martin do.


後記
發現 micro:bit 在 arm 及 Lancaster University 的套件模組與文件方面(C/C++) 好像沒有人更新及同步(或發現問題)了(2016某月之後),看來若要研究有關C/C++部分,可能要辛苦摸索了...|||

留言