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

3444 Commits

Author SHA1 Message Date
PeterG
ba4a060c27 Changes to allow icons to be displayed for gadgets in the options page and in the gadget dropdown list.
Also, allow gadgets to have exactly one configuration only, which gives them a bit more real estate in the options page.

For gadgets to use this, call functions setIcon(QIcon) and setSingleConfigurationGadgetTrue()
in the constructor of the gadget factory, e.g.:

SystemHealthGadgetFactory::SystemHealthGadgetFactory(QObject *parent) :
        IUAVGadgetFactory(QString("SystemHealthGadget"),
                          tr("System Health Gadget"),
                          parent)
{
    setSingleConfigurationGadgetTrue();
    setIcon(QIcon(":/core/images/openpilot_logo_64.png"));
}
2011-05-29 09:32:42 +02:00
elafargue
07a48573ea Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-05-29 08:59:21 +02:00
elafargue
da887d3f2e OP-513: Endianness problem on GIT revision and Date display on uploader gadget. Fixed, please confirm on your own architectures? 2011-05-29 08:58:14 +02:00
Stacey Sheldon
3a755dcdbb gcs: fix id of quad-x image in SVG
The quad-x image was missing in the GCS config gadget.

GCS expects the quad-x image to have id=quad-X (upper
case X).
2011-05-28 22:17:40 -04:00
PeterG
ce3196c33c Changes to the tree view to the left on the options page. 2011-05-28 20:10:06 +02:00
elafargue
79c2c16ae4 Fix: Y6 multirotor drawing was wrong for motors 3 and 4. 2011-05-28 11:21:07 +02:00
elafargue
599e3c4005 Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-05-28 10:50:22 +02:00
Oleg Semyonov
3547e48e4d Milestones: add first V8 Octo OpenPilot flight by Sambas 2011-05-27 09:00:14 +03:00
elafargue
39c2f074f2 Merge branch 'master' into bugfix-ground 2011-05-27 07:53:05 +02:00
Oleg Semyonov
6420eaf22f Merge branch 'bugfix-ground' 2011-05-27 08:51:57 +03:00
dankers
97e383afce Small text fix for windows and Mac, praying it works on linux 2011-05-27 14:31:58 +10:00
dankers
444f1951c9 Update font file with RoHS logo 2011-05-27 13:00:30 +10:00
Stacey Sheldon
ac0eb3a5c7 Merge remote branch 'origin/stac_build-opf-image' 2011-05-26 21:29:53 -04:00
James Cotton
66b85acebd Merge branch 'bugfix-flight' 2011-05-26 20:07:58 -05:00
James Cotton
4ffc2a24a9 Merge remote-tracking branch 'origin/osx_distributable' 2011-05-26 20:07:51 -05:00
James Cotton
4bc763dafc Extend PiOS DELAY to allow querying the time value in uS 2011-05-26 12:19:04 -05:00
Oleg Semyonov
41b03c92ee build: change FWTAG replacement to keep suffix intact and trim branch/tag only 2011-05-26 09:01:44 -04:00
Oleg Semyonov
75d4f19d30 build: add FWTAG variable to the version-info.py 2011-05-26 09:01:32 -04:00
Oleg Semyonov
a715012184 Merge branch 'windows_installer' into bugfix-ground 2011-05-26 00:30:11 +03:00
Oleg Semyonov
36d2a467e0 manualcontrol: fix copy/paste error 2011-05-26 00:16:36 +03:00
elafargue
54474613e9 Merge branch 'bugfix-ground' 2011-05-25 23:15:47 +02:00
elafargue
9cb380fba3 Make sure the "Advanced" settings is not selected by default in the airframe config UI. 2011-05-25 21:25:29 +02:00
elafargue
3edd7e3c3d Support for packaged firmware files (opfw) in the uploader gadget. 2011-05-25 21:23:22 +02:00
zedamota
ccd383c999 Fixes compile issues on windows with latest Qt 2011-05-25 16:15:01 +01:00
Oleg Semyonov
5dc28260ba credits: fix mixed newlines and trailing spaces 2011-05-25 17:59:18 +03:00
Oleg Semyonov
e0aeec5f5d windows installer: move firmware into separate section and directory (needs translations) 2011-05-25 17:57:54 +03:00
Stacey Sheldon
986121d281 build: force firmwareinfo.c/bin to be regenerated on every build 2011-05-25 00:27:16 -04:00
Stacey Sheldon
4da671fc82 build: change firmware files from .opf to .opfw extensions 2011-05-25 00:20:02 -04:00
Oleg Semyonov
66804076b8 build: fix release/Makefile for *.opf files and changed targets 2011-05-24 23:49:51 -04:00
Stacey Sheldon
c240a927ab build: fixup ins board-info.mk file to match new format 2011-05-24 23:47:03 -04:00
dankers
b4c5f3e0fe Merge branch 'master' of ssh://git.openpilot.org/OpenPilot 2011-05-25 04:14:21 +10:00
dankers
0c28f63e08 Add Oleg's heli flight as a milestone, well done Oleg, a big step! 2011-05-25 04:12:55 +10:00
elafargue
5b787272f5 OP-504 Attempt to fix the Rescue/Boot issue, and bugfix in firmware version display in UPloader gadget. 2011-05-24 08:15:57 +02:00
Stacey Sheldon
8bd08e381a build: add support for EE bank on pipx boards
The pipxtreme boards use a sector of the on-board flash
for configuration storage.  Adjust the memory maps to
reflect this.

