u-blox / u-blox-sho-OpenCPU

Repository with sample code and examples for u-blox Open CPU modules.
22 stars 8 forks source link

Can not build with ubx_evknorab10_nrf5340 #13

Closed letrthong closed 1 year ago

letrthong commented 1 year ago

Hello All,

Hardware info

i referred guide at https://content.u-blox.com/sites/default/files/EVK-NORA-B1_UserGuide_UBX-20030319.pdf at page 25 " EVK-NORA-B1 ->the Nordic Semiconductor nRF5340 "

When I selected "ubx_evknorab10_nrf5340" as the guide but could not build with the log as below. and I pulled code from master branch and copy "ubx_evknorab10_nrf5340" to "C:\v2.2.0\nrf\boards\arm" on windows OS


`'label' is marked as deprecated in 'properties:' in C:/v2.2.0/zephyr/dts/bindings\mtd\nordic,qspi-nor.yaml for node /soc/peripheral@50000000/qspi@2b000/mx25r6435f@0. -- Generated zephyr.dts: C:/Users/HP/dev/peripheral_lbs/build/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/Users/HP/dev/peripheral_lbs/build/zephyr/include/generated/devicetree_generated.h -- Including generated dts.cmake file: C:/Users/HP/dev/peripheral_lbs/build/zephyr/dts.cmake

warning: RPMSG_SERVICE_IPM_TX_NAME (defined at C:/v2.2.0/nrf/boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:100) defined without a type

warning: RPMSG_SERVICE_IPM_RX_NAME (defined at C:/v2.2.0/nrf/boards/arm/ubx_evknorab10_nrf5340/Kconfig.defconfig:104) defined without a type

error: Aborting due to Kconfig warnings

Parsing C:/Users/HP/dev/peripheral_lbs/Kconfig Loaded configuration 'C:/v2.2.0/nrf/boards/arm/ubx_evknorab10_nrf5340/ubx_evknorab10_nrf5340_cpuapp_defconfig' Merged configuration 'C:/Users/HP/dev/peripheral_lbs/prj.conf' CMake Error at C:/v2.2.0/zephyr/cmake/modules/kconfig.cmake:328 (message): command failed with return code: 1 Call Stack (most recent call first): C:/v2.2.0/nrf/cmake/modules/kconfig.cmake:29 (include) C:/v2.2.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include) C:/v2.2.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) C:/v2.2.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate) CMakeLists.txt:8 (find_package)

-- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: 'c:\toolchains\v2.2.0\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\toolchains\v2.2.0\opt\bin\python.exe' '-Bc:\Users\HP\dev\peripheral_lbs\build' -GNinja '-Sc:\Users\HP\dev\peripheral_lbs'

ghost commented 1 year ago

@letrthong , we are working on an updated set of board files as Zephyr has been updated within the nRF Connect SDK v2.2.0.

In the meantime, you can use the Nordic DK files. Our EVK-NORA-B1 is equivalent to the nRF5340DK. You can use nrf5340dk_nrf5340 with the appropriate suffix for the core.

letrthong commented 1 year ago

Currently. I can work nRF SDK v2.0. it is ok

dsconyers commented 1 year ago

@letrthong , we are working on an updated set of board files as Zephyr has been updated within the nRF Connect SDK v2.2.0.

In the meantime, you can use the Nordic DK files. Our EVK-NORA-B1 is equivalent to the nRF5340DK. You can use nrf5340dk_nrf5340 with the appropriate suffix for the core.

Is the updated set of board files still work in progress? Just checking. Thanks!

letrthong commented 1 year ago

Thank you for your support. let me check

ghost commented 1 year ago

We are still at NCS v2.0.2 for EVK-NORA-B10.

ghost commented 1 year ago

EVK-NORA-B10 updated. See https://github.com/u-blox/u-blox-sho-OpenCPU/pull/18.

ghost commented 1 year ago

Merged PR with updates.