How to distinct which hardware is program running on : UP / UP4000 /UP7000
Lubo
New Member Posts: 41 ✭✭
I have to use same program for multiple instances running on different hw moules. I actualy use ubilinux/UPBoard, as well as ubuntu/UP400 and ubuntu/UP7000 for some instances. How can I check which version of hw/module is actually my program ( writen in c ) running on ?
Tagged:
Best Answer
-
Hi Sir
Please try this command to check borad_name from dmi in C
read /sys/class/dmi/id/board_nameBest Regards,
Harry Chiu
Answers
-
@HarryChiu said:
Please try this command to check borad_name from dmi in C
read /sys/class/dmi/id/board_nameit works.Thank you for help !