嵌入式Elixir飞行控制器。
Elicopter Core aims to be an educational flight controller build using Nerves.
Note: Elicopter Core is still under heavy development, don’t hesitate to contact me for more information.
cd apps/brain
mix deps.get
mix compile
cd apps/brain
iex -S mix
export ELICOPTER_WIFI_SSID=*Your SSID*
export ELICOPTER_WIFI_PASSWORD=*Your Network Password*
Note: WPA-PSK only and you need to rebuild the firmware after changing those settings.
Build the firmware in production environment:
cd apps/brain
MIX_ENV=prod mix firmware
Burn the image to an SD card:
mix firmware.burn
Initialize the custom partition (4) file system:
mkfs.ext4 /dev/DEVICE4 -L DATA
Note: DEVICE should be something like sda, sdb, …
MIX_ENV=prod mix firmware.upgrade
Note: The flight controller needs to be already started and connected to the network.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details.