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

8346 Commits

Author SHA1 Message Date
Oleg Semyonov
67d7db88f1 Makefile: pass TOPDIR to sub-make to overcome Windows filename problem
Makefile uses toprel function to display nice short relative paths when
building. But different ways of getting current path (using . or pwd
or MAKEFILE_LIST, etc) give different cases for Windows drive letters.
As result, some paths are not translated by toprel function and look
not nice. Passing known TOPDIR value to sub-make fixes this:

 ...
 CC flight/Modules/FirmwareIAP/firmwareiap.c
 CC flight/Modules/Telemetry/telemetry.c
 CC flight/Modules/System/systemmod.c
 CC d:/Work/OpenPilot/toolchains/flight/targets/CopterControl/System/coptercontrol.c
 CC d:/Work/OpenPilot/toolchains/flight/targets/CopterControl/System/pios_board.c
 ...

Instead of

 ...
 CC flight/Modules/FirmwareIAP/firmwareiap.c
 CC flight/Modules/Telemetry/telemetry.c
 CC flight/Modules/System/systemmod.c
 CC flight/targets/CopterControl/System/coptercontrol.c
 CC flight/targets/CopterControl/System/pios_board.c
 ...
2013-03-24 13:04:09 +02:00
Oleg Semyonov
27822d0cd4 Makefile and pios_config.h cleanup for PipXtreme
Now PipXtreme uses the same apps-defs.mk file as CopterControl.
Next steps are F4 boards.

Conflicts:
	flight/targets/PipXtreme/Makefile
	flight/targets/PipXtreme/System/inc/pios_config.h
2013-03-24 13:04:08 +02:00
Oleg Semyonov
30128517b5 Makefile: remove unused USE_I2C option from makefiles 2013-03-24 13:04:07 +02:00
Oleg Semyonov
7e4596ff35 Makefile: fix some MODULE_Name_BUILTIN checks and Makefile
These names are automatically generated by make using the list
of mandatory (always started) modules. Wrong names mean they can
be disabled, fixed now.

Conflicts:
	flight/Modules/Radio/radio.c
2013-03-24 13:04:06 +02:00
Oleg Semyonov
8b4a547d69 rscode: add a library make config file, library.mk 2013-03-24 13:04:05 +02:00
Oleg Semyonov
a1e17eccf3 pios: fix packet handler #ifdef guards and Makefile
Conflicts:
	flight/Libraries/packet_handler.c
	flight/targets/CopterControl/System/inc/pios_config.h
2013-03-24 13:04:04 +02:00
Oleg Semyonov
f7bdcdb782 Makefile: firmware makefiles cleanup (CC)
Conflicts:
	flight/targets/CopterControl/Makefile
2013-03-24 13:04:03 +02:00
Oleg Semyonov
75ef685c6e Makefile: bootloader makefiles cleanup
Conflicts:
	flight/targets/Bootloaders/CopterControl/Makefile
	flight/targets/Bootloaders/OSD/Makefile
	flight/targets/Bootloaders/PipXtreme/Makefile
	flight/targets/Bootloaders/RevoMini/Makefile
	flight/targets/Bootloaders/Revolution/Makefile
2013-03-24 13:04:01 +02:00
Oleg Semyonov
8a98920f3d Makefile: use exported variables in firmware-defs.mk
Note that $(QUOTE) variable is uppercased. Windows make does not
export lowercased variables with export keyword (even if must do).

Conflicts:
	make/firmware-defs.mk
2013-03-24 13:04:00 +02:00
Oleg Semyonov
60a7d7e454 Makefile: export important make variables from the top Makefile 2013-03-24 13:03:59 +02:00
Oleg Semyonov
23c605ffba Makefile: indents, comments, spacing, $(CMDS) variables, etc.
How to invoke external command instead of shell builtin on Windows:
ECHO := /bin/echo

Conflicts:
	Makefile
2013-03-24 13:03:58 +02:00
Oleg Semyonov
00a0ef430d pios: fix pios_config.h (now PIOS_INCLUDE_COM_MSG requires PIOS_INCLUDE_COM) 2013-03-24 13:03:57 +02:00
Oleg Semyonov
e80890e164 pios: STM32F4xx PIOS #ifdef guards 2013-03-24 13:03:56 +02:00
Oleg Semyonov
b73ddffbf0 pios: STM32F10x PIOS #ifdef guards 2013-03-24 13:03:55 +02:00
Oleg Semyonov
285cad290b pios: common PIOS #ifdef guards
Conflicts:
	flight/PiOS/Common/pios_com.c
	flight/PiOS/Common/pios_mpu6000.c
2013-03-24 13:03:54 +02:00
Oleg Semyonov
e96f717b94 pios: common PIOS header guards 2013-03-24 13:03:53 +02:00
Oleg Semyonov
fc6024d23e pios: pios_config.h cleanup (CopterControl)
Conflicts:
	flight/targets/CopterControl/System/inc/pios_config.h
2013-03-24 13:03:52 +02:00
Oleg Semyonov
39363d9efa pios: main pios.h header cleanup
Conflicts:
	flight/PiOS/pios.h
2013-03-24 13:03:51 +02:00
Oleg Semyonov
304f366338 Remove discontinued AHRS files 2013-03-24 13:03:50 +02:00
Oleg Semyonov
8c6f24afef version-info.py: fix coding style 2013-03-24 13:03:49 +02:00
Alessio Morale
8d6ef5cfe9 OP-747 Shortened an unneded very long delay in MPU6000 2013-03-24 11:42:41 +01:00
Brian Webb
2b6345850b Merge remote-tracking branch 'origin/next' into brian/rfm22_FHSS 2013-03-24 00:58:41 +01:00
Alessio Morale
8d56b9347b Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2013-03-23 15:33:18 +01:00
Alessio Morale
1a38b7eb46 Merge remote-tracking branch 'origin/amorale/02_os-stac_logfs-unittests' into next
Conflicts:
	flight/targets/RevoMini/Makefile
	flight/targets/Revolution/Makefile
