Build simulator project on OSX - delay_ms is undefined #88
-
Hi, I'm trying to build the sample project on a Macbook Pro M1. I'm trying to run the simulator, as I haven't received my watch yet. I've installed the GNU Toolchain for ARM Embedded Processors, and Emscripten. Running 'emmake make' in the starter-project folder gives me the error below. Does anyone know how to fix this? ➜ starter-project git:(main) emmake make Update: Haven't gotten it to work. This is what I did so far: installed the toolchain via this homebrew package. Running a "make clean" and "emmake make clean", I was able to run "make" fine. Running "emmake make" still results in "undefined symbol: delay_ms". If I comment the delay_ms lines from Starter-project's app.c, it compiles. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
It fails for me too. However, it works to build 'movement' - I've made a PR with some more instructions on getting started after I, err, got started yesterday: https://github.com/wryun/Sensor-Watch/tree/readme-movement#using-the-movement-framework |
Beta Was this translation helpful? Give feedback.
-
(suspect that the simulator has only been tested with movement, and is missing some HAL bit) |
Beta Was this translation helpful? Give feedback.
-
Thanks wryun, this fixes the issue! |
Beta Was this translation helpful? Give feedback.
#93