can: Introduce can-primary alias
This commit introduces the can-primary alias to identify the primary CAN interface. This alias is used for all samples and tests, so they don't need to probe the right interface. Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
This commit is contained in:
parent
4fcf80d64f
commit
2f44990e9b
16 changed files with 26 additions and 51 deletions
|
@ -31,6 +31,7 @@
|
|||
blue-pwm-led = &tri_blue_pwm_led;
|
||||
sw0 = &user_button_3;
|
||||
sw1 = &user_button_2;
|
||||
can-primary = &can0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue