1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

3506 Commits

Author SHA1 Message Date
Stacey Sheldon
9854c18c5d version-info: allow unannotated tags
Unannotated (ie. movable) tags will now influence the
tag/hash reported in the version info blob attached to
the firmware image (.opf).
2011-05-23 18:21:42 -04:00
Stacey Sheldon
0a67730d0f build: refactor fw, bl and bu rules
- New macros for fw, bl and bu rules in top-level make
- Per-board info factored into make/board/*/board-info.mk
- Per-board info now shared btw. fw, bl and blupd for each board
   - BOARD_TYPE, BOARD_REVISION, BOOTLOADER_VERSION, HW_TYPE
   - MCU, CHIP, BOARD, MODEL, MODEL_SUFFIX
   - START_OF_BL_CODE, START_OF_FW_CODE
- blupd_* goals renamed to bu_*
- all_blupd goal renamed to all_bu
- firmware goals renamed to fw_*, board name goals are preserved
- bu_*_program now writes updater to correct address for all boards
- BL updater firmware builds now produce .opf format including
  version info blob.
- BL updater firmware name now includes board name.
- INS makefile brought up to date w.r.t. linker scripts
2011-05-23 18:21:42 -04:00
zedamota
b69402b7ab This should fix the upload CLI tool. 2011-05-23 11:55:09 +01:00
James Cotton
af59cbfd2f Merge branch 'master' into osx_distributable 2011-05-22 12:27:14 -05:00
James Cotton
88463fd7db Small tweak to OSX packaging to get rid of error 2011-05-22 12:17:50 -05:00
Stacey Sheldon
6ec6425f5e build: build opf images including firmware + version blob 2011-05-22 10:55:13 -04:00
Oleg Semyonov
ebca7f6bac OP-483: add CLEAN_BUILD=NEVER make release option for test builds
CLEAN_BUILD=YES (default) - clean all, then build all
CLEAN_BUILD=NO - clean only multi-input targets (CC, OP), usually safe
CLEAN_BUILD=NEVER - no clean at all, invalid multi-input targes, but fast
2011-05-22 13:35:34 +03:00
Oleg Semyonov
f38d226007 OP-483: always update Windows installer info header 2011-05-22 13:28:04 +03:00
Oleg Semyonov
5c085550cb OP-483: include dirty state of repository into the version string 2011-05-22 12:00:49 +03:00
Oleg Semyonov
958807e4c3 Use Makefile variables for the OSX packaging 2011-05-22 01:43:13 +03:00
James Cotton
1c9cfe7740 Updated the OSX template file now additional libraries not required. 2011-05-21 15:30:26 -05:00
Oleg Semyonov
6f5f334818 OP-483: fallback to optparse to improve python script portability 2011-05-21 21:00:12 +03:00
James Cotton
dae6f15247 Added script that repackages the distributables into the .app file 2011-05-21 11:08:00 -05:00
Oleg Semyonov
caab3ce01a OP-305: fix default CodeSourcery location on Windows 2011-05-21 13:14:15 +03:00
James Cotton
9c96f9f4d5 Tweak again because the window layout wasn't saved 2011-05-20 18:00:41 -05:00
James Cotton
3dcdca2b59 Rename the volume from OpenPilot GCS to OpenPilot. Add script to package, but
need input from Os about integrating into the "make release" command.  Also
release name and OP path are hardcoded right now.
2011-05-20 17:51:16 -05:00
James Cotton
fa7e689e32 Add template for OSX distributable 2011-05-20 17:19:52 -05:00
James Cotton
460cc1adc9 Merge remote-tracking branch 'origin/stac_add-bootloader-info-blob' 2011-05-19 16:08:58 -05:00
Oleg Semyonov
cbdba940b5 OP-483: remove gcs/packaging subdirectory (not required anymore) 2011-05-19 13:08:54 +03:00
Oleg Semyonov
bb423e2520 OP-483: create a directory for NSIS header file built from template 2011-05-19 02:33:15 +03:00
Oleg Semyonov
a0fadf739b OP-483: add 'release' target to the top level Makefile
Now 'make release' on the top level will build release package.

For Windows it will build OpenPilot GCS Installer and all firmware
binaries which are now included into the GCS distribution and will
be installed into the <path>/OpenPilot/share/firmware-<version>
directory.

For other systems it will build all firmware files and the GCS, but
latter is not packaged yet.
2011-05-19 01:57:35 +03:00
Oleg Semyonov
460478fc71 OP-483: add firmware binaries to Windows installer package 2011-05-19 01:33:48 +03:00
Oleg Semyonov
285c429589 OP-483: add Windows installer target to 'make release' 2011-05-19 01:05:12 +03:00
Oleg Semyonov
5b1e45a8df OP-483: move Windows installer out of ground/gcs tree
In preparation for release build the Windows installer source is moved
out of ground/gcs source tree into release directory. It is also disabled
in the qmake source file and removed from top level Makefile.
2011-05-18 22:22:40 +03:00
Oleg Semyonov
8535ae52b8 OP-483: rename win32 to winx86 (it works on 64-bit too) 2011-05-18 22:03:10 +03:00
Oleg Semyonov
25c44d3d0d OP-483: polish comments in scripts 2011-05-18 21:48:55 +03:00
James Cotton
dd1e10a15d PiOS/Spektrum: Start swapping to using RTC and calls to PIOS_Spektrum_Get() to
monitor when call Spektrum watchdog
2011-05-18 01:46:00 -05:00
James Cotton
bdf862a712 PIOS/RTC: Add functions to get the rate. Also changed Start to Init to be more
consistent with pios.
2011-05-18 01:45:21 -05:00
Oleg Semyonov
68ac5a271c Merge branch 'OP-483_os_release-packaging' 2011-05-18 01:06:11 +03:00
elafargue
cc9fa772c0 Improvement: now the config output panel in the config gadget remains up to date all the time, no need to click on the "request" button after setting up the mixers. 2011-05-17 22:23:08 +02:00
Oleg Semyonov
8f30b89b17 OP-307: add template for firmware info blob C source
python $(TOP)/make/scripts/version-info.py \
	--path=$(TOP) \
	--template=$(TOP)/make/templates/firmwareinfotemplate.c \
	--outfile=$(TOP)build/$(FW)/firmwareinfo.c \
	--image=$(TOP)/build/$(FW)/$(FW_IMAGE_BIN) \
	--type=0x04 \
	--revision=0x01
2011-05-17 21:37:02 +03:00
Oleg Semyonov
bf9a3ef7d3 OP-483: add version-info.py script for software, firmware and release packaging 2011-05-17 21:29:22 +03:00
David Carlson
21213dd3c5 Merge branch 'master' into OP-495_CheBuzz_HelpButtons
Conflicts:
	ground/openpilotgcs/src/plugins/config/output.ui
2011-05-17 01:06:28 -07:00
David Carlson
b1ec27bd75 Add help buttons to the config gadget UI. Also connect all signals to its slot in configgadgetwidget.cpp. Also some very trivial .html help files. 2011-05-16 21:54:23 -07:00
elafargue
b2587a5b9f Improvement & bugfix: now the output config tab in the config gadget only shows the channel assignments as labels, not dropdowns, and more importantly does not try to save them when clicking on save/apply! 2011-05-17 00:34:25 +02:00
elafargue
98f286a682 Uploader gadget improvements 2011-05-16 22:05:33 +02:00
dankers
c6b6afa679 Merge branch 'master' of ssh://git.openpilot.org/OpenPilot 2011-05-17 04:17:00 +10:00
dankers
5f32803763 Changed accelKp = 1; in 3C filter when calibrating bias when arming. Increase default yaw by 0.005 2011-05-17 04:15:28 +10:00
elafargue
6dc6b45f1b Merge branch 'bugfix-ground' 2011-05-16 20:10:20 +02:00
elafargue
3129c10d05 Bugfix (uploader gadget) 2011-05-16 20:09:51 +02:00
elafargue
65201ec81c Improve Uploader gadget widget behaviour when clicking on halt & boot (prevent double clicking) 2011-05-16 20:03:41 +02:00
Stacey Sheldon
2044d777e6 coptercontrol: always enable -g debug symbols
This does not affect the size of the image or the RAM
used by the firmware image.  All debugging symbols are
stripped from the elf file during the conversion to a
.bin file.
2011-05-16 08:35:41 -04:00
Stacey Sheldon
575010169a build: add pios_board_info_blob struct to bootloader flash image
The board info blob is stored in the last 128 bytes of the
bootloader's flash bank.  You can access this data from the
application firmware like this:
  #include <pios_board_info.h>

  if (pios_board_info_blob.magic == PIOS_BOARD_INFO_BLOB_MAGIC) {
    /* Check some other fields */
  }

DO NOT link pios_board_info.c into your application firmware.
Only bootloaders should provide the content for the board info
structure.  The application firmware is only a user of the data.
2011-05-16 08:30:30 -04:00
David Carlson
d076418895 Merge branch 'master' into OP-495_CheBuzz_HelpButtons 2011-05-15 19:36:38 -07:00
elafargue
e3c0f7f12f Merge branch 'master' of git.openpilot.org:OpenPilot 2011-05-15 23:38:20 +02:00
elafargue
6d566c27fe Merge branch 'bugfix-ground' 2011-05-15 23:37:24 +02:00
elafargue
50f1e15f54 Aditional artwork for GCS (artwork directory), plus show basic board info when connected on the uploader gadget. 2011-05-15 22:48:18 +02:00
Oleg Semyonov
39d4f23b67 Merge branch 'master' into OP-483_os_release-packaging 2011-05-15 21:32:20 +03:00
James Cotton
ae2759a957 Merge branch 'bugfix-flight' 2011-05-15 12:50:45 -05:00
Oleg Semyonov
5e03cd5801 OP-483: clean up sequential build order, add CC-FlashEraser tool to the builds 2011-05-15 19:46:31 +03:00