1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00
Commit Graph

536 Commits

Author SHA1 Message Date
Alessio Morale
ad42ca7f16 Merge remote-tracking branch 'origin/amorale/OP-1658_sensor_overhaul_next' into next 2015-02-22 16:28:04 +01:00
abeck70
4032b24a6f Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1721 2015-02-20 18:34:09 +11:00
James Duley
911ddff2d5 OP-1735 build fails with tidle in path: tidy after review comment 2015-02-20 10:48:51 +13:00
James Duley
624767a18d OP-1735 build fails with tidle in path:fixed 2015-02-20 10:23:40 +13:00
lilvinz
745bf1a9db firmware_defs.mk: add support for build paths containing @ 2015-02-20 10:22:18 +13:00
abeck70
b9d7408da6 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1721 2015-02-19 16:44:52 +11:00
abeck70
171d335d76 OP-1721 C++ compile review comments 2015-02-19 12:45:21 +11:00
James Duley
a70c972572 OP-1733_version-info.py_check_for_json_first 2015-02-19 10:43:15 +13:00
abeck70
53482be09c OP-1721 C++ and ARM tools
Enable revo C++ support:
1. Set USE_CXX to enable compliation and linkage of C++ source code
2. Disables rtti and exceptions
3. operator new and delete call pios malloc/free
4. Static constructor invocation supported
5. Additional methods, compile options, and need to have main as a cpp to solve various link issues when using static constructors but to avoid adding unnecessary libs.
6. Upgrade arm tools
2015-02-13 12:56:04 +11:00
Alessio Morale
49b8b1f93e OP-1658 - Add PIOS_SENSORS and Sensor framework API 2015-02-03 00:00:05 +01:00
m_thread
fe404f1e33 OP-1628 Fixed DFUUtil installation in Tools.mk 2015-01-19 23:59:44 +01:00
abeck70
3e830b91d5 macqt54 remove files no longer avail 2015-01-07 12:45:25 +11:00
abeck70
d8792826ee macqt5.4 qt_addons fix 2015-01-07 12:36:00 +11:00
abeck70
e272ddd264 additional mac 5.4 changes 2015-01-07 11:35:22 +11:00
abeck70
59be86bc70 qt5.4 mac tools.mk support
Coded....testing now.
2015-01-07 11:01:39 +11:00
Philippe Renon
ab952b0f03 OP-1656 minor post Qt 5.4.0 upgrade cleanups 2015-01-04 12:33:42 +01:00
Philippe Renon
5b2eac268a OP-1656 upgraded to Qt 5.4.0 (linux) - code compiles - GCS not tested... 2015-01-02 22:22:31 +01:00
Philippe Renon
ac6e0b0699 OP-1656 upgraded to Qt 5.4.0 (windows) - code compiles - GCS not tested... 2014-12-22 21:17:52 +01:00
James Duley
993eeeda75 OP-1639 make non-git source: added save version info to json 2014-12-01 10:02:32 +13:00
James Duley
bf335d6eaa OP-1639 make non-git source: added load version info from json 2014-12-01 10:01:56 +13:00
Alessio Morale
e553014596 Merge branch 'amorale/OP-1476_1477_1275_GPSV9_pios_firmware_bootloader' into next 2014-10-03 00:37:55 +02:00
Fredrik Larsson
cfa0ef4671 For Mac testing Qt revert 2014-10-02 20:54:24 +10:00
Alessio Morale
9e0596c2c5 Merge remote-tracking branch 'origin/amorale/OP-1379_ext_led_notification_module_new' into next
Conflicts:
	Makefile
	flight/targets/boards/discoveryf4bare/firmware/Makefile
	flight/targets/boards/revolution/firmware/Makefile
