Commit Graph
430 Commits
Author SHA1 Message Date
philmozandGitHub 044344f18f fix(build): Impove yaml generator libclang compatibility (from PR#2631) (#3402) 2023-03-26 19:06:15 +10:00
RistoandGitHub a28e4b2383 fix: MSYS2 build script comment. 2023-03-12 22:42:55 +01:00
RistoandGitHub ba5058abe7 SDL2 is supported only from current main-dev or 2.9 onwards 2023-02-22 12:03:27 +01:00
Malte LangermannandGitHub 8d91c0ae95 chore: Convert simu/simulator/companion to SDL2 (#3085)
* chore(pc): convert simu/simulator/companion to use SDL2

* switch companion builds to SDL2 - OSX is not converted
the linux change is done a bit hacky, it should be done by updating the EdgeTX docker container

* update build system setup scripts

* add compatibility for old and new SDL2 cmake integration

* fix windows installer

* fix simulator audio on windows by using DirectSound vie SDL2

* fix windows audio with SDL2
enable simu for windows builds

* remove workflow changes for linux builds, this needs to be fixed in the build environment

* fix OSX build, thx @pafleraf

* fix windows audio for companion and simulator with SDL2

* select SDL2 branch of the build-docker environment

* Revert "select SDL2 branch of the build-docker environment"

This reverts commit da801609d78e1aed513ad7d9d8ab3ebded2900b9.

* fix tests with SDL2
2023-02-22 20:32:51 +10:00
Offer ShmuelyGitHuboshmuely <AbCd321654>
58e5d88cf3 fix: MSYS2 build script file rename (#3216)
* fix script name of MSYS2 build

---------

Co-authored-by: oshmuely <AbCd321654>
2023-02-20 12:30:00 +01:00
Offer ShmuelyandGitHub f696470ea8 feat: MSYS2 build script enhancements (#3165)
* enhance msys2 build script
- stop on error
- support different branch's (not only main)
- add all the radio option on top of the script
- support re-run of the build (handle existing dir & git pull)
- add logs to follow the progress steps (especially in case of failure)
Authored-by: oshmuely <AbCd321654>
2023-02-15 10:10:06 +01:00
60cdb897ee feat(cpn): Radiomaster Boxer support (#2910)
* feat(cpn): Initial Radiomaster Boxer support

* fix(build): Halt if invalid simulator plugin specified

* fix: 6POS not correctly defined

* chore: Less EEPROM stuff needed

* Start of simulator support

* Enable left buttons and fix area mapping of page up and down

* fix(cpn): Internal reference to pots

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-02-11 20:10:12 +10:00
46cc979875 fix: Regenerate yaml, carryTrim => trimSource cleanup (#3121)
PR #2995 didn't take into account the data model storage actually does change when you change a variable name. 
Boxer yaml generation was missed in earlier PR. 

* chore: Run `generate-yaml.sh`

* chore(cpn): carryTrim -> trimSource

* fix(build): Boxer missing from `generate-yaml`

* dodgy attempt to read old carryTrim

* fix: Don't break the byte boundary + reorder

* fix(yaml): indentation for attributes that should not be output

* chore: Regenerate YAML after rebase

---------

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-02-05 13:46:02 +10:00
3djcandGitHub bc8087cbf1 feat: Add Radiomaster Boxer (#2877)
* Radiomaster Boxer

* chore: Add Build system bits

* chore: `EEPROM_VARIANT` no longer used
2022-12-31 16:45:09 +10:00
Peter FeerickandGitHub 14c9a6fc9a fix(build): Fail on unknown targets rather than build x9d (#2760)
* fix: Fail on unknown target rather than build x9d

* fix: Add a space between parameter blocks
2022-11-30 15:58:55 +10:00
786fbcb411 feat: Japanese radio translation 🇯🇵 (#2456)
* Japanese radio translation

`jp.h` based on #2006 (Kudos to @ToshihiroMakuuchi)

* fix: Gyro is now IMU

* Japanese modifications were made to the display. (#2171)

* Update JP translation file

* Update JP fonts

* Fix rotary encoder mode string

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: まっく まるちぷろとこる <36994795+ToshihiroMakuuchi@users.noreply.github.com>
2022-10-11 11:42:24 +10:00
Peter FeerickandGitHub af45201f64 feat(cpn): iFlight Commando8 support (#2244)
* feat(cpn): Initial iFlight Commando8 support

* fix: Commando8 doesn't have trainer port

* feat: Add Simulator for iFlight Commando8
Also some minor code re-order for BetaFPV LR3PRO

* chore: EEPROM_VARIANT not used

* chore: Remove EEPROM bits that don't seem needed

* fix: Build simulator plugin

* fix: Simulator PGUP/PGDN the right way around

* fix: Keep trainer mode in cpn for MPM, etc
2022-10-10 12:59:28 +10:00
3b2f07ae85 fix: Danish special characters on B&W radios (#2271)
* Dannish special characters

* Danish special characters

* Danish special characters

* Danish special characters

* Danish special characters

* Danish special characters

* chore: Reset header to `copyright-header` template
`tools/copyright-header.txt` template is what should be used.
Also added line at EoF to make git happy

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-09-07 20:15:08 +10:00
elecpowerandPeter Feerick 887902bf4f Include OpenSSL 1.1 in Win32 and Win64 installer packages 2022-09-06 09:29:41 +10:00
Peter FeerickandPeter Feerick 6c31b395e9 chore(cpn): Build TX12MK2 simulator 2022-08-27 19:03:05 +10:00
Peter FeerickandPeter Feerick 1500122b12 fix: Update path and board name for fw builder 2022-08-20 10:59:50 +10:00
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