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 Children
  • Hi, haven't tried build in command. with the manual overlay modifications itself , we could able to build the program which is meant to establish a SPI communication. I tried this copy sample of 'Blinky' Program and edited the overlay and main code to run the program in the way i want. but its throwing error : showing DT_N_S_soc_S_gpio_50000000' undeclared here (not in a function); 

Related