Skip to content

Error : undefined reference to '__device_dts_ord_18' #42126

Answered by FRASTM
sachinjairam asked this question in Q&A
Discussion options

You must be logged in to vote

With that overlay

/ {
	zephyr,user {
		/* adjust channel number according to pinmux in board.dts */
		io-channels = <&adc1 15>;
	};
};

there is no pb to run the samples/drivers/adc :

*** Booting Zephyr OS build v3.0.0-rc1-92-g6393d650fc12*
ADC reading: 649                                        
ADC reading: 649                                        
ADC reading: 648                                        
ADC reading: 648                                        
ADC reading: 645                                        

Also runs the tests/drivers/adc/adc_api using the ADC1 channel 15 for the nucleo_h743zi board

Replies: 3 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
2 replies
@sachinjairam
Comment options

@FRASTM
Comment options

FRASTM Jan 31, 2022
Collaborator

Comment options

You must be logged in to vote
0 replies
Answer selected by sachinjairam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #42111 on January 25, 2022 13:42.