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:
Alexander Wachter 2020-01-23 16:02:38 +01:00 committed by Maureen Helm
commit 2f44990e9b
16 changed files with 26 additions and 51 deletions

View file

@ -31,6 +31,7 @@
blue-pwm-led = &tri_blue_pwm_led;
sw0 = &user_button_3;
sw1 = &user_button_2;
can-primary = &can0;
};
chosen {