Closed BorjaOuterelo closed 6 years ago
Hi @BorjaOuterelo you should use arm-none-eabi-gcc
cross-compiler to build. Is the standard toolchain for STM ARM Cortex devices.
But the idea is to use the one located at the buildroot, which builds the proper for each board. This way the docker file will be self-contained. So the idea is to use the one is deployed under buildroot
update comment
Hi.
I am building my application using stm32-e407 provided docker file. On that file I found:
These lines are building the buildroot for the target. A couple of lines underneath:
RUN export PATH="/ ":$PATH && cd nuttx && make
is found. This builds nuttx and I think the intention is building It with the freshly built buildroot but if I changemake
formake V=2
I found the following output:On that output something looks wrong to me:
arm-none-eabi-gcc
that is not any of the tools I have on the intended toolchain root "/root/nuttx/buildroot/build_arm_nofpu/staging_dir/bin/" Is this correct? Which toolchain is the one that I shall be using to compile and link an external library? arm-none-eabi or arm-nuttx-eabi?Cheers