2014-09-29 21:26:31 +02:00
Fredrik Larson
18b35e858f Mac stuff 2014-09-27 21:39:25 +10:00
abeck70
81b2224b7b OSX Qt5.3.2 changes to tools.mk 2014-09-17 21:33:02 +10:00
Alessio Morale
c44dac2447 OP-1476 - fix bootloader for serial support 2014-09-16 22:40:53 +02:00
Alessio Morale
ef14235cbe OP-1275 Remove some other code from minimal app profile 2014-09-16 00:42:50 +02:00
Alessio Morale
ff82d50ee0 OP-1275 add an APP_MINIMAL flag that optionally omits most of the stuffs (flight related stuffs and sensors for example) 2014-09-16 00:42:49 +02:00
Alessio Morale
4d1e8cf5a7 OP-1275 F0 support: fix make scripts, bootloader size, linker scripts, add other missing pios drivers. 2014-09-16 00:42:49 +02:00
Alessio Morale
7eca9f80e3 OP-1275 Initial commit for f0 support: add CMSIS, Std Peripheral drivers 2014-09-16 00:42:48 +02:00
Fredrik Larsson
aebf41aad7 Merge remote-tracking branch 'origin/parched/OP-1478_fix_win_qtc_variables' into next 2014-09-14 22:50:43 +10:00
James Duley
5d55766573 OP-1478 fix_win_qtc_variables: reworded comments 2014-09-14 11:55:32 +12:00
James Duley
684180ef87 OP-1478: added a qmake variable OPENSSL_DIR 2014-09-13 17:48:30 +12:00
Alessio Morale
2907af618f OP-1465 - fixes for some review suggestions 2014-09-08 14:39:41 +02:00
Alessio Morale
e549c71da6 OP-1379 - add unit testing 2014-09-06 12:11:52 +02:00
Alessio Morale
ec07016aee OP-1465 - Fix build on windows, force the removal on cleanup 2014-09-01 14:51:43 +02:00
Alessio Morale
c5d57a763e OP-1465 - Update stm32flash repository to https://code.google.com/p/stm32flash/ and fetch a newer version (a358bd1f025d) 2014-08-29 21:13:13 +02:00
Fredrik Larson
8c65661e54 Merge remote-tracking branch 'origin/parched/OP-1460_copy_icu_again' into next 2014-08-28 09:59:25 +10:00
Fredrik Larson
8110d92059 Don't need sudo for brew 2014-08-28 04:50:30 +10:00
James Duley
135b5d635e updated icu from 51 to 52 2014-08-26 10:30:24 +12:00
James Duley
47e110050d Merge branch 'python_fixes' into OP-1324_fix_build_when_python_isnt_python2 2014-08-19 11:50:41 +12:00
James Duley
c2af28246f redirect stderr to stdout for shell python --version 2014-08-19 11:50:03 +12:00
James Duley
a4efd8539a Merge branch 'python_fixes' into OP-1324_fix_build_when_python_isnt_python2 2014-08-19 10:42:33 +12:00
James Duley
f4ddbe53eb fixed whitespace 2014-08-19 10:41:24 +12:00
Corvus Corax
bc8ccb7be7 Revert "Revert "Merge remote-tracking branch 'origin/parched/OP-1324_fix_build_when_python_isnt_python2' into next""
This reverts commit 449653f01e.
2014-08-16 23:59:37 +02:00
Fredrik Larson
c620c7fc29 Change message about installing 7zip on Linux, packaging changed in latest
LTS
2014-08-17 07:19:29 +10:00
Fredrik Larson
449653f01e Revert "Merge remote-tracking branch 'origin/parched/OP-1324_fix_build_when_python_isnt_python2' into next"
This reverts commit 4592de13bd, reversing
changes made to a309537e62.
2014-08-16 23:53:02 +10:00
Corvus Corax
4592de13bd Merge remote-tracking branch 'origin/parched/OP-1324_fix_build_when_python_isnt_python2' into next 2014-08-16 13:53:16 +02:00
abeck70
eefe40c6a6 changed qt patch to mac target 2014-08-14 06:56:31 +10:00
abeck70
7cd4164358 following op-11400 qt 531 upgrade branch. Recommit mac tools.mk changes 2014-08-14 06:25:18 +10:00
m_thread
2e7eea7383 Merge remote-tracking branch 'origin/next' into thread/OP-1400_Qt_5.3.1_Upgrade 2014-08-12 10:37:15 +02:00
Alessio Morale
1f74977472 OP-1379 add base types for colour, Initial ext rgb led api definition 2014-08-12 09:44:44 +02:00
Fredrik Arvidsson
61d45181a6 OP-1398 OP-1399 OP-1400 OP-1401 Qt 5.3.1 upgrade. Cleaning up merge artifacts committed by mistake. 2014-08-12 07:37:23 +02:00
Fredrik Arvidsson
1558c6d735 Merge remote-tracking branch 'origin/shared/OP-1398_qt531_upgrade' into thread/OP-1400_Qt_5.3.1_Upgrade
Conflicts:
	make/tools.mk
2014-08-11 23:25:37 +02:00
Corvus Corax
c5fae5ee84 Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation 2014-08-09 10:43:48 +02:00
m_thread
717de29648 OP-1400 Upgraded make and copydata files to use Qt 5.3.1 Opensource. 2014-08-08 13:48:36 +02:00
Alessio Morale
57a43a5587 OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one 2014-08-02 20:48:34 +02:00
Corvus Corax
5edb2dbae3 Merge branch 'andrecillo/OP-1317_IMU_wind_estimation' into corvuscorax/OP-1317_IMU_wind_estimation 2014-07-26 17:01:03 +02:00
Andres
ffabbc577c OP-1317 moved Butterworth filter code into flight/libraries/math/butterworth.* 2014-07-22 20:03:43 +02:00
Philippe Renon
5ee35cdd75 OP-1398 OP-1399 Windows Qt 5.3.1 upgrade - upgraded qt_sdk_install to install Qt 5.3.1 2014-07-14 18:26:25 +02:00
Laurent Lalanne
db63158bc6 OP-1390 Updated wiki link for download, removed extra space added. 2014-07-04 18:36:43 +02:00
Laurent Lalanne
99db0c5025 OP-1390 First commit - Need valid download link 2014-07-04 17:21:39 +02:00
James Duley
455c33fb29 check whether python is python 2 use python2 if not 2014-07-04 14:43:15 +12:00
Alessio Morale
c6a773363f Merge branch 'amorale/OP-943_add_malloc_for_ccsram' into next
Conflicts:
	flight/pios/common/pios_adxl345.c
	make/apps-defs.mk
