This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

custom board in zephyr

Hi, 

I am trying to create a custom board and add it to the zephyr app. Currently, I have added boards/arm/irnas_izoramv21 file to my application folder. When I am building the project I call:
west build -p always -b irnas_izoramv21ns -- -DBOARD_ROOT=${PWD}

but I get an error:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- west build: making build dir /workdir/ncs/my_blinky/build pristine
-- west build: build configuration:
source directory: /workdir/ncs/my_blinky
build directory: /workdir/ncs/my_blinky/build
BOARD: irnas_izoramv21ns (origin: command line)
-- west build: generating a build system
-- Using application from '/workdir/ncs/my_blinky'
Zephyr version: 2.1.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.9", minimum required is "3.4")
-- Selected BOARD irnas_izoramv21ns
-- Found west: /usr/local/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
-- Cache files will be written to: /workdir/.cache//zephyr
USING OUT OF TREE BOARD
-- Loading /workdir/ncs/my_blinky/boards/arm/irnas_izoramv21/irnas_izoramv21ns.dts as base
Devicetree configuration written to /workdir/ncs/my_blinky/build/zephyr/include/generated/generated_dts_board.conf
Parsing Kconfig tree in /workdir/ncs/zephyr/Kconfig
/workdir/ncs/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
Loaded configuration '/workdir/ncs/my_blinky/boards/arm/irnas_izoramv21/irnas_izoramv21ns_defconfig'
Merged configuration '/workdir/ncs/my_blinky/prj.conf'
Configuration saved to '/workdir/ncs/my_blinky/build/zephyr/.config'
-- The C compiler identification is GNU 7.3.1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

From what I read this should be easy thing to do, but for some reason it is not working.
I attached the files for the board.

 irnas_izoramv21.zip

Do you know what could be the problem?