Skip to content

error: undefined reference to `__device_dts_ord_141' #86346

Closed Answered by JarmouniA
anonym943 asked this question in Q&A
Discussion options

You must be logged in to vote

To set the flash-controller node as chosen, you need to define an alias for it 1st here

flash-controller@40022000 {

like this

		flash_controller: flash-controller@40022000 {
			flash0: flash@8000000 {
				reg = <0x08000000 DT_SIZE_M(2)>;
			};
		};

then assign the alias phandle to chosen :
zephyr,flash-controller = &flash_controller.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@anonym943
Comment options

Answer selected by anonym943
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #86338 on February 26, 2025 09:43.