Re: marat


Marc Herbert
 

Try removing D: from-DBOARD_ROOT=D:\CoIDE\UPS_SecurityBoard\boards

 

You can also try a relative path.

 

Marc

 

From: <users@...> on behalf of Erwan Gouriou <erwan.gouriou@...>
Date: Friday, 13 September 2019 at 08:06
To: "murad.durdyev.1989@..." <murad.durdyev.1989@...>
Cc: users <users@...>
Subject: Re: [Zephyr-users] marat

 

Hi Murad,

 

Seems Cmake somehow convert you build path to a reserved Cmake string that trigger the issue.

I'm not familiar with build on windows, but I'd suggest to work around your build path.

 

Erwan

 

On Fri, 13 Sep 2019 at 15:47, murad.durdyev.1989 via Lists.Zephyrproject.Org <murad.durdyev.1989=mail.ru@...> wrote:

Hi! I make new board (stm32l433) and i cant start building with "west". It's messages in my Windows terminal. What i do wrong?

D:\CoIDE\UPS_SecurityBoard\sample_a_board>west build -b peus_l433rc -- -DBOARD_ROOT=D:\CoIDE\UPS_SecurityBoard\boards

-- west build: build configuration:

       source directory: D:\CoIDE\UPS_SecurityBoard\sample_a_board

       build directory: D:\CoIDE\UPS_SecurityBoard\sample_a_board\build

       BOARD: peus_l433rc (origin: command line)

-- west build: generating a build system

Zephyr version: 2.0.0

-- Found PythonInterp: C:/Python37/python.exe (found suitable version "3.7.4", minimum required is "3.4")

-- Selected BOARD peus_l433rc

-- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.6.2", minimum required is "0.6.0")

-- Loading D:/CoIDE/UPS_SecurityBoard/sample_a_board/boards/arm/peus_l433rc/peus_l433rc.dts as base

-- Overlaying C:/zephyrproject/zephyr/dts/common/common.dts

Device tree configuration written to D:/CoIDE/UPS_SecurityBoard/sample_a_board/build/zephyr/include/generated/generated_dts_board.conf

Parsing Kconfig tree in C:/zephyrproject/zephyr/Kconfig

Loaded configuration 'D:/CoIDE/UPS_SecurityBoard/sample_a_board/boards/arm/peus_l433rc/peus_l433rc_defconfig'

Merged configuration 'D:/CoIDE/UPS_SecurityBoard/sample_a_board/prj.conf'

Configuration saved to 'D:/CoIDE/UPS_SecurityBoard/sample_a_board/build/zephyr/.config'

-- Cache files will be written to: C:\Users\Lenovo\AppData\Local/.cache/zephyr

-- 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:/gnu_arm_embedded/bin/arm-none-eabi-gcc.exe

-- Performing Test toolchain_is_ok

-- Performing Test toolchain_is_ok - Success

CMake Error at C:/zephyrproject/zephyr/cmake/extensions.cmake:371 (add_library):

  The target name

  "D:__CoIDE__UPS_SecurityBoard__sample_a_board__boards__arm__peus_l433rc" is

  reserved or not valid for certain CMake features, such as generator

  expressions, and may result in undefined behavior.

Call Stack (most recent call first):

  C:/zephyrproject/zephyr/cmake/extensions.cmake:348 (zephyr_library_named)

  boards/arm/peus_l433rc/CMakeLists.txt:4 (zephyr_library)

 

 

CMake Error at C:/zephyrproject/zephyr/cmake/extensions.cmake:387 (target_sources):

  Cannot specify sources for target

  "D:__CoIDE__UPS_SecurityBoard__sample_a_board__boards__arm__peus_l433rc"

  which is not built by this project.

Call Stack (most recent call first):

  boards/arm/peus_l433rc/CMakeLists.txt:5 (zephyr_library_sources)

 

 

CMake Error at C:/zephyrproject/zephyr/cmake/extensions.cmake:391 (target_include_directories):

  Cannot specify include directories for target

  "D:__CoIDE__UPS_SecurityBoard__sample_a_board__boards__arm__peus_l433rc"

  which is not built by this project.

Call Stack (most recent call first):

  boards/arm/peus_l433rc/CMakeLists.txt:6 (zephyr_library_include_directories)

 

 

Including module: atmel in path: C:\zephyrproject\modules\hal\atmel

Including module: civetweb in path: C:\zephyrproject\modules\lib\civetweb

Including module: esp-idf in path: C:\zephyrproject\modules\hal\esp-idf\zephyr

Including module: fatfs in path: C:\zephyrproject\modules\fs\fatfs

Including module: qmsi in path: C:\zephyrproject\modules\hal\qmsi

Including module: cypress in path: C:\zephyrproject\modules\hal\cypress

Including module: nordic in path: C:\zephyrproject\modules\hal\nordic

Including module: openisa in path: C:\zephyrproject\modules\hal\openisa

Including module: microchip in path: C:\zephyrproject\modules\hal\microchip

Including module: silabs in path: C:\zephyrproject\modules\hal\silabs

Including module: st in path: C:\zephyrproject\modules\hal\st

Including module: stm32 in path: C:\zephyrproject\modules\hal\stm32

Including module: ti in path: C:\zephyrproject\modules\hal\ti

Including module: libmetal in path: C:\zephyrproject\modules\hal\libmetal

Including module: lvgl in path: C:\zephyrproject\modules\lib\gui\lvgl

Including module: mbedtls in path: C:\zephyrproject\modules\crypto\mbedtls

Including module: mcumgr in path: C:\zephyrproject\modules\lib\mcumgr

Including module: nffs in path: C:\zephyrproject\modules\fs\nffs

Including module: nxp in path: C:\zephyrproject\modules\hal\nxp

Including module: open-amp in path: C:\zephyrproject\modules\lib\open-amp

Including module: openthread in path: C:\zephyrproject\modules\lib\openthread

Including module: segger in path: C:\zephyrproject\modules\debug\segger

Including module: tinycbor in path: C:\zephyrproject\modules\lib\tinycbor

Including module: littlefs in path: C:\zephyrproject\modules\fs\littlefs

-- Configuring incomplete, errors occurred!

See also "D:/CoIDE/UPS_SecurityBoard/sample_a_board/build/CMakeFiles/CMakeOutput.log".

See also "D:/CoIDE/UPS_SecurityBoard/sample_a_board/build/CMakeFiles/CMakeError.log".

ERROR: command exited with status 1: 'D:\ProgramFiles\CMake\Programm\bin\cmake.EXE' '-BD:\CoIDE\UPS_SecurityBoard\sample_a_board\build' '-SD:\CoIDE\UPS_SecurityBoard\sample_a_board' -GNinja -DBOARD=peus_l433rc '-DBOARD_ROOT=D:\CoIDE\UPS_SecurityBoard\boards'

Join users@lists.zephyrproject.org to automatically receive all group messages.