2014-06-22 19:31:03 +02:00
Alessio Morale
a03ad41bab Merge branch 'amorale/OP-1365_pios_instrumentation' into next
Conflicts:
	flight/modules/Attitude/attitude.c
2014-06-22 19:13:46 +02:00
Alessio Morale
f30dd414ac Merge branch 'amorale/OP-1227_cc_high_cpu_utilization' into next 2014-06-22 16:06:08 +02:00
Alessio Morale
b3b90f1f66 OP-943 inline pios_mem function have issues with simposix. 2014-06-11 22:15:40 +02:00
Alessio Morale
613910e7cb OP-1365 fix some indentation 2014-06-11 18:57:19 +02:00
Alessio Morale
88e392260c OP-1365 Flight code instrumentation API: Allow to pass DIAG_INSTRUMENTATION=YES option to make to enable instrumentation without changing board level settings 2014-06-10 21:49:30 +02:00
Alessio Morale
520e721bdd OP-1365 Flight code instrumentation API: PiOS Implementation 2014-06-06 22:15:18 +02:00
Alessio Morale
f1923c2361 OP-1258 fix an issue with all_sdk_install on windows (still pointing to deprecated targets) 2014-05-11 13:26:36 +02:00
Alessio Morale
f9f7b62f9d OP-1258 fix an issue with Windows package (root folder is missing in the zip file) 2014-05-11 13:26:36 +02:00
Alessio Morale
858d81d501 OP-1258 make TOOL_INSTALL_TEMPLATE md5 url optional so that it defaults to fileurl.md5 2014-05-11 13:26:35 +02:00
Alessio Morale
a1afa6e889 OP-1258 updated to 2014q1, also allow to manually specify MD5 file url
Conflicts:
	make/tools.mk
2014-05-11 13:26:35 +02:00
Alessio Morale
7cc47e4cdc OP-1258 update toolchain installer for Linux to 4.8-2013q4, change ARM_SDK_DIR accordingly 2014-05-11 13:26:35 +02:00
Alessio Morale
3c5a41049b Merge branch 'amorale/OP-1302_updated_led_behaviour' into next 2014-05-11 12:01:53 +02:00
Alessio Morale
16df6bc58c Merge branch 'amorale/OP-1307_discovery_f4_bare' into next 2014-05-08 22:56:03 +02:00
Alessio Morale
e5d6726bb6 Merge remote-tracking branch 'origin/next' into amorale/OP-1302_updated_led_behaviour 2014-05-08 22:27:08 +02:00
Corvus Corax
e9d1a2af4b OP-1309 get rid of this horrible bound() function code duplication throughout entire flight code and put it into libraries/math 2014-04-26 17:48:54 +02:00
Alessio Morale
0aa9ef4b57 OP-1307 Bare f4 discovery platform with no sensor, for development pourpose 2014-04-22 23:46:27 +02:00
Alessio Morale
299f388245 OP-1302 Add a stub pios_notify API for user interaction/notifications
right now all notifications produces the same output, the DRAW_ATTENTION sequence
2014-04-13 17:42:57 +02:00
Alessio Morale
10a0f69c82 OP-1255 Win:Fixed 7z detection when it is not in path but under tools/bin
Lin:Switch from 7zr to 7za due to wider availability
2014-04-08 14:11:17 +02:00
Alessio Morale
c83284b21e Merge remote-tracking branch 'origin/next' into shared/OP-1252_update_to_qt521 2014-04-08 11:31:23 +02:00
Andrés Chavarría Krauser
f8f53d8801 OP-1273 Adaptations to include MS4525DO PixHawk speed sensor 2014-03-25 09:18:25 +01:00
Philippe Renon
eed38b7f35 OP-1255 removed mingw_install and python_install make targets (obsolete since Qt 5.1.1. upgrade) 2014-03-21 18:53:16 +01:00
Philippe Renon
93cb920cef OP-1255 Qt 5.2.1 upgrade : put back qt.conf generation to work around QTBUG-33254 2014-03-21 18:30:39 +01:00
Philippe Renon
40f648eab1 OP-1255 Windows toolchain : upgraded Qt from version 5.1.1 to version 5.2.1
- Qt installer is now downloaded from official web site
- Qt is not anymore tweaked to contain the SDL SDK (see OP-1263)
- Installing Qt now requires 7-Zip to be available (run "./make/scripts/win_sdk_install.sh [<OpenPilot tools dir>]" to get it)
- SLD needs to be installed with "make sdl_sdk_install"
KNOWN ISSUE : GCS build fails unless V=1 command line arg is provided
2014-03-20 00:46:05 +01:00
Philippe Renon
2ee3780d08 OP-1263 SDL is now downloaded and installed independently and is not added to Qt anymore 2014-03-17 20:43:38 +01:00
Alessio Morale
d778e2612c OP-1254 fix md5 url 2014-03-08 15:06:17 +01:00
Alessio Morale
b1f1c4cd0f OP-1254 Hide 7z check command line from output 2014-03-08 14:23:15 +01:00
Alessio Morale
a600ed93dc OP-1254 Check if p7zip is installed, use 7zr rather than 7z 2014-03-08 14:19:24 +01:00
Alessio Morale
0dff941cbe OP-1254 update toolchain installer to support Qt 5.2.1 2014-03-08 14:18:45 +01:00
Corvus Corax
9a6072d58c Merge branch 'next' into corvuscorax/OP-942_task-diagnostics-for-callbacks
Conflicts:
	flight/targets/boards/simposix/firmware/Makefile
2014-02-07 00:31:32 +01:00
Corvus Corax
723e22aa1a OP-1211 time_measurement_helper 2014-02-04 19:05:17 +01:00
Corvus Corax
5b9a17f630 OP-942 moved DelayedCallbackScheduler into pios/common 2014-02-02 20:31:37 +01:00
Alessio Morale
98076fb194 OP-1160: fixes from review 2014-01-15 11:19:35 +01:00
Alessio Morale
eeec9db3b4 OP-1160 fix openssl, missing _version receipt 2014-01-14 15:06:36 +01:00
Alessio Morale
0423d4ce99 OP-1160 Copydata was pointing to OPENSSL instead of OPENSSL_DIR, added related
export in tool.mk
2014-01-14 12:50:31 +01:00
Alessio Morale
1efefbd586 Fix an isssue with OpenSSL installation that was causing all_sdk_install
to fail on windows.
2014-01-14 11:05:16 +01:00
Alessio Morale
c9fad94b51 OP-1160 use commit.template config instead of a hook.
Added also a _clean target to unset that config

+review OPReview-611
2014-01-14 09:42:04 +01:00
Alessio Morale
6a3c5d05c7 OP-1160 fix +x attribute for prepare commit hook, force overwrite of destination during prepare 2014-01-13 22:04:49 +01:00
Alessio Morale
18e0269dc6 OP-1160 Fix uncrustify to automatically run twice for each file 2014-01-13 21:58:33 +01:00
Alessio Morale
ad8f4fe41c OP-1160 Add a prepare make target that installs a prepare-commit-msg hook and
a text file containing the commit message template addition.
2014-01-13 12:31:28 +01:00
Corvus Corax
e8150399f6 Merge branch 'corvuscorax/onboardlogging' into next OP-56 OPReview-586 OPReview-587 OPReview-585 2013-12-07 15:21:10 +01:00
Philippe Renon
56c404e778 OP-1132 added new openssl-install that downloads and install the required SSL libraries for Windows
the missing SSLEAY32.DLL and LIBEAY32.DLL are copied to GCS bin dir
OpenSSL version 1.0.1e was downloaded from http://slproweb.com/products/Win32OpenSSL.html
2013-12-01 23:17:48 +01:00
Corvus Corax
be9faabe92 Merge branch 'next' into corvuscorax/onboardlogging 2013-11-26 00:34:01 +01:00
Alessio Morale
bacc4d3d79 Merge branch 'master' into next
Conflicts:
	flight/targets/boards/oplinkmini/firmware/pios_board.c
	ground/openpilotgcs/copydata.pro
2013-11-25 01:12:10 +01:00
Corvus Corax
9dbac5d060 Enabled printf-stdarg on all targets, implemented vsnprintf() (needed for logging) 2013-11-17 18:49:50 +01:00
Corvus Corax
6031200aea Some fixes in debuglog to compile and run on all firmware platforms 2013-11-17 18:04:47 +01:00
Alessio Morale
69372ea62a OP-835 Linux SDK Installer: md5 url changed to OP ones 2013-11-03 14:31:28 +01:00
a*morale
4be59a01f1 OP-1101 Linux SDK Installer: fixed missing tabs causing issues in OSX 2013-11-02 17:08:12 +01:00
Alessio Morale
d2355c665d Merge branch 'amorale/OP-835_linux_sdk_installer' into next 2013-11-02 12:16:23 +01:00
Alessio Morale
8fca8122f4 OP-835 Linux SDK Installer: fix "non conformant" installation paths
+review OPReview-577
2013-10-27 13:58:32 +01:00
Alessio Morale
cbb7fcfa9d OP-835 Linux SDK installer: fixes for readmes and some cleanup 2013-10-26 16:39:31 +02:00
Alessio Morale
e331d6e8ad OP-835 Fixes for Linux32, remove duplicated file 2013-10-26 16:28:52 +02:00
Alessio Morale
ff8031d469 OP-835 Add +x attribute to downloaded QT installer 2013-10-26 15:45:33 +02:00
Alessio Morale
7b95bf75a3 OP-835 Add -L parameter to Curl to handle redirects 2013-10-26 15:12:34 +02:00
Alessio Morale
0e35fd15cb OP-835 enable qt_sdk_install target for Linux64 target 2013-10-26 15:07:49 +02:00
Philippe Renon
d08445f0b5 [OP-1085][OP-1094] Turn on Progress for large SDK downloads / remove for MD5 files
This commit removes progress when downloading md5, adding progress for big
files was committed as part of OP-1085
2013-10-26 11:56:56 +02:00
Philippe Renon
6bfef53b81 [OP-1085] Qt5.1.1 - made curl report progress by default (can be switched off by adding BATCH=1 on make command line) 2013-10-24 00:11:58 +02:00
Philippe Renon
0aad8afc90 [OP-1085] upgraded to Qt 5.1.1 2013-10-21 23:59:23 +02:00
Philippe Renon
2d3076e9b8 [OP-835] Upgrade toolchain system to Qt 5.1 (Windows only, use packages for Linux and OSX) 2013-09-15 23:24:13 +02:00
David
86a02d693e Update copy data for ssl, readme is way out of date, changed one
line but on a read through, it's very out of date now as things
are easier now. Might be best to link to the Wiki...
2013-08-17 00:51:09 +10:00
Brian Webb
e246ecf536 Moves pios_led functionality to pios_gpio and makes pios_led a thin layer over pios_gpio. Supports configuring multiple sets of GPIOs. 2013-07-28 07:01:08 -07:00
Brian Webb
774a74884a OP-932 Replaces the RFM22B PPM/receiver code with an OPLinkReceiver UAVObject. This object is generated on a coordinator OPLink, and is used by both the OPLink to generate PPM output, and the OPLinkReceiver on the Revo. 2013-06-26 17:57:11 -07:00
Brian Webb
08efc8d152 OP-932: Adds an oplink receiver device, which is based on the gcs receiver device, but uses the OPLinkReceiver UAVObject. The OPLinkReceiver packets are generated on the OPLink modem. 2013-06-26 17:56:20 -07:00
Oleg Semyonov
b6312b3faa OP-910: update python path comment in make/tools.mk to keep in sync 2013-06-06 11:12:21 +03:00
Oleg Semyonov
b5711b8835 Change build-info.txt format from DOS to Unix
It is used by Bamboo server shell scripts, and being CRLF terminated,
this sometimes results in broken file names, for example, of Android
package.
2013-05-29 16:38:36 +03:00
Oleg Semyonov
444431579e OP-770: add/rename some version-info.py template variables 2013-05-25 23:02:29 +02:00
Oleg Semyonov
0798d8e330 OP-891: move firmware_info template under flight directory 2013-05-20 01:12:45 +03:00
Oleg Semyonov
97b4433a36 Merge remote-tracking branch 'origin/thread/OP-955_Version_Info_Improvements' into next 2013-05-19 15:22:55 +02:00
Oleg Semyonov
4a93e739de OP-955: remove old copy of moved file 2013-05-19 00:11:27 +03:00
Alessio Morale
c1f767b12d Merge remote-tracking branch 'origin/amorale/OP-954_logfs_settings_in_internal_flash' into next
Conflicts:
	flight/pios/common/pios_flashfs_logfs.c
2013-05-18 15:53:25 +02:00
Alessio Morale
6ba15ebc53 OP-954 Fixes from review:
- CopterControl target fix
- tabs in Nakefiles
- Removed duplicate stale settings and clean empty lines in osd Makefile
+review OPReview-470
2013-05-15 23:18:50 +02:00
Richard Flay (Hyper)
ed68fbe68d OP-951: Adds -Wshadow to flight CFLAGS and fixes resulting compilation breakage.
+review OPReview
2013-05-14 07:01:45 +09:30
Alessio Morale
d555bd0673 Uses Internal flash for system settings storage repourposing external flash for "User" storage 2013-05-11 22:06:30 +02:00
Richard Flay (Hyper)
cf14608ebe Merge branch 'next' into hyper/OP-936_task-monitor-rework 2013-05-09 19:25:02 +09:30
Alessio Morale
93bad2e8c2 Merge branch 'amorale/OP-917_f4_bootloader_updater' into next
***** PLEASE NOTE  ***** From this revision all F4 based boards (Revolution/OSD) needs bootloader version  5 to boot properly

Conflicts:
	flight/pios/stm32f4xx/libraries/CMSIS2/Device/ST/STM32F4xx/Source/osd/system_stm32f4xx.c
	flight/targets/boards/osd/board-info.mk
	make/boot-defs.mk
	make/common-defs.mk
2013-05-07 21:02:41 +02:00
Richard Flay (Hyper)
fbc8bc698f OP-936: Merges branch 'next' into hyper/OP-936_task-monitor-rework, fixes damage/conflicts,
and brings the callback scheduler into the fold.

+review OPReview-461
2013-05-06 19:11:14 +09:30
Richard Flay (Hyper)
a2d8544931 OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required
to make the flight code compile again. Needs careful review, particularly all the fixes for the
signed vs unsigned comparisons.

+review OPReview-459
2013-05-05 16:32:24 +09:30
Richard Flay (Hyper)
5b61466259 OP-931: Adds -Wdouble-promotion compiler option and fixes problems that the compiler then identifies.
+review OPReview-459
2013-05-04 19:24:01 +09:30
Richard Flay (Hyper)
87fcf9fa8b Merge branch 'next' into hyper/OP-931_extra_compiler_warnings and update as necessary.
Hopefully properly fixes conflicts:
	flight/modules/Attitude/attitude.c
	flight/modules/ManualControl/manualcontrol.c
	flight/modules/Osd/WavPlayer/wavplayer.c
	flight/modules/Osd/osdgen/osdgen.c
	flight/modules/System/systemmod.c
	ground/uavobjgenerator/generators/flight/uavobjectgeneratorflight.cpp
2013-05-04 11:12:44 +09:30
Oleg Semyonov
137ddbf73a Fix broken unit tests 2013-05-03 20:27:03 +02:00
Oleg Semyonov
ee1a149888 tools: add gtest_install and build_sdk_* 2013-05-03 20:26:44 +02:00
Sambas
4d19fd5989 Merge remote-tracking branch 'remotes/origin/sambas/diffnext' into next 2013-05-03 07:58:17 +03:00
Richard Flay (Hyper)
84e1a81f8b OP-936: Moves the task monitor code out of the flight library and into PiOS.
This move and rework also breaks the dependency of the task monitor on the UAVO subsystem,
and pushes the responsibility for updating the TaskInfo UAVO into the System module.

+review OPReview
2013-05-03 07:01:14 +09:30
Oleg Semyonov
dd181904fc Fix version-info.py utility to back off gracefully if no git in the PATH 2013-05-02 19:05:00 +02:00
Sambas
f7b9223827 Merge remote-tracking branch 'remotes/origin/next' into sambas/diffnext
Conflicts:
	flight/modules/System/systemmod.c
	shared/uavobjectdefinition/taskinfo.xml
2013-05-02 09:00:12 +03:00
Oleg Semyonov
a5d63eb452 tools: make nsis_install (Windows only) 2013-05-01 22:44:11 +03:00
Oleg Semyonov
b30385d4fa uncrustify: use no spaces in empty for statements: for ( ; ;) -> for (;;)
It can be rolled back and a space after last semicolon could be added
if desired: for ( ; ; ). But it looks not nice in ~20 files where
this statement is used.
2013-05-01 12:01:51 +03:00
Oleg Semyonov
363e1705cf uncrustify: update configuration (EOL comment and class indents, extra ';' removals) 2013-04-30 16:54:28 +02:00
Oleg Semyonov
0394a3511c Rename template files to *.template to screen from uncrustify processing 2013-04-30 16:54:27 +02:00
Richard Flay (Hyper)
742058da8c Merge branch 'next' into hyper/OP-931_extra_compiler_warnings 2013-04-30 20:44:49 +09:30
Richard Flay (Hyper)
7937ae6296 OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled.
Also fixes warnings (and bugs) in F4 STM32_USB_OTG_Driver code, allowing -Werror to be enabled for all flight code.
Fixes all other compiler warnings that would otherwise cause the flight code to not compile with -Werror enabled.
Along the way, this also adds some uses of isnan() to various places rather than questionable tests for x != x and
x == x to check for NaNs.

