1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00
Commit graph

261 commits

Author SHA1 Message Date
3djc
d6b84371a9 Create a home for x7 sdcard data (#4230) 2017-01-15 15:27:58 +01:00
Max Paperno
f4f07d3c0c [build] Add comprehensive firmware size reporting scripts for ARM MCUs. (#4218)
* [build] Add comprehensive firmware size reporting scripts for ARM MCUs.

* [build] Add firmware size reports to commit-tests.sh.

* [build] Set permissions on new scripts.

* [build] Add -Wno-error option to commit-tests.sh.

* [build] Revert firmware size report to using `arm-none-eabi-size` if bash not found (eg. on Windows).

* [git] Add .gitattributes to force line endings on UNIX shell scripts.
2017-01-12 21:32:36 +01:00
Max Paperno
95e59d931e [build] Suppress TRACE_SIMPGMSPACE messages in TravisCI build. Cosmetics. 2017-01-08 03:52:09 -05:00
Max Paperno
1f788723f9 Build system updates, including -Werror on TravisCI (#4202)
* [TravisCI] Build using avr-gcc 4.9.2 (up from 4.8.2). Relies on https://github.com/opentx/opentx/pull/4169 . Fixes all linker warnings, makes clean build.

* [build] Add ARM/AVR compiler version check/display and a workaround for avr-gcc linker warnings when using WARNINGS_AS_ERRORS=true.

* [TravisCI] Enable -Werror on all build targets (WARNINGS_AS_ERRORS=true).

* [build] CMake script updates:
  Enable WARNINGS_AS_ERRORS option for all targets (not just firmware);
  Consolidate some C/CXX flag settings for firmware target, avoid duplication/redundancy;
  All warning flags are now passed to linker (GCC only);
  Add a "build report" for each main target showing compiler, flags, and defines, with verbosity controlled by new VERBOSE_CMAKELISTS option;
  Added properties to PCB, TRANSLATIONS, and a few other options (makes option selector lists in cmake-gui);
  Add macro for conditionally adding C++11 flag;
  Silence CMake >3.0 warnings about CMP0054 policy not being set;
  Reverts AVR linker -Werror workaround;
  Misc. cleanup/consolidation.

* [build] More CMakeLists updates:
  Silence superfluous "CRT_SECURE" series MSVC warnings;
  Formalize finding pthread lib/dll on MSVC builds and fix some issues with install target script;
  Add property string lists to more options;
  Quotes some paths with possible spaces, & other minor cosmetics.

* [build] firmware/bootloader: Remove remaining CMake default compiler flags and add FIRMWARE_C[XX}_FLAGS[_DEBUG] options for user to specify additional flags. Also move ASM language call to silence CMake warning w/MSVC.

* [build] Workaround bogus "uninitialized" warnings from AVR linker.

* [tests] Add custom printer for less verbose gtest output (use --verbose option to revert to gtest default).

* [build] Use less verbose CMake output for TravisCI builds. Formalize search for gtest code and enable gtests target on WIN32-GCC. Minor language fix.
2017-01-08 09:44:33 +01:00
Bertrand Songis
2fdf621b2f Typo - Fixes #4149 2016-12-18 09:53:52 +01:00
3djc
6e7eb99763 Typos 2016-12-15 19:07:31 +01:00
3djc
0c7c77706d Add X7 sdcard pack generation for nightlies22 (#4140) 2016-12-15 18:30:37 +01:00
Bertrand Songis
82d6b96f8b X7D renamed to X7 2016-12-12 07:39:51 +01:00
3djc
3cd139b906 Update build-sdcard.sh
Keep version history for now
2016-12-03 18:58:57 +01:00
3djc
e4848200a0 Update build-nightly.sh 2016-12-03 18:30:14 +01:00
Bertrand Songis
b0f5b646af [Companion] Copyright added to all files 2016-11-23 16:40:47 +01:00
Bertrand Songis
b2878e6ea6 Google tests didn't compile correctly on all platforms and it was not reported as an error 2016-11-14 18:08:56 +01:00
Damjan Adamic
d2144001d1 Various fixes for gtests that were shown when running tests in random… (#3978)
* Various fixes for gtests that were shown when running tests in random sequence. Enabled random gtests shuffling in commit tests.

* 9X gtests fixes

* more gtests fixes

* even more gtests fixes

* Another round of gtests fixes

* Code deduplication with test fixtures

* More fixtures
2016-11-02 22:03:44 +01:00
Arne Schwabe
e580927fc1 Add opentx os x build vm and allow more cores to be used for fast mac… (#3947)
* Add opentx os x build vm and allow more cores to be used for fast machines.
2016-10-23 13:18:26 +02:00
3djc
ae47b1a4d1 Fix sdcard rev 2016-10-22 15:49:05 +02:00
3djc
566b6f1dfa Fix version for sdcard 2016-10-22 15:41:57 +02:00
3djc
3ad33410b1 Reuse firmware code location 2016-10-22 15:07:53 +02:00
3djc
a57298fc8f Fix path and names 2016-10-21 17:39:19 +02:00
3djc
81e9fe5201 Standardize app naming 2016-10-21 10:48:37 +02:00
Arne Schwabe
a19f4c78bf Fix building with precompiled QT (rpath fix), fix build-compaion.sh script 2016-10-19 22:26:29 +02:00
3djc
b2bf90be34 Revise (tentative) wording
Put back full version string
2016-10-16 13:02:07 +02:00
3djc
cd2204893e Missing bits 2016-10-16 12:00:43 +02:00
3djc
3ef83348b1 Generate sdcard files zip with version number 2016-10-16 11:58:58 +02:00
3djc
2b61f674bb Displays required sdcard version on error 2016-10-16 11:45:06 +02:00
Damjan Adamic
10f3d1c4b7 WARNINGS_AS_ERRORS enabled in commit tests for X7D 2016-10-12 22:21:36 +02:00
Damjan Adamic
0d74148d70 Added WARNINGS_AS_ERRORS cmake option for radio firmware 2016-10-12 22:05:29 +02:00
3djc
515c122521 3djc/build revise handling sdcard.version (#3897)
* Move opentx.sdcard.version creation to server build process

* opentx.sdcard.version should not exist prior, but just in case ...
2016-10-12 17:38:24 +02:00
Arne Schwabe
3d9e2357c0 Make tools/commit-tests.sh work again on OS X 2016-10-07 11:10:49 +02:00
Damjan Adamic
91cea45a43 Audio fixes (#3818)
* * Switches audio filenames were wrong [Horus]
* sdAvailableLogicalSwitchAudioFiles was too small (we now have 64 LSW), fixed with BitFiled class

* Enabled Travis Gtests on Horus

* SD card version mismatch trace

* Re #3815: Audio debug timers added
2016-09-17 21:49:52 +02:00
3djc
9a40902c9d Fix too happy Travis 2016-09-17 12:08:56 +02:00
3djc
7bfb213687 Allow sdcard version change from cmake (#3816)
* Allow sdcard version change from cmake

* Make it sdcard version check ARM only

* Move to common ARM
2016-09-17 08:53:01 +02:00
3djc
04ead96133 Typo, thx Kilrah 2016-09-16 10:36:38 +02:00
3djc
5254f0cc7b Make linux Companion happy 2016-09-16 08:58:45 +02:00
3djc
8bafdb1725 3djc/faster local commit tests (#3800)
* Allow passing desired core usage for commit-tests (speed up local execution)

* Cosmetics

* Cosmetics

* Allow make style -j8 as well

* Looks better like this I think
2016-09-14 18:55:37 +02:00
Bertrand Songis
fd138cf22a [X7D] Compilation fix 2016-09-04 22:27:36 +02:00
3djc
7bb5ece2c6 Regenerate sdcard pack only on opentx.sdcard.version change 2016-09-02 17:41:10 +02:00
3djc
580e4e71eb Sound generation change now ready to run 2016-09-02 10:13:54 +02:00
3djc
64b7369a51 FIX 2016-09-02 09:55:00 +02:00
3djc
c089be96f5 Fix path on server 2016-09-02 09:52:25 +02:00
3djc
6ea6c2c8f1 Change sound generation for nightly to linux based 2016-09-02 09:46:38 +02:00
3djc
76def1195f Temporary disable sdcard regen on nightly 2016-09-01 23:58:33 +02:00
Damjan Adamic
5446b4707d Wrong PPM_UNIT option value 2016-08-28 11:09:47 +02:00
Bertrand Songis
879ca36fdb Typo 2016-08-27 09:50:11 +02:00
Bertrand Songis
d961879e0f [X12S] New test added for HORUS boards revision 1.0 2016-08-20 16:40:29 +02:00
Bertrand Songis
d3ae3c035d Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added
* Cosmetics
2016-08-18 11:49:16 +02:00
3djc
0fa7f6e132 Move default english to american, as english is defective (scottish instead) 2016-08-07 13:39:48 +02:00
3djc
d62a985dcd Fix double type 2016-08-06 10:00:01 +02:00
3djc
52435703a0 3djc/telem rename (#3678)
* Rename EXT option to TELEMETRY

* Change test accordingly

* Rename FRSKY to TELEMETRY_FRSKY

* Rename ARDUPILOT to TELEMETRY_ARDUPILOT

* More renames (JETI, MAVLINK, NMEA)

* Fixes to make commit-test happy

* Further tests added to commit-test

* Cleanup

* Rename EXTSTD to TELEMETRY_NONE
2016-08-02 21:53:25 +02:00
Bertrand Songis
6d8b938706 Cosmetics 2016-08-01 21:48:49 +02:00
3djc
adeb53c726 Fix typo, thx schwabe 2016-08-01 19:00:51 +02:00