How to distinct which hardware is program running on : UP / UP4000 /UP7000
Options
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 !
Categories
- All Categories
- 63 Announcements & News
- 86 Product News - New Product/Product Change Notice/ End-of-life
- 104 Welcome Developers!
- 123 Unboxing & Project Sharing
- 22 Tech Updates
- 3.5K UP Products
- 24 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 15 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 67 UP 4000
- 24 UP Xtreme i11
- 34 UP Squared 6000
- 58 UP Squared Pro
- 144 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 75 UP Core Plus
- 223 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral