Skip to content

Commit

Permalink
mr_canhubk3: generate mtd_net when file is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervdPerk-NXP authored and dagar committed Jul 24, 2024
1 parent b38305d commit af36c0b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions boards/nxp/mr-canhubk3/init/rc.board_defaults
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ then
safety_button start
fi

if [ -f "/mnt/qspi/mtd_net" ]
then
else
netman update -i eth0
fi

if param greater -s UAVCAN_ENABLE 0
then
ifup can0
Expand Down

0 comments on commit af36c0b

Please sign in to comment.