The board_info_blob is also extended to include the EE
bank definitions.  This should be used by the pipxtreme
firmware rather than determining it based on chip size.
2011-05-24 01:10:40 -04:00
Stacey Sheldon
91cb294730 build: remove redundant PHONY for size target 2011-05-24 01:10:40 -04:00
Stacey Sheldon
0eb92fad91 build: refactor jtag program and add jtag wipe target
Macros for JTAG program and wipe for each target are now
provided in firmware-defs.mk.

The _wipe target for each firmware and bootloader image will
erase either the bootloader (bl_*_wipe) or firmware (fw_*_wipe)
bank.
2011-05-24 01:10:31 -04:00
Stacey Sheldon
9973fda23b build: define bootloader and firmware bank spans
The board-info.mk files now define the start and size
of the bootloader and the firmware banks.
2011-05-24 01:03:01 -04:00
Stacey Sheldon
504fe7a664 dfu: fix typo WRITABLA -> WRITABLE 2011-05-24 00:58:10 -04:00
Stacey Sheldon
076e5660fa build: Add all_<board> and all_<board>_clean targets
Building all_<board> will build all available embedded
images for <board>.  New targets:
  - all_ahrs
  - all_openpilot
  - all_coptercontrol
  - all_pipxtreme
  - all_ins
and their associated _clean targets to remove the build output.
2011-05-24 00:58:10 -04:00
Stacey Sheldon
96827eecff build: Make all flight sw use pios_board_info_blob
Now that every bootloader build has a board info blob,
make all fw and bl images use it.

The following MACROS are removed:
  BOARD_TYPE, BOARD_REVISION, BOOTLOADER_VERSION,
  START_OF_USER_CODE, HW_TYPE

These values are now ONLY available from the bootloader
flash via the pios_board_info_blob symbol.  These values
must not be #defined or otherwise hard-coded into the
firmware in any way.  The bootloader flash is the only
valid source for this information.

NOTE: To ensure that we have an upgrade path from an
      old bootloader (without board_info_blob) to a
      new bootloader (with board_info_blob), it is
      essential that the bu_* targets do not depend
      on (or validate) the board_info_blob being present
      in the bootloader flash.
2011-05-24 00:58:10 -04:00
Stacey Sheldon
2d47427b05 link: Use alternate declaration of pios_board_info_blob
Make use of a shorter notation to allow the linker to provide
the correct address for pios_board_info_blob.
2011-05-23 18:21:42 -04:00
Stacey Sheldon
6e406c0232 build: remove all remaining use of -DUSE_BOOTLOADER
The USE_BOOTLOADER compile flag was only being used
to determine where the ISR vector table was located.

Provide this explicitly from the linker since it knows
exactly where it is putting the ISR vector table.
2011-05-23 18:21:42 -04:00
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
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