Skip to content

fhorinek/SkyDrop

Repository files navigation

SkyDrop

!!! If you are looking for updates go to this site (or download files from github as RAW) !!! http://vps.skybean.eu/repo/updates/

I want to ...

Bug reporting etiquette

  • Search issues before posting new bug report/feature request
  • Post Debug.log with the problem (in Debug first Enable debug.log, Clear the log and then recreate the issue)
  • Tell us what was the trigger of the bug (opening menu, landing, certain settings)

Folder structure

skydrop
SkyDrop vario source code
skydrop_sd_bootloader
Bootloader inside the devices
updates
Official firmware updates

External library and code

We are standing on shoulders these giants:

SkyDrop

FatFs - (C)ChaN (http://elm-chan.org/fsw/ff/00index_e.html)
/src/drivers/storage/FatFs
LUFA - (C)Dean Camera (www.lufa-lib.org)
/src/tasks/task_usb/LUFA
Kalman filter - (C)Alistair Dickie (https://github.com/alistairdickie/BlueFlyVario_Android)
/src/fc/kalman.cc
Intel HEX file format reader and converter - (C)Alexander Belchenko (bialix@ukr.net)
/utils/hex2bin/intelhex.py
CParser.py - (C)Luke Campagnola
/utils/ee_maper/CParser.py

Configurator

Angular.js (angular, angular-animate, angular-route) - (C)Google (https://angularjs.org/)
app/bower_components/angular, app/bower_components/angular-animate, app/bower_components/angular-route,
jQuery - (C) The jQuery Foundation (https://jquery.com/)
app/bower_components/jquery
UI Bootstrap - (C) Angular-UI team (https://angular-ui.github.io/bootstrap/)
app/bower_components/angular-bootstrap
Bootstrap - (C) Mark Otto, Jacob Thornton, https://github.com/orgs/twbs/people (http://getbootstrap.com/)
app/bower_components/bootstrap
Angular Chart - (C) Jerome Touffe-Blin (http://jtblin.github.io/angular-chart.js/)
app/bower_components/angular-chart.js
Chart.js - (C) Nick Downie (http://www.chartjs.org/)
app/bower_components/chart.js
seiyria-bootstrap-slider, angular-bootstrap-slider - (C) Kyle J. Kemp (https://github.com/seiyria)
app/bower_components/seiyria-bootstrap-slider, app/bower_components/angular-bootstrap-slider
FileSaver.js - (C) Teleborder, Inc (https://github.com/Teleborder)
app/bower_components/filesaver
angular-ui-switch - (C) Kristijan Sedlak (https://github.com/xpepermint)
app/bower_components/angular-ui-switch

Tools info

Tools we are using:

Eclipse IDE for C/C++ Developers
https://www.eclipse.org/eclipseide/
AVR Eclipse plugin
http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_Eclipse_Plugin
PyDev Eclipse plugin
http://pydev.org/
AVR GCC Toolchain 7.2.0
skydrop/utils/avr-toolchain/build.sh

Build info

  • Open & build project in Eclipse IDE (a directory Release should appear)
  • cd skydrop/Release
  • Run ../utils/build/pre_build.sh
  • make
  • Run ../utils/build/post_build.sh and you can see message *** POST BUILD DONE ***, if everything went good
  • Copy UPDATE.FW and UPDATE.EE from Release dir to root directory on skydrop SD
  • --- OR ---
  • Copy SKYDROP.FW from Release dir to root directory on skydrop SD

Datasheets

All datasheets needed for development can be found in doc directory

Bluetooth connection

pan1026 clasic SPP

$ hcitool scan
Scanning ...
	00:13:43:0E:F5:1E	SkyDrop SPP
	
$ sdptool records 00:13:43:0E:F5:1E
Service Name: Serial Port
Service RecHandle: 0x10000
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 5

^C
$ sudo rfcomm connect 0 00:13:43:0E:F5:1E 5
Connected /dev/rfcomm0 to 00:13:43:0E:F5:1E on channel 5
Press CTRL-C for hangup