Commit Graph
414 Commits
Author SHA1 Message Date
zhaobingandPeter Feerick 0219426b26 Add LR3PRO as an independent target 2022-08-20 10:59:50 +10:00
zhaobingandPeter Feerick 9d7abf78eb Add LiteRadio3_Pro target on companion and simulator 2022-08-20 10:59:50 +10:00
Peter Feerick 6028c24f36 chore: Update paths in legacy build scripts 2022-08-16 20:41:09 +10:00
XINGandPeter Feerick 299991bc11 Add iFlight Commando8
Add iFlight Commando8 ELRS radio
2022-08-16 18:44:57 +10:00
Peter Feerick 54aaf5b9d9 fix: Add missing BUILD_OPTS to commit-tests
Duh! Added it to build-gh but not commit-tests
2022-07-20 13:13:43 +10:00
Peter FeerickandPeter Feerick 3f5e43aed4 chore: Add missing build system bits 2022-07-20 13:01:31 +10:00
3djcandPeter Feerick 6010eff024 TX12MK2 initial (external issue with MPM) 2022-07-20 13:01:31 +10:00
RistoandGitHub 551ae0393c Removed git config from build env script 2022-07-04 15:37:04 +02:00
RistoandGitHub 74767a3474 Removed global as suggested by @pfeerick 2022-06-30 23:24:34 +02:00
RistoandGitHub aee222bd31 Change git by default to rebase instead of merge 2022-06-13 14:36:04 +02:00
rotorman d1f94afcce Simplified Python pillow and lz4 installation thx to @raphaelcoeffic. 2022-06-12 13:27:34 +02:00
Raphael CoefficandRaphael Coeffic 9aa1a672f4 Add script to compile used characters by translation 2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic 575ed1d463 translations: finished transition to string arrays 2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic f7e2180b56 Do not translate characters in translation files 2022-06-11 15:38:08 +02:00
RistoandGitHub 1d2bcf6ee7 Added lz4 in preparation for LVGL also to Ubuntu 2022-06-06 18:25:36 +02:00
RistoandGitHub 3684c766ec Added lz4 in preparation for LVGL 2022-06-06 18:25:30 +02:00
RistoandGitHub cff819ea0e fix: Add git 2.35.2 and later workaround for CVE-2022-24765 change
Thx to @pfeerick https://github.com/pfeerick/edgetx/pull/6/files
2022-05-26 15:08:29 +02:00
RistoandGitHub 8722d27c5e Split CMake does not need -DDISABLE_COMPANION=YES anymore 2022-05-26 14:43:21 +02:00
RistoandGitHub b843b715e3 MSYS2 dev. env. setup script update/fix (#1979)
Fix Python bcj-cffi and pyppmd package installation under MSYS2 and match better the GitHub MSYS2 environment setup.
2022-05-20 12:22:02 +02:00
Peter FeerickandGitHub b0e3cb015f feat(minor): Better showing of version info in firmware and cpn, remove seperate cpn32 build script (#1913)
* fix: Prevent potential wordsplitting of variables

* chore: Remove need for separate cpn 32bit script

* Build script tag/branch/PR auto-detection

* Teach companion about VERSION_TAG

* Update some constant names

* Only one companion build script

* Actually use `VERSION_SUFFIX` in about screen 🤦

* Add space

* Remove line that was only for testing 32bit build

* Remove hyphen between win and bits

* Show codename in Settings -> Version

* cpn: Only show codename on tagged versions

* Update about screen also

* Double quotes around codename on colorlcd

* Update copyright year

* About screen should use VERSION_TAG when set
2022-05-08 16:24:31 +10:00
RistoandGitHub 7af253145f Updated commands to support the new split CMake toolchain 2022-04-27 14:19:00 +02:00
RistoandGitHub f2b07ddf1b feat(firmware): Set "nightly" suffix for GitHub nightly builds (#1903)
* Sets explicit "nightly" suffix for GitHub nightly builds.

* Extract and set EDGETX_VERSION_SUFFIX only, if not already set
2022-04-26 20:44:44 +10:00
Peter FeerickandGitHub 3493d69c5b chore: Further tweaks to version string (#1895)
* fix: Only define SUFFIX if PR or BRANCH build
Also, only define `VERSION_TAG` if VERSION_TAG exists.

* fix: Omit GIT SHA for colorlcd also if a tagged build
2022-04-26 10:32:01 +10:00
ddad99eab1 feat: Add PR number to version string on PR builds (#1887)
* Add PR number to version string

* Testing another way

* Decide according to GitHub ref type how to parse and where to output.
Prioritize EDGETX_VERSION_TAG, if set, else resort to EDGETX_VERSION_SUFFIX, if set.
Adjust also firmware_version and boot_version strings and adjist bootloader title.

* Consider also B/W.

* B&W: omit GIT SHA if tagged, otherwise own line
Omit GIT SHA from version string if a tagged version.
Otherwise, show on own line since is too long for 128x64 B&W displays.

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-04-25 11:42:19 +10:00
Peter Feerick 2a3fc748bb feat: Better indicate release and development versions via version suffix (#1850)
* Add codename to version string and to bootloader title.

* Use EDGETX_VERSION_SUFFIX instead of CODENAME

* use "dev" instead of "merge" and "custom" instead of "SB".
Changed to lower case for "nightly" and "release".

* Show TEST BUILD warning screen for all non release builds.

* Improved logic

* Removed TEST_BUILD_WARNING, reverted to "merge" and changed to "selfbuild".
2022-04-24 14:26:56 +10:00
Raphael Coeffic cbf897a25f Fix generating YAML parsers 2022-04-02 08:48:17 +02:00
Raphael Coeffic 7af8e78157 Improve commit tests script + some fixes 2022-04-01 08:56:25 +02:00
Raphael Coeffic e2e4b93403 Improve build scripts 2022-04-01 08:56:25 +02:00
Raphael Coeffic baa4f65d9b Use ExternalPoject_Add() to split by toolchain 2022-04-01 08:56:25 +02:00
ydsandGitHub b36e456ca7 chore: Add X9E target (#1721)
* added X9E target

* added X9E target

* added X9E target
2022-03-22 16:08:10 +10:00
Risto 357ae8889f Match GH clang v6.0 2022-02-13 14:52:36 +01:00
Samuel HenriqueandGitHub d09ba3adca fix: Prevent word splitting in compilation scripts when handling paths (#1502)
These invocations will all cause bugs when pwd returns something that
 can be interpreted by bash, the most common case being a folder
 with whitespaces in its name. In other words these can be triggered by
 calling the scripts from any folder that contains whitespaces.

 More info on this specific finding by shellcheck:
 https://github.com/koalaman/shellcheck/wiki/SC2046
2022-01-26 20:58:24 +10:00
RistoandGitHub e97a3b15a5 Add asciitree and jinja2 to the list of installed Python packages 2022-01-10 20:04:07 +01:00
gagarinlgandRisto 48a9336060 fix Ubuntu 20.04 prepare script, libclang-11-dev was missing in the package list 2022-01-05 17:10:19 +01:00
richardclliandGitHub 230ac34e86 [translations] Resolve issue with lines over characters for some languages, and some wrong characters used (#1268)
* Resolve a problem in font generation when y_offset is negative.

* Change to use full dynamic detection of special chars, generalized for all languages including cjk.

* Isolated colorlcd and bwlcd translation encoding method.

* Fixed the cz char mapping.

* Only cz requires subset lowercase handling.
2021-12-27 11:43:17 +10:00
Peter Feerick 0fb08a7998 Add T-Pro simulator
Although it won't be fully functional until yaml ready
2021-12-18 09:28:43 +10:00
Raphael Coeffic c2ecd0e1cf Add T-pro to build action 2021-12-17 17:09:38 +01:00
Raphael Coeffic 83b676b4dd Added YAML defs for T-pro 2021-12-17 17:08:49 +01:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
Peter FeerickandRaphael Coeffic 7b45f3e4b0 Generate YAML for Zorro also 2021-12-17 15:17:49 +01:00
Peter FeerickandRaphael Coeffic ca2c76809a Build simulator for Zorro
Although it won't support yaml (yet)
2021-12-17 15:17:49 +01:00
Raphael Coeffic 0f970c93c9 Zorro YAML 2021-12-17 15:17:49 +01:00
Raphael Coeffic 479bd9d128 Add Zorro to build targets 2021-12-17 15:17:49 +01:00
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
843d1be868 Fix wrong Chinese characters being displayed (#1257)
* Fixed wrong index calculation.

* Fixed font generation, indexing will goes wrong when no extra chars bitmap is present.

* Image width exceeded 16384 will cause trouble in CJK.

* Include libopenui update

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-17 10:32:28 +11:00
jfrickmannandPeter Feerick 019a1584d0 Monospaced font for digits
So timers etc. do not jump back and forth. Assumes that 4 is the widest digit.
2021-11-22 14:49:44 +10:00
rotormanandRisto 80a51837c1 Automatically detect FlySky digital hall sticks on X10-class radios without necessity of build-time CMake option FLYSKY_HALL_STICKS.
Added special UART4 init to sample if FlySky sticks are present or not.
Added boolean globalData.flyskygimbals to save the detection result.
Removed FLYSKY_HALL_STICKS and FLYSKY_HALL_STICKS_REVERSE CMake build options.

Tested on two RM TX16S radios, one with FlySky digital hall sticks and second with stock analog sticks.
2021-11-19 21:33:03 +01:00
Raphael Coeffic f8ab3770e4 Updated generated yaml parser structs 2021-11-10 11:07:00 +01:00
RistoandGitHub a9fb2bbce0 Mingw32 2021-11-08 22:34:12 +01:00
RistoandGitHub 4e404391de Added -Wno-dev to CMake 2021-10-29 16:22:51 +02:00