2017年8月24日 星期四

Building BetaFlight

Building BetaFlight

@UBUNTU/WIN10-BASH


Toolchain
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
sudo apt-get update
sudo apt-get install gcc-arm-embedded
sudo apt-get install build-essential   /// for gcc if needed

SSH Key
ssh-keygen -t rsa -b 4096 -C "youraccount@git.hub"
cat ~/.ssh/id_rsa.pub
ssh-add ~/.ssh/id_rsa

GitHub new ssh key

Make
sudo apt-get install git   /// if needed
git clone git@github.com:betaflight/betaflight.git
cd betaflight
sudo make TARGET=NAZE


Update
git reset --hard
git pull
sudo make clean TARGET=NAZE


沒有留言:

VirtualBox 空間減肥

sdelete64 -z c: VBoxManage  modifymedium  disk  "/Users/fellow/VirtualBox VMs/Win10/Win10.vdi"  --compact *.vdi 路徑可以在 VirtualBox 儲...