1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

36 Commits

Author SHA1 Message Date
Oleg Semyonov
8f977a4411 Final step: lot of small fixes, last commit in this commit series
This is the first cleanup pass through makefiles and pios.
Probably it is difficult to track changes due to the nature of them.
I would recommend to look at resulting files and compiled code instead.

NOTE: original branch was rebased and lot of conflicts were fixed on
the way. So do not expect that every commit in this series will be
buildable (unlike original branch). Only final result was tested.

The main goal was to remove as much duplication of code (and copy/paste
errors) as possible, moving common parts out of Makefiles. It still is
not perfect, and mostly no code changes made - Makefiles and #ifdefs only.
But please while testing make sure that all code works as before, and no
modules/options are missed by accident.

Brief list of changes:
- Moved common parts of Makefiles into the set of *.mk files.
- Changed method of passing common vars from top Makefile to lower ones.
- Some pios cleanup, mostly #ifdefs, and all pios_config.h files.
- Many obsolete files removed (for instance, AHRS files, op_config.h).
- Many obsolete or unused macros removed or fixed/renamed (ALL_DIGNOSTICS).
- Unified pios_config.h template. Please don't remove lines for board
  configs, only comment/uncomment them. Adding new PIOS options, please
  propagate them to all board files keeping the same order.
- Some formatting, spacing, indentation (no line endings change yet).
- Some cosmetic fixes (no more C:\X\Y\filename.c printings on Windows).
- Added some library.mk files to move libs into AR achives later.
- EntireFlash target now uses cross-platform python script to generate bin
  files. So it works on all supported platforms: Linux, OSX, Windows.
- Top level packaging is completely rewritten. Now it is a part of top
  Makefile. As such, all dependencies are checked and accounted, no
  more 'make -j' problems should occur.
- Default GCS_BUILD_CONF is release now, may be changed if necessary
  using 'make GCS_BUILD_CONF=debug gcs'.
- GCS build paths are separated into debug and release, so no more obj
  file clashes. Packaging system supports only release builds.
- New target is introduced: 'clean_package'. Now 'make package' does not
  clean build directory. Use clean_package instead for distributable builds.
- Targets like 'all', 'opfw_resource', etc now will print extra contex
  in parallel builds too.
- If any of 'package', 'clean_package', 'opfw_resource' targets are given
  on command line, GCS build will depend on the resource, so all fw_*.opfw
  targets will be built and embedded into GCS. By default GCS does not
  depend on resource, and will be built w/o firmware (unless the resource
  files already exist and the Qt resource file is generated).
- fw_simposix (ELF executable) is now packaged for linux. Run'n'play!
- Make help is refined and is now up to date.

Still broken:
- UnitTests, should be fixed
- SimPosix: buildable, but should be reworked.

Next planned passes to do:
- toolchain bootstrapping and packaging (including windows - WIP)
- CMSIS/StdPeriph lib cleanup
- more PIOS cleanup
- move libs into AR archives to save build time
- sim targets refactir and cleanup
- move android-related directories under <top>/android
- unit test targets fix
- source code line ending changes (there are many different, were not changed)
- coding style

Merging this, please use --no-ff git option to make it the real commit point

Conflicts:
	A lot of... :-)
2013-03-24 13:06:24 +02:00
Oleg Semyonov
810a01ba28 Merge remote-tracking branch 'origin/master' into next
Conflicts:
	HISTORY.txt
2012-12-21 14:12:32 +02:00
Oleg Semyonov
55b35543a7 Last minute release notes update 2012-12-21 00:33:37 +02:00
Oleg Semyonov
75865cdade [OP-724] Update HISTORY.txt (add camera stab features) 2012-11-29 18:03:06 +02:00
Oleg Semyonov
1e3ac1b190 Update HISTORY.txt 2012-11-25 17:34:10 +02:00
Oleg Semyonov
bac0e15519 Update HISTORY.txt with last releases info 2012-11-11 00:36:16 +02:00
Stacey Sheldon
b4fb4911cb HISTORY: Mentioned new ppm+pwm feature 2012-10-06 23:09:09 -04:00
PT_Dreamer
b91afc2c12 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-16 19:37:55 +01:00
Stacey Sheldon
bbe86332de hid joystick: mentioned new feature in HISTORY file 2012-08-11 11:28:44 -04:00
PT_Dreamer
d8c2bb3292 Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-07-30 15:25:59 +01:00
PT_Dreamer
7884b7002e Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release
Conflicts:
	HISTORY.txt
