-
Hi, i am trying to use stream_flash to build a sample read_write application to understand how it works. i get undefined reference to `__device_dts_ord_141' error while trying to build the application. i have added an overlay file to define partition to flash0 and also tried following the steps in trouble shooting guide https://docs.zephyrproject.org/latest/build/dts/troubleshooting.html but i get the same error everytime. i am new to zephyr and trying to figure out how devicetree works here. terminal output- overlay file(nucleo_h563zi.overlay)- &flash0 { devicetree_generated.h-
prj.conf file- board used- stm32 nucleo_h563zi |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @meghhagupta! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
@anonym943 use |
Beta Was this translation helpful? Give feedback.
-
To set the zephyr/dts/arm/st/h5/stm32h563Xi.dtsi Line 12 in 1903a8f like this
then assign the alias phandle to chosen : |
Beta Was this translation helpful? Give feedback.
To set the
flash-controller
node as chosen, you need to define an alias for it 1st herezephyr/dts/arm/st/h5/stm32h563Xi.dtsi
Line 12 in 1903a8f
like this
then assign the alias phandle to chosen :
zephyr,flash-controller = &flash_controller
.