mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-20 04:12:05 +08:00
d8e5331c6e
date: 2023-08-22T14:21:17 commit: 6148ce3d77530281f890970718e9c42b2acc5ff1
Welcome to the jungle
Firmware for the Panda Jungle testing board. Available for purchase at the comma shop.
udev rules
To make the jungle usable without root permissions, you might need to setup udev rules for it. On ubuntu, this should do the trick:
sudo tee /etc/udev/rules.d/12-panda_jungle.rules <<EOF
SUBSYSTEM=="usb", ATTRS{idVendor}=="bbaa", ATTRS{idProduct}=="ddcf", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="bbaa", ATTRS{idProduct}=="ddef", MODE="0666"
EOF
sudo udevadm control --reload-rules && sudo udevadm trigger
updating the firmware
Updating the firmware is easy! In the board/jungle/ folder, run:
./flash.py
If you somehow bricked your jungle, you'll need a comma key to put the microcontroller in DFU mode for the V1.
For V2, the onboard button serves this purpose. When powered on while holding the button to put it in DFU mode, running ./recover.sh in board/ should unbrick it.