+review OPReview
2013-04-30 20:36:42 +09:30
Oleg Semyonov
55c406066d tools: add doxygen_install and docs_* targets 2013-04-29 02:05:15 +02:00
sambas
9fec3f5567 Merge remote-tracking branch 'remotes/origin/next' into sambas/diffnext 2013-04-27 13:39:58 +03:00
Alessio Morale
2e6835a2a3 Merge remote-tracking branch 'origin/next' into amorale/OP-917_f4_bootloader_updater 2013-04-27 12:25:54 +02:00
Richard Flay (Hyper)
fd1181959c Merge branch 'hyper/OP-913-flight-uavo-alignment' into next 2013-04-27 18:19:01 +09:30
Alessio Morale
b21146b8e3 OP-917 bootloader updater for F4 targets. Initial commit 2013-04-27 00:56:47 +02:00
Oleg Semyonov
fa8c2f239c Merge remote-tracking branch 'origin/amedee/OP-921' into next 2013-04-26 17:43:26 +03:00
Oleg Semyonov
e2fd821e97 Merge remote-tracking branch 'origin/next' into sambas/diffnext
Conflicts:
	make/common-defs.mk
2013-04-26 16:31:19 +03:00
sambas
abe3742217 Merge remote-tracking branch 'remotes/origin/next' into sambas/diffnext
Conflicts:
	flight/Libraries/CoordinateConversions.c
	flight/Libraries/paths.c
	flight/Modules/System/systemmod.c
	flight/PiOS/STM32F4xx/pios_sys.c
	flight/targets/boards/coptercontrol/pios_board.h
	flight/targets/boards/revolution/pios_board.h
	flight/targets/boards/revoproto/pios_board.h
2013-04-25 17:26:49 +03:00
Oleg Semyonov
25d0e8fcab Rename PiOS/STM32F10x->PiOS/stm32f10x, PiOS/STM32F4xx->PiOS/stm32f4xx 2013-04-25 13:13:39 +03:00
Oleg Semyonov
f20f89da35 Rename PiOS/Common->PiOS/common 2013-04-25 13:13:39 +03:00
Oleg Semyonov
66db978244 Rename Libraries->libraries, Modules->modules 2013-04-25 13:13:36 +03:00
Philippe Vanhaesendonck
b3de04d09f Handle Mach-o object format for UAVOs
Jira OP-921
2013-04-24 22:39:39 +02:00
Oleg Semyonov
0414231408 Move uncrustify config from flight to make/uncrustify/ 2013-04-24 22:49:17 +03:00
Oleg Semyonov
748b28f4f4 Move doxygen config from flight to make/doxygen/ 2013-04-24 22:44:40 +03:00
Oleg Semyonov
33ed88e696 Merge remote-tracking branch 'origin/next' into os/OP-899_board-rename-and-config-rework 2013-04-24 21:28:33 +02:00
Oleg Semyonov
15fd460275 Normalize line endings for *.sh after .gitattributes update 2013-04-24 20:09:38 +02:00
Oleg Semyonov
0bff67822b tools: yet another fix for md5 calculation 2013-04-24 16:42:47 +03:00
Oleg Semyonov
f283b66a2f uncrustify: add config comment for "don't indent this section" option 2013-04-24 12:52:36 +03:00
Oleg Semyonov
21e7e95f87 Merge remote-tracking branch 'origin/os/add-uncrustify' into next 2013-04-24 02:31:41 +02:00
Oleg Semyonov
406339eb49 Merge branch 'amorale/next_precheck' into os/OP-899_board-config-rework-rebased-3
Conflicts:
	flight/Libraries/inc/op_dfu.h
	flight/Libraries/op_dfu.c
	flight/targets/Bootloaders/CopterControl/inc/op_dfu.h
	flight/targets/Bootloaders/OSD/op_dfu.c
	flight/targets/boards/coptercontrol/bootloader/inc/op_dfu.h
	flight/targets/boards/coptercontrol/bootloader/op_dfu.c
	flight/targets/boards/oplinkmini/bootloader/inc/op_dfu.h
	flight/targets/boards/oplinkmini/bootloader/op_dfu.c
	flight/targets/boards/osd/bootloader/inc/op_dfu.h
	flight/targets/boards/osd/bootloader/op_dfu.c
	flight/targets/boards/revolution/bootloader/inc/op_dfu.h
	flight/targets/boards/revolution/bootloader/op_dfu.c
	flight/targets/boards/sensortest/bootloader/inc/op_dfu.h
	flight/targets/boards/sensortest/bootloader/op_dfu.c
	make/boot-defs.mk
2013-04-24 00:37:39 +03:00
Alessio Morale
57ca1639cc Merge branch 'amorale/amorale/OP-874_gcs_rescue_erase_settings_merged' into next
Conflicts:
	flight/Libraries/op_dfu.c
	flight/PiOS/STM32F10x/pios_iap.c
	flight/PiOS/inc/pios_iap.h
	flight/targets/BootloaderUpdater/main.c
	flight/targets/Bootloaders/CopterControl/inc/op_dfu.h
	flight/targets/Bootloaders/CopterControl/op_dfu.c
	flight/targets/Bootloaders/OSD/inc/op_dfu.h
	flight/targets/Bootloaders/PipXtreme/op_dfu.c
	flight/targets/Bootloaders/RevoMini/inc/op_dfu.h
	flight/targets/Bootloaders/RevoMini/op_dfu.c
	flight/targets/Bootloaders/Revolution/inc/op_dfu.h
	flight/targets/Bootloaders/Revolution/op_dfu.c
	ground/openpilotgcs/src/plugins/uploader/uploader.ui
	make/apps-defs.mk
	make/boot-defs.mk
2013-04-23 23:14:11 +02:00
Oleg Semyonov
3f2431c04f OP-899: move board-specific pios_board.h files into board directories 2013-04-24 00:07:06 +03:00
Oleg Semyonov
f7332f6905 OP-899: remove extra copy of pios_usb_data.c and move it level up 2013-04-24 00:07:06 +03:00
Oleg Semyonov
1dd20eca33 OP-899: move board_hw_defs.c under board directories and fix some includes 2013-04-24 00:07:06 +03:00
Oleg Semyonov
393b37fa7a OP-899: move board-info.mk from make/boards to board directories 2013-04-24 00:07:06 +03:00
Oleg Semyonov
f7f842687a OP-899: rename System to firmware and move Makefile into it 2013-04-24 00:07:06 +03:00
Oleg Semyonov
399cafe7d7 OP-896: rename RevoMini to Revolution 2013-04-24 00:07:05 +03:00
Oleg Semyonov
6afbef01eb OP-896: rename Revo to SensorTest 2013-04-24 00:07:04 +03:00
Oleg Semyonov
fdd0ed39e0 OP-896: remove old board configs (ESC, INS, OpenPilot) 2013-04-24 00:07:04 +03:00
Oleg Semyonov
1ded536056 OP-896: rename OPLink to OPLinkMini 2013-04-24 00:07:04 +03:00
Brian Webb
ba7b712cf1 Changed all references to PipXtreme on flight side to OPLink. 2013-04-24 00:07:03 +03:00
Richard Flay (Hyper)
146e082e74 OP-913: ensured that UAVO data structs in .bss/.data sections and on the stack have 4 byte alignment. Also changed linker options to sort common and sort sections by alignment, which reduces the amount of fill/padding in the .bss and .data sections.
+review OPReview-444
2013-04-23 22:34:58 +09:30
Oleg Semyonov
f9816175d0 tools: replace md5sum by openssl (now works on Windows/Linux/OSX)
See also: OP-719, OPReview-441
2013-04-22 21:37:34 +02:00
Oleg Semyonov
34983fa643 uncrustify: add some alignments to the configuration
See also: OPIN-3
2013-04-22 21:35:45 +02:00
Oleg Semyonov
8d1e1fdbc0 tools: make uncrustify_install target, script and base config file
See also: OPIN-3
2013-04-22 21:35:25 +02:00
sambas
8aa5748a8c Merge remote-tracking branch 'remotes/origin/next' into sambas/diffnext 2013-04-20 10:59:00 +03:00
Oleg Semyonov
491e89b165 make: sort wildcard sources to make binaries identical on all platforms
Thanks to Amedee for finding the cause of the difference and CorvusCorax
for participating in the discussion.
2013-04-19 20:43:31 +02:00
Oleg Semyonov
f15249ff07 make: fix bu_* targets 2013-04-18 17:50:34 +03:00
Oleg Semyonov
509a1b4fe1 make: fix *_program targets (were broken for firmware) 2013-04-18 17:37:12 +03:00
Oleg Semyonov
b7de3c99d8 tools: fix typo in comments 2013-04-18 16:03:05 +02:00
Oleg Semyonov
f7236eb180 tools: add Linux 64bit native ARM toolchain 2013-04-18 15:45:38 +03:00
Oleg Semyonov
61bb82ca15 gcs: find python in tools building with Qt-Creator
This fix uses the same approach as OpenPilot toolchain system,
but for build started from Qt-Creator.
2013-04-17 19:08:02 +02:00
Oleg Semyonov
59f8a99ab7 make: warn users about old ARM toolchain instead of cryptic 'no such file' error 2013-04-16 21:26:36 +02:00
sambas
ab8ab4bcc6 Merge remote-tracking branch 'remotes/origin/next' into sambas/diffnext 2013-04-15 17:41:06 +03:00
Oleg Semyonov
354924deed OP-719: suggest to use native Qt 4.8.x package on Linux and OSX
+review OPReview-441
2013-04-14 23:46:15 +02:00
Oleg Semyonov
d3ad4d3106 OP-719: provide pre-fetch and post-extract options to install template
+review OPReview-441
2013-04-14 23:46:14 +02:00