Skip to content

Shell aliases #69156

Closed Answered by nixward
diegoherranz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, you can use an overlay or add this property to your gpio device tree nodes to define line names for each pin of your port like this:

https://github.com/zephyrproject-rtos/zephyr/blob/main/boards%2Farm%2Fnrf52840dk_nrf52840%2Fnrf52840dk_nrf52840.dts#L153

But at present when using the shell you still need to specify the port before the line-name. You can use tab complete to discover what line names are provided by the port once the port is specified in the shell command.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by diegoherranz
Comment options

You must be logged in to vote
0 replies
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