SPI1 Not Reflected in DeviceTree Visual Editor Despite Being Enabled in Overlay (nRF52832 + Zephyr)

  • DeviceTree Visual Editor shows SPI1 as enabled, but the changes are not reflected properly in the GUI or in build behavior.

  • I receive the following build error: " DT_N_S_soc_S_gpio_50000000' undeclared here (not in a function); did you mean 'DT_N_S_soc_S_gpio_50000000_ORD? "
    This seems to indicate that &gpio0 or related auto-generated macros are not being resolved, even though I have the node defined or inherited.What is the proper way to fix the 'DT_N_S_soc_S_gpio_50000000' undeclared error ?

    Thanks in Advance !

Parents Reply
  • You will need to post your changes. Note that there are complete device tree files in build/zephyr subdir.

    You usually wanted to start from one of the nordic exampe codes, not the standard zephyr ones: "Create new Application" => "Copy a sample".

    Standard Zephyr samples sometimes need prj.cfg or overlay changes to make them work with nordic hardware.

Children
Related