2012-07-30 15:24:36 +01:00
PT_Dreamer
60db2f4053 Updated history file 2012-07-27 13:18:28 +01:00
Oleg Semyonov
8d8a3d0155 AeroSimRC: add plugin option to Windows installer
Translations are welcome.
2012-07-20 22:37:36 +03:00
Oleg Semyonov
0c8cc5768c nsis: CDC driver, per-machine installation, release notes
Now CDC driver will be pre-installed during the install process.

Since driver installation requires elevated (admin) privileges
on Windows Vista/7, the software will also be installed into the
Program Files folder instead of user local profile. Former did not
require admin rights, but now it does not matter, so Program Files
folder is preferred.

HISTORY.txt file will be shown after installation.
2012-07-10 18:14:54 +03:00
James Cotton
f0ed832ea9 Updated history 2012-06-04 13:12:12 -05:00
James Cotton
19d8f8a98a Bump the history file a bit with recent commits 2012-05-28 20:17:35 -05:00
James Cotton
9a1ed8d494 Update the HISTORY.txt for new release 2012-05-04 11:21:56 -05:00
James Cotton
2dbe747491 Update history. 2012-02-14 16:16:15 -06:00
Stacey Sheldon
025ed0f43c Merge remote-tracking branch 'origin/stac/usb-composite-device-v2' into next
Conflicts:
	HISTORY.txt
2012-01-03 00:02:45 -05:00
Stacey Sheldon
a6e03549f8 history: added notes about newly added features 2012-01-02 23:57:58 -05:00
Oleg Semyonov
a11a65782c CameraStab: remove extra details from HISTORY.txt
Since there are tooltips which explain it better and more correctly.
2012-01-02 14:27:14 +02:00
Oleg Semyonov
9c35570df6 CameraStab: add advanced camera settings to the config GUI 2012-01-02 14:27:03 +02:00
Oleg Semyonov
445fd79b11 CameraStab: update README.txt 2012-01-02 14:27:01 +02:00
James Cotton
162b0d7f75 Because the UAVO field sorting required for revo changes all the object IDs,
trigger a flash wipe on all existing boards with this upgrade.
2011-12-10 14:13:28 -06:00
Oleg Semyonov
24cd0c8bff spektrum: update HISTORY.txt 2011-11-05 12:59:20 +02:00
James Cotton
33fe8e0b9e History entry for remapping outputs 2011-10-23 15:21:40 -05:00
zedamota
8d5b310f1f Merge branch 'next' of ssh://git.openpilot.org:22/OpenPilot into next 2011-10-12 16:44:11 +01:00
James Cotton
cf52c9024a Update history 2011-10-11 10:24:38 -05:00
zedamota
a8a7cce7d8 test commit 2011-10-08 18:28:46 +01:00
James Cotton
84f38eab78 HISTORY update 2011-09-12 11:52:59 -05:00
James Cotton
b32f6d9383 History.txt update 2011-09-12 11:50:11 -05:00
James Cotton
0f1fd8f8c1 Update HISTORY.txt and correct a help URL. 2011-08-11 00:00:04 -05:00
James Cotton
12ae607a22 Update HISTORY.txt 2011-08-09 16:38:02 -05:00
Oleg Semyonov
8ad65f6583 Convert HISTORY.txt file to DOS format (readable on all platforms) 2011-08-04 11:23:00 +03:00
Oleg Semyonov
76b4407d04 Update history.txt file (PPM receiver support) 2011-07-30 15:39:39 +03:00
James Cotton
7c726f231a Added a history file to track major feature merges. Obviously not a complete
summary of all changes.
2011-07-19 10:33:57 -05:00