Program.sh Make File: "fatal error: core_cm0.h: No such file or directory"
Closed this issue · 1 comments
EDIT: This error is thrown when you don't use version 11. Version 11 can be downloaded here (documented and update requested by @joric in #5)
I'm quite new to this, so I was really hoping to use the build script at the bottom of your Readme. Unfortunately, it doesn't make it through the Make portion. I really have no idea how to approach this as such a hardware newbie using the manual programming instructions.
Save me ples!
osboxes@osboxes:~/Downloads/nRF5_SDK_12_3/mitosis/mitosis-keyboard-basic$ ./program.sh
=============================== MAKING ================================
rm -rf _build
echo Makefile
Makefile
mkdir _build
Compiling file: system_nrf51.c
In file included from /home/osboxes/Downloads/nRF5_SDK_12_3/components/device/nrf.h:62:0,
from /home/osboxes/Downloads/nRF5_SDK_12_3/components/toolchain/system_nrf51.c:36:
/home/osboxes/Downloads/nRF5_SDK_12_3/components/device/nrf51.h:119:130: fatal error: core_cm0.h: No such file or directory
#include "core_cm0.h" /*!< Cortex-M0 processor and core peripherals */
^
compilation terminated.
Makefile:153: recipe for target '_build/system_nrf51.o' failed
make: *** [_build/system_nrf51.o] Error 1
Update: got this working using Version 11, using the link provided by @joric in #5.
Following the link in the README makes it appear as if you cannot get to version 11. Following the link Joric provides in #5 gives you access to all the versions.
I'm still stuck and as a newbie fumbling my way through things. I'll create a documentation request issue separately while things are fresh on my mind of what I wish I had available to me as a newbie approaching this project!