Hi,
I cloned zephyr project, setup zephyr SDK 0.9, added linaro as a remote and fetched carbon branch, as instructed in the docs.
When I tried to make -C samples/shell BOARD=96b_carbon
, it failed to make target. With little investigation, I found that it was looking for,
zephyr-sdk/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-eabi/arm-poky-eabi-gcc
All combinations of keywords reach this page but couldn’t manage to get any information out it.
Hot Fix:
To get the setup to build, I had to download gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2 and then export the folowing environment variabled from my ~/.zephyrrc
.
export ZEPHYR_gcc_VARIANT=gccarmemb
export gccARMEMB_TOOLCHAIN_PATH="~/bin/gcc-arm-none-eabi"
Upadate installation guide?
Obviously, I’m missing some step, but I don’t see this or any such info mentioned in the Carbon doc page. I have a lot of experience setting up toolchains but this did throw me off guard for some time. For someone who is new to the carbon ecosystem, I would want to make absolutely sure that the sample programs build effortlessly.