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
- 51 Product News - New Product/Product Change Notice/ End-of-life
- 96 Welcome Developers!
- 46 Unboxing & Project Sharing
- 22 Tech Updates
- 3.4K UP Products
- 17 UP 7000
- 1 UP Squared i12
- 11 UP Xtreme i12
- 13 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 23 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 56 UP Squared Pro
- 136 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 264 Starter Kits & Peripheral