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 !
Categories
- All Categories
- 105 Announcements & News
- 54 Product News - New Product/Product Change Notice/ End-of-life
- 185 Welcome Developers!
- 55 Unboxing & Project Sharing
- 49 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral