Skip to content

Error: "Unsupported board: sw0 devicetree alias is not defined" in Button Sample #81266

Answered by iamadahn
jayesh0711 asked this question in General
Discussion options

You must be logged in to vote

According to zephyr/include/zephyr/dt-bindings/gpio/microchip-xec-gpio.h file, for example MCHP_GPIO_DECODE_156 goes to XEC_GPIO_HELPER(&gpio_140_176, 14) which goes to &gpio_140_176, 14 which can be rewritten as &gpio_140_176, 0xE. So MCHP_GPIO_DECODE_156 macro means &gpio_140_176, 14.

Replies: 8 comments 19 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@iamadahn
Comment options

@leenaarora18
Comment options

@iamadahn
Comment options

Answer selected by jayesh0711
Comment options

You must be logged in to vote
3 replies
@iamadahn
Comment options

@leenaarora18
Comment options

@iamadahn
Comment options

Comment options

You must be logged in to vote
4 replies
@iamadahn
Comment options

@jayesh0711
Comment options

@iamadahn
Comment options

@leenaarora18
Comment options

Comment options

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

@jayesh0711
Comment options

Comment options

You must be logged in to vote
3 replies
@jayesh0711
Comment options

@jayesh0711
Comment options

@iamadahn
Comment options

Comment options

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

Comment options

You must be logged in to vote
3 replies
@iamadahn
Comment options

@jayesh0711
Comment options

@iamadahn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #81265 on November 12, 2024 09:07.