-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Milestone
Description
- Check if is a ARM system
- Check if the ADB has configured
- Download ADB
- Use the adb installed
Check if is arm
import os
os.uname()> cat /sys/firmware/devicetree/base/model
Raspberry Pi 3 Model B Rev 1.2
Check if has configured
- Program exists: https://stackoverflow.com/a/11210185
- Raspberry - Adb file exists: https://github.com/PedalPi/Application/blob/master/application/application.py#L99-L100
Download ADB
# Pi 3
wget https://github.com/PedalPi/adb-arm/raw/master/adb-rpi3
# Pi 2?
wget https://github.com/PedalPi/adb-arm/raw/master/adb-arm-binary