-
Notifications
You must be signed in to change notification settings - Fork 167
User Guide: FlyingPI Setup
Michael Corcoran edited this page Jun 20, 2017
·
14 revisions
WORK IN PROGRESS
- Fetch the hardware design files and documentation
- Get some PCBs manufactured (OSH Park is known to be good)
- Obtain all the components listed in the BoM
- A Raspberry Pi 2 or later (not zero, compute etc.)
- BMX055 requires care
- OSRAM LED markings are confusing, the little mark/arrow goes away from the line toward the cathode
- Test with current limited bench supply on battery pins, 12 V 100 mA or so, make sure no smoke, super-low current, check 5 V on 5 V pins
- Test with 3V3 on 3V3 pins, make sure super-low current/no smoke
- Press header onto Pi extension connector
- Requires dRonin build environment
- Install arm toolchain:
sudo apt install gcc-arm-linux-gnueabihf
PI_CROSS_SIM=yes make sim
make ef_flyingpio
- Obtain latest Raspbian image, lite is fine (2017-04-10 is known to work).
-
Unzip, write to your SD Card (
umount /dev/sdX1
etc.,dd bs=4M status=progress if=20xx-xx-xx-raspbian-jessie-lite.img -of /dev/sdX
) - Enable SSH on first boot (mount the SD card (reinsert on desktop distros), cd into boot partition,
touch ssh
) - Connect Ethernet and power up Pi
- Enable SSH (semi?)permanently, ssh into Pi and
sudo raspi-config
> Interfacing Options > SSH - Copy
flyingpi.cfg
,flyingpio.dts
,flyingpio_eeprom.txt
fromflight/targets/flyingpio
,sim.elf
frombuild/sim-pi
, andef_flyingpio.hex
frombuild/flyingpio/
to home dir on pi - Proceed with icee steps...