2013-03-23 15:13:05 +01:00
Alessio Morale
e06ab7f706 Merge remote-tracking branch 'origin/amorale/01-directory_move_sanity_simposix' into next
Conflicts:
	Makefile
	flight/PiOS.posix/inc/pios_com.h
	flight/targets/RevoMini/UAVObjects.inc
	flight/targets/Revolution/Makefile
2013-03-23 14:37:19 +01:00
David Ankers
5d3cc203a2 Merge branch 'dankers/silk_add' into next 2013-03-24 00:16:51 +11:00
Alessio Morale
9244b511ac Merge branch 'amorale/OP-872_OP-867_thread-Config_revo_support' into next 2013-03-23 13:12:43 +01:00
Alessio Morale
2f2499f8c4 OP-867 fixed intentation 2013-03-23 13:10:57 +01:00
Alessio Morale
7161d276f7 Merge remote-tracking branch 'origin/amorale/OP-866_rm_flexi-io_configurations' into next 2013-03-23 11:47:46 +01:00
Alessio Morale
643f62e175 Added configuration for F1+ SWD/StlinkV2
use it with ./tools/openocd/bin/openocd -f ./flight/Project/OpenOCD/stlink-v2.cfg -f ./flight/Project/OpenOCD/stm32f1x.stlink.cfg
2013-03-23 10:58:57 +01:00
Alessio Morale
eff2cf20fd OP-878 change led used for heartbeat as OPLink has not any USB led 2013-03-23 10:56:21 +01:00
Philippe Renon
8af1af6afa OP-833 cleaned up individual gadget options pages 2013-03-21 01:26:29 +01:00
Oleg Semyonov
cdb3730edb OP-857 OP-876 made default Options dialog size bigger to avoid some scroll
bars showing up
2013-03-20 22:40:02 +02:00
Philippe Renon
5b648d1f33 OP-853 new HITL options page had last tab selected by default (now it is
the first)
2013-03-20 21:32:06 +01:00
Philippe Renon
8c499aad7a OP-853 fixed badly broken HITL Options page (not perfect but better than
previous version)
2013-03-19 22:23:20 +01:00
Philippe Renon
e39f70536b OP-857 OP-876 fixed issue that prevented default size of Options dialog
to be taken into account on 1st launch of GCS (with no user settings)
2013-03-19 22:10:47 +01:00
Philippe Renon
23077d3326 OP-857 OP-876 fixed issue that prevented default size of Options dialog to
be taken into account on 1st launch of GCS (with no user settings)
2013-03-19 22:08:40 +01:00
Philippe Renon
936f851166 Merge remote-tracking branch 'origin/thread/OP-864_Remove_Configuration_Prompt' into filnet/OP-857_various_gcs_ui_polishing 2013-03-19 04:34:32 +01:00
Brian Webb
1513413795 Added 56k data rate mode to rfm22 driver. 2013-03-18 04:30:11 +01:00
Philippe Renon
90fbf9bdab OP-833 removed unused ConfigGadgetConfiguration and
ConfigGadgetOptionsPages classes
2013-03-17 19:34:33 +01:00
Brian Webb
b2da960644 Fixed configuration of PPM intput on main port. 2013-03-15 02:24:31 +01:00
Alessio Morale
5ca228ebce Merge branch 'amorale/OP-872_HandleAllOutputs' into thread/OP-867_Config_Revo_Support
+review OPReview
2013-03-14 23:34:48 +01:00
Alessio Morale
dfb69e1b17 Merge remote-tracking branch 'origin/kevinv033/OP-791' into next 2013-03-14 21:36:44 +01:00
Alessio Morale
be8e5d159b OP-872 handle all outputs for CC/CC3D and Revolution 2013-03-14 20:13:02 +01:00
Alessio Morale
3f98676a3b OP-871 Fix: it is not possible to halt a Revo board in firmware update page
+review OPReview
2013-03-13 03:24:25 +01:00
Brian Webb
10de32d6f6 Merge remote-tracking branch 'origin/next' into brian/rfm22_FHSS 2013-03-13 01:41:01 +01:00
Philippe Renon
ef72e13a18 OP-857 OP-860 minor improvments to the connection widget
- made it wider so it can at least display the string "USB: CopterControl"
- added a tooltip to the connection combo box that will display the
  currently selected connection
  - other minor code cleanups
2013-03-12 22:43:11 +01:00
Philippe Renon
9b495b4d5e OP-857 OP-869 fixed style sheet issues:
- removed wide style sheets
- added style sheet common to all platforms
- fixed broken styles for QTabWidget and QGroupBox on Windows
- fixed broken style for QTabWidget on Linux
2013-03-12 22:43:10 +01:00
Alessio Morale
86c525b2d3 Merge remote-tracking branch 'origin/thread/OP-856_Revolution_HW_Settings' into next
Conflicts:
	ground/openpilotgcs/src/plugins/config/config.pro
2013-03-12 19:59:07 +01:00
Fredrik Arvidsson
b21517cd87 OP-867 Code cleanup. Added missing combo boxes to 'dirty pool'. 2013-03-12 07:35:20 +01:00