Commit Graph
400 Commits
Author SHA1 Message Date
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
RistoandGitHub 6e333dad31 Added back clang 2021-10-21 22:32:13 +02:00
RistoandGitHub 7d2de72a9b Created exemplary MSYS2 build script 2021-10-19 23:08:54 +02:00
RistoandGitHub 28e201bd5e Added optional --pause argument 2021-10-19 22:46:55 +02:00
RistoandGitHub 95d531479a Allow --pause argument 2021-10-19 22:44:03 +02:00
RistoandGitHub 563f4f2a44 MSYS2 build environment second stage 2021-10-19 22:33:49 +02:00
RistoandGitHub fd90ecac82 MSYS2 Stage 1 build environment setup script 2021-10-19 22:32:30 +02:00
RistoandGitHub 38bddca9f7 MSYS2 Python Build requirements 2021-10-19 21:53:07 +02:00
Raphael CoefficandPeter Feerick eebd10dd9a Companion Linux: build AppImage 2021-10-06 16:45:32 +11:00
RistoandGitHub b60f7dd37c Bugfix 2021-09-29 19:00:08 +02:00
RistoandGitHub b4fe803f19 DFU-Util v0.10 -> v0.11 2021-09-29 18:59:53 +02:00
Raphael Coeffic 0574f04bde Fixed PCBREV for X10 Express 2021-09-24 18:40:34 +02:00
Raphael CoefficandRaphael Coeffic 366290307a Fixed commit-tests 2021-09-19 14:08:13 +02:00
Raphael CoefficandGitHub 4546f885ec Add capability to build more firmwares than scheduled for tests (#510)
* Add capability to build more firmwares than scheduled for tests

* Fixed casing for tx16s-fs target

* Fixed target names in YAML & added new ones to fw.json

* Remove unsupported "autoupdate"

* Update nightly targets
2021-09-19 19:44:25 +10:00
Raphael Coeffic 669e33e7f2 Add NV14 to the simulator targets 2021-09-13 12:56:33 +02:00