DTC version unsupported error #west
On a new Ubuntu install, I'm having this issue with Zephyr using West. It's also referenced in this issue, but the fix mentioned there didn't work for me:
$ west build -b nrf51_pca10031
-- west build: build configuration:
source directory: /home/hp1/zephyrproject/zephyr/samples/hello_world
build directory: /home/hp1/zephyrproject/zephyr/samples/hello_world/build
BOARD: nrf51_pca10031 (origin: command line)
-- west build: generating a build system
Zephyr version: 1.14.99
-- Selected BOARD nrf51_pca10031
-- Found west: /home/hp1/.local/bin/west (found suitable version "0.5.7", minimum required is "0.5.6")
CMake Error at /home/hp1/zephyrproject/zephyr/cmake/extensions.cmake:1324 (message):
Assertion failed: The detected dtc version is unsupported.
The version was found to be 1.4.5
But the minimum supported version is 1.4.6
for how to use the SDK's dtc alongside a custom toolchain.
Call Stack (most recent call first):
-- Configuring incomplete, errors occurred!
I did try the two environmental variables, which are now part of the Zephyr instructions, but the problem persists.
I'm unsure how to go about fixing the DTC version issue.