Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build network echo_server for nucleo_f767zi #30792

Closed
jukkar opened this issue Dec 16, 2020 · 2 comments
Closed

Cannot build network echo_server for nucleo_f767zi #30792

jukkar opened this issue Dec 16, 2020 · 2 comments
Assignees
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug

Comments

@jukkar
Copy link
Member

jukkar commented Dec 16, 2020

Describe the bug
Following dts errors are shown when trying to compile echo_server sample app for nucleo_f767zi

west build -d build -b nucleo_f767zi samples/net/sockets/echo_server
-- west build: generating a build system
Including boilerplate (Zephyr base (cached)): ./zephyr/cmake/app/boilerplate.cmake
-- Application: ./zephyr/samples/net/sockets/echo_server
-- Zephyr version: 2.4.99 (./zephyr)
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: nucleo_f767zi
-- Cache files will be written to: ~/.cache/zephyr
-- Found toolchain: zephyr (/opt/zephyr-sdk)
-- Found dtc: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: ./zephyr/boards/arm/nucleo_f767zi/nucleo_f767zi.dts
nucleo_f767zi.dts.pre.tmp:329.8-335.6: ERROR (phandle_references): /soc/timers@40010000/pwm: Reference to non-existent node or label "tim1_ch3_pe13"

  also defined at nucleo_f767zi.dts.pre.tmp:1937.12-1940.4
nucleo_f767zi.dts.pre.tmp:580.22-588.5: ERROR (phandle_references): /soc/adc@40012000: Reference to non-existent node or label "adc1_in0_pa0"

  also defined at nucleo_f767zi.dts.pre.tmp:1962.7-1965.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_mdc_pc1"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_rxd0_pc4"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_rxd1_pc5"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_ref_clk_pa1"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_mdio_pa2"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_crs_dv_pa7"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_tx_en_pg11"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_txd0_pg13"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
nucleo_f767zi.dts.pre.tmp:689.26-701.5: ERROR (phandle_references): /soc/ethernet@40028000: Reference to non-existent node or label "eth_txd1_pb13"

  also defined at nucleo_f767zi.dts.pre.tmp:1969.6-1980.3
ERROR: Input tree has errors, aborting (use -f to force output)
CMake Error at ./zephyr/cmake/dts.cmake:209 (message):
  command failed with return code: 2
Call Stack (most recent call first):
  ./zephyr/cmake/app/boilerplate.cmake:506 (include)
  ./zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  ./zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: ~/.local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B./zephyr/build -S./zephyr/samples/net/sockets/echo_server -GNinja

To Reproduce
west build -d build -b nucleo_f767zi samples/net/sockets/echo_server

Environment (please complete the following information):

  • OS: Fedora 33
  • SDK 0.11.3
  • Commit SHA: 7a3f9c4
@jukkar jukkar added bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug area: Networking platform: STM32 ST Micro STM32 labels Dec 16, 2020
@erwango
Copy link
Member

erwango commented Dec 17, 2020

@jukkar can you try west udpate ?

@jukkar
Copy link
Member Author

jukkar commented Dec 17, 2020

Indeed that was the case. I forgot to update the HAL. Sorry for the noise.

@jukkar jukkar closed this as completed Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants