I have my board and thought I would give it a whurl. However, I can’t compile the Blinky app. Output from the west build is below.
`– west build: making build dir C:\nRFConnectSDK\nfed\zephyr\samples\basic\blinky\build pristine
– west build: generating a build system
west : Including boilerplate (Zephyr base): C:/nRFConnectSDK/nfed/zephyr/cmake/app/boilerplate.cmake
At line:1 char:1
- west build -b circuitdojo_feather_nrf9160ns -p >b 2>&1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- + CategoryInfo : NotSpecified: (Including boile…ilerplate.cmake:String) [], RemoteException
- + FullyQualifiedErrorId : NativeCommandError
– Application: C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky
– Zephyr version: 2.3.0-rc1 (C:/nRFConnectSDK/nfed/zephyr)
– Found Python3: C:/Python39/python.exe (found suitable exact version “3.9.0”) found components: Interpreter
– Board: circuitdojo_feather_nrf9160ns
– Found west: C:/Python39/Scripts/west.exe (found suitable version “0.8.0”, minimum required is “0.7.1”)
– Found dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version “1.4.7”, minimum required is “1.4.6”)
– Found toolchain: gnuarmemb (c:/gnuarmemb)
– Found BOARD.dts: C:/nRFConnectSDK/nfed/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160ns.dts
– Generated zephyr.dts: C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky/build/zephyr/zephyr.dts
– Generated devicetree_unfixed.h: C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky/build/zephyr/include/generated/devicetree_unfixed.h
Parsing C:/nRFConnectSDK/nfed/zephyr/Kconfig
Loaded configuration ‘C:/nRFConnectSDK/nfed/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160ns_defconfig’
Merged configuration ‘C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky/prj.conf’
Configuration saved to ‘C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky/build/zephyr/.config’
Kconfig header saved to ‘C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky/build/zephyr/include/generated/autoconf.h’
– The C compiler identification is GNU 8.3.1
– The CXX compiler identification is GNU 8.3.1
– The ASM compiler identification is GNU
– Found assembler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
– Cache files will be written to: C:/nRFConnectSDK/nfed/zephyr/.cache
CMake Error at ../../../cmake/extensions.cmake:1457 (message):
Assertion failed: The toolchain is unable to build a dummy C file. See
CMakeError.log.
Call Stack (most recent call first):
../../../CMakeLists.txt:42 (assert)
– Configuring incomplete, errors occurred!
See also “C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky/build/CMakeFiles/CMakeOutput.log”.
See also “C:/nRFConnectSDK/nfed/zephyr/samples/basic/blinky/build/CMakeFiles/CMakeError.log”.
FATAL ERROR: command exited with status 1: ‘C:\Program Files\CMake\bin\cmake.EXE’
‘-BC:\nRFConnectSDK\nfed\zephyr\samples\basic\blinky\build’ ‘-SC:\nRFConnectSDK\nfed\zephyr\samples\basic\blinky’
-GNinja -DBOARD=circuitdojo_feather_nrf9160ns
`
The cmake.log shows the following
type CMakeError.log
Compiling the C compiler identification source file “CMakeCCompilerId.c” failed.
Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
Build flags:
Id flags:
The output was:
1
c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): in function exit':
exit.c:(.text.exit+0x2c): undefined reference to
_exit’
collect2.exe: error: ld returned 1 exit status
Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” failed.
Compiler: C:/gnuarmemb/bin/arm-none-eabi-gcc.exe
Build flags:
Id flags:
The output was:
1
c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): in function exit':
exit.c:(.text.exit+0x2c): undefined reference to
_exit’
collect2.exe: error: ld returned 1 exit status
>