项目作者: elicopter

项目描述 :
嵌入式Elixir飞行控制器。
高级语言: Elixir
项目地址: git://github.com/elicopter/core.git
创建时间: 2016-10-20T09:30:14Z
项目社区:https://github.com/elicopter/core

开源协议:

下载


" class="reference-link">Elicopter Core

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.

Build From Sources

  • Build
  1. cd apps/brain
  2. mix deps.get
  3. mix compile

Develop

  1. cd apps/brain
  2. iex -S mix

Release

  • Configure your WIFI network:
    1. export ELICOPTER_WIFI_SSID=*Your SSID*
    2. export ELICOPTER_WIFI_PASSWORD=*Your Network Password*

Note: WPA-PSK only and you need to rebuild the firmware after changing those settings.

SDCard

  • Build the firmware in production environment:

    1. cd apps/brain
    2. MIX_ENV=prod mix firmware
  • Burn the image to an SD card:

    1. mix firmware.burn
  • Initialize the custom partition (4) file system:

    1. mkfs.ext4 /dev/DEVICE4 -L DATA

    Note: DEVICE should be something like sda, sdb, …

Network Firmware Update

  • Build and deploy the firmware directly through network:
    1. MIX_ENV=prod mix firmware.upgrade

Note: The flight controller needs to be already started and connected to the network.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.