Commit Graph
100 Commits
Author SHA1 Message Date
2ee75033bb feat(color): Add OneBit option to color radios (and Companion!!) (#1994)
* Added OneBit option also to color radios

* Try to work around GH repo owner issue

Original by @raphaelcoeffic in https://github.com/EdgeTX/edgetx/commit/bf4b5d8c0c1e386d5a4852a80d459540bab98ed3

* Add Companion support for radios with external module

* Companion housekeeping - do not display unnecessary hardware section headings

* fix: Rebase cleanup

* fix: LVGL changes

* feat: Move sample mode to a new Ext RF block

Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-07-22 11:00:20 +10:00
RistoandGitHub 386f8e6342 fix(TX16S): LCD clock speed lowered to within spec (#2127) 2022-07-15 18:34:27 +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 b296fbcdb5 Initialise the PWM interrupt count to 0 (#1732) 2022-06-25 20:06:26 +02:00
RistoandGitHub aee222bd31 Change git by default to rebase instead of merge 2022-06-13 14:36:04 +02:00
RistoandRaphael Coeffic 1c4af39650 Changed to latest container 2022-06-11 15:38:08 +02:00
RistoandRaphael Coeffic 415e7147f1 Typofix 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
6b557e49ea USB-VCP no OFF if internal RF module is set to CRSF (#1957)
* Do not list OFF on VCP menu if internal RF module is set to CRSF to allow pass-through flashing.
Set USB-VCP automatically to CLI when CRSF mode is selected for internal module and it was previously OFF. Activate CLI when iCRSF is selected.

* Companion part

Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-05-30 22:14:08 +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
RistoandGitHub 60fbe5eddb fix(t16): Set the same highest brown-out threshold level for all T16 family radios (#1906)
* Set the same highest BOR level for all T16 family radios

* Add stm32f4xx_flash.c to T16 and T18
2022-05-04 20:38:07 +10:00
RistoandGitHub b9d9f61456 feat(T16,T18): Add support for USART6/AUX2, incl. internal GPS, if Bluetooth is not enabled (#1915)
Adds USART6/AUX2 support also to Jumper T16 & T18. TX and RX lines are accessible via internal FrSky Bluetooth module pads on the mainboard. The USART6/AUX2 serial port functionality is usable more generic on these radios as well and not limited to Bluetooth only.
E.g. radio GPS is supported after this change (as are further serial port modes).
Only if firmware is explicitly built with -DBLUETOOTH=YES, USART6 will be dedicated to Bluetooth (as is the case also e.g. with TX16S).
2022-05-01 13:38:40 +02: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
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
RistoandGitHub a873bb1dda On software controllable serial power pins, keep power off during bootloader (#1882) 2022-04-23 14:58:43 +02:00
RistoandGitHub a830efe8de chore(companion): Use "cpn-win-64" to more clearly denote 64-bit Windows vers (#1872) 2022-04-21 18:35:41 +10:00
RistoandGitHub 08e1ed79b7 fix: Companion decibel Db -> dB in telem simulator(#1866) 2022-04-21 09:30:47 +10:00
RistoandGitHub ea24d0fb1e Indent 2022-04-19 09:22:18 +02:00
RistoandGitHub cdef0d6baf improvement: Change VCP to USB-VCP in the UI (#1849) 2022-04-19 14:20:30 +10:00
RistoandGitHub c9594390e2 feat: Show module info for MPM and CRSF on Radio Version screen (#1771)
* Show module info for MPM and CRSF

* Consider MPM only if MULTIMODULE is defined

* Consider MPM only if MULTIMODULE is defined
2022-04-01 10:52:08 +10:00
Risto b3108841ff Show MPM and CRSF Info
Should fix #1760
2022-03-30 09:42:07 +02:00
Risto 7fae21ea02 Do not enable DMA1_Stream2 IRQ
As there was no Interrupt-Service-Routine defined for FlySky Hall RX DMA (DMA1_Stream2_IRQHandler, IRQ no 13), should not enable the interrupt.
2022-03-10 11:58:31 +01:00
Risto 357ae8889f Match GH clang v6.0 2022-02-13 14:52:36 +01:00
RistoandGitHub 60bbe52f63 feat: More analog diagnostics screens on B&W colorlcd (#1421)
* Show true unscaled and unfiltered analogs for diagnose purpose on the analog diagnose screen.
Tested on physical RM TX16S, not yet tested on B/W targets.

* Changed to decimal display also on B/W targets. Tested now with RM Zorro as well.

* 5 fps refresh rate of the raw analog values. Much nicer to look at.

* Time-changing 3 views for color radios: std., filtered raw with deviation, unfiltered raw.

* Corrected deviation view output to not use old values.

* Changed analogs diagnose page to user navigatable TabsGroup with 3 tabs.

* Added fourth analog diagnose tab to show minimum and maximum values and the range (difference between min and max).
Left touch screen and IMU output tests only on first page (should also move in the future to their respective dedicated pages).

* Use Std. JitterAlpha filtering for Deviation screen to minimize delay, omit filtering for FlySky digital hall gimbals - not necessary, the signal is stable enough.

* 2 analog diagnose pages for 128x64 B/W radios: calibrated analogs and raw values with display output limited to 5 frames-per-second due to visibility reasons.

* Added 2 analogs diagnose pages also for 212x64 display B/W radios.
I was only able to simulate it, not tested on real hardware.

* Support also radios that do not have PageUp/PageDn keys, but only Page key (e.g. X7).

* Better key handling and improved style thx to @pfeerick
2022-01-21 14:45:56 +10:00
Risto adca4f0a3b Fixed Zorro battery voltage sensing
New Zorro revision uses internally 3.3V VREG and requires this change to properly sense the battery voltage. Tested on latest revision of physical Zorro.
2022-01-17 16:06:26 +01:00
RistoandGitHub e97a3b15a5 Add asciitree and jinja2 to the list of installed Python packages 2022-01-10 20:04:07 +01:00
RistoandGitHub 293b8edd4b Disable VBatBridge after first run (#1388)
Checked with in-circuit-debugger on physical RM TX16S, only after this fix, isVBatBridgeEnabled() is really false.
2022-01-09 10:49:35 +10:00
88ade987a7 [nv14] Minor code cleanup (#1364)
* Remove unused DMA defines

* Removed further unused DMA defines

* Removed obsolete unused files.

* Remove reference to removed file

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-08 13:40:10 +10:00
RistoandGitHub 5a090d689d Easier rotary encoder inversion code (#1326)
* Easier inversion code.

* Evaluate define INVERTED_ROTARY_ENCODER instead.

* Make Zorro roller direction more natural and matching also TX16S navigation style.
2022-01-01 21:54:49 +10:00
RistoandGitHub 97681b2f45 Bugfix in display 2021-12-12 15:43:45 +01:00
1912ec6426 Fix building with -DGVARS=NO (#1232)
* Fix building with -DGVARS=NO

* Thx @eshifri for the tip

Better solution

* Don't show GVARS tab if GVARS turned off

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-10 09:50:45 +11:00
66086e0c10 Fix minor compiler warnings (#1200)
* Fix compiler warning

Fix compiler warning about comparing signed with unsigned.

* Fix minor bug

category->size() is unsigned int, not long unsigned int

* Typo

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-02 12:06:09 +11:00
Risto 1103a3c842 Bluetooth trainer byte parsing: catch XOR state errors
In XOR state only 0x7E ^ 0x20 = 0x5E or 0x7D ^ 0x20 = 0x5D are expected.
Copy of my https://github.com/opentx/opentx/pull/8427
2021-11-27 16:26:43 +01:00
Risto 620a43a9c3 Fix building for X9E 2021-11-20 20:30:42 +01:00
RistoandGitHub 1bdb99f2bb Use build-companion-nightly-win32.sh instead 2021-11-08 22:35:00 +01:00
RistoandGitHub a9fb2bbce0 Mingw32 2021-11-08 22:34:12 +01:00
RistoandGitHub aa217abfa1 Create win-cpn-32.yml 2021-11-08 21:38:41 +01:00
RistoandGitHub a6c47a670a Minor. Export label change from OpenTX -> EdgeTX 2021-10-31 10:17:26 +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
Risto b2d781fd32 Fixes DFU-Util "Unexpected argument" error
Tested under Ubuntu 20.04.1 with dfu-util v0.11
2021-10-02 09:30:37 +02: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
RistoandGitHub 8986d0a5dc Merge pull request #743 from EdgeTX/EX3_EX4_Bugfix
Fixes EX3 and EX4 bug caused by myself
2021-09-16 16:46:59 +02:00
RistoandGitHub 8b4a11de96 Fixes EX3 and EX4 bug caused by myself 2021-09-16 13:20:20 +02:00
RistoandGitHub 8620fe1928 Merge pull request #721 from dlktdr/trainer_channels
Slave/Jack - more channels, Bluetooth/Slave bug fix
2021-09-15 07:59:33 +02:00
RistoandGitHub 1eed24cdb6 Fix battery bar position (sign error) 2021-09-14 21:14:41 +02:00
RistoandGitHub 2e9d9357bc Version bump 2021-09-14 15:22:16 +02:00
RistoandGitHub 954eeaedc0 Merge pull request #709 from EdgeTX/FlySkyHallPlus2Analogs
Enable EX3 and EX4 on TX16S in combination with FlySky Hall Gimbal
2021-09-14 09:23:24 +02:00
RistoandGitHub 525126e155 Merge pull request #617 from EdgeTX/Horus_I2C_conf
Adds support of LSM6DS33 IMU to TX16S via AUX1 port
2021-08-24 17:05:08 +02:00
RistoandGitHub 25ce6efc70 Merge pull request #612 from EdgeTX/DebugTimeFix
Removes the constant "+00000ms:" from the debug output. Thx for testing @pfeerick !
2021-08-22 09:06:27 +02:00
RistoandGitHub af5c3ce170 Merge pull request #611 from EdgeTX/CompWarnings
Removes two compiler warnings (thx @pfeerick for testing!)
2021-08-22 09:01:46 +02:00
RistoandGitHub 092e11e0c0 Fix uninitialized variable usage compiler warning 2021-08-21 10:14:40 +02:00
RistoandGitHub cbfc14de13 Fix uint - int mismatch compiler warning 2021-08-21 10:13:41 +02:00
RistoandGitHub f9f18ceab1 Merge pull request #575 from EdgeTX/ubuntuBuildEnv
ubuntuBuildEnv
2021-08-10 14:54:44 +02:00
RistoandGitHub ac5e1ff89c .bashrc needs to be sourced by user manually 2021-08-10 11:44:10 +02:00
RistoandGitHub 0cb18b069b Added checks to detect if i386 architecture is installed 2021-08-09 14:08:54 +02:00
RistoandGitHub 868ad6a576 Removed v2.4 text in comments to be more generic. 2021-08-09 10:15:41 +02:00
RistoandGitHub 1edfe93edb Parenthesis bugfix. 2021-07-27 10:57:09 +02:00
RistoandGitHub e3b38f4bde Full simulator startup bugfix 2021-07-27 10:52:10 +02:00
RistoandGitHub cce0d7813a Merge pull request #262 from rotorman/UniformSplashBG
Matches the splash background with bootloader background
2021-07-25 13:39:06 +02:00
RistoandGitHub 0423b8d286 Stop disabling interrupts while clearing ADDR bit 2021-07-17 14:40:28 +02:00
RistoandGitHub 0cd99cf0c9 Merge pull request #320 from olliw42/owpr-modelselection2
Consistify icons for model setting, select, and category
2021-07-12 14:51:07 +02:00
RistoandGitHub 7f472ff5e8 Merge pull request #396 from rotorman/X12S_RTC
Enable VBat bridge to enable RTC coin cell sampling on X12S
2021-07-07 10:36:28 +02:00
RistoandGitHub f604fed503 Try fix X12S RTC battery sampling 2021-07-03 13:48:02 +02:00
RistoandGitHub 660a4443b9 Merge branch 'EdgeTX:2.4' into 2.4 2021-07-03 13:44:41 +02:00
RistoandGitHub 129866488d Voice timer countdown fix (#362)
* Fix mapping of 2 bit signed countdownStart value to seconds

value -2 - 5 seconds
value -1 - 10 seconds
value 0 - 20 seconds
value 1 - 30 seconds
2021-06-28 09:03:12 +02:00
RistoandGitHub 8efe5e767e RTC bridge fix (#360)
* RTC bridge fix

Merged code by @bsongis from https://github.com/opentx/opentx/pull/8577
2021-06-28 08:46:27 +02:00
RistoandGitHub 94fbcdd3f4 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-27 13:51:34 +02:00
RistoandGitHub 4bfcbf7a05 Adds support for correct Alps EC10E roller hookup (#261)
Enhanced roller update (thx to Mike Blandford https://www.rcgroups.com/forums/showpost.php?p=46929617&postcount=9974 )

* TX12 should also have ROTARY_ENCODER_GRANULARITY 2
2021-06-21 18:43:40 +02:00
RistoandGitHub 746cc66f9c Merge branch 'EdgeTX:2.4' into 2.4 2021-06-20 12:00:59 +02:00
RistoandGitHub 54cab5aff9 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-18 17:46:41 +02:00
RistoandGitHub ea73d5e711 Merge pull request #254 from EdgeTX/credits-cleanup
Finish removal of `credits.txt` by removing `companion24` depenency
2021-06-18 09:51:08 +02:00
RistoandGitHub 7e28102dab Is not for WSL/WSL2
Added comment that this script is for bare-metal or virtualized Ubuntu installations only. Does NOT run under WSL or WSL2.
2021-06-17 19:56:25 +02:00
Risto 5669770455 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-16 11:51:06 +02:00
RistoandGitHub c2623aa00e Show special functions from 1 to 64, instead of 0 to 63
To be more uniform with other elements, such as curves, global variables that start from 0.
2021-06-14 20:07:15 +02:00
RistoandGitHub 3d0fd18e52 Match color radio for the RGB565 hookup
Uses upper bits for the display of lower bits of RGB565, that are not 0 on physical radio. Matches better the color display of radio.
2021-06-13 11:17:41 +02:00
RistoandGitHub f665ce5a9d DMA2D configuration error fix (-DDEBUG_WINDOWS) (#190)
* Fixes DMA2D ConfError

* Check configuration and transfer errors

Check for DMA2D configuration and transfer errors and do not enter the otherwise endless while loop. Thx to @raphaelcoeffic for the tip.
2021-06-11 15:56:30 +02:00
RistoandGitHub d709b69a3c resolves #141 2021-06-06 18:06:17 +02:00
RistoandRaphael Coeffic d571806caa Removed AddressSanitizer for Simu
Removed AddressSanitizer for Simu to get rid of ASan error on Simu start
2021-06-05 21:25:08 +02:00
RistoandGitHub 057401fcb1 Added npm
Added npm to package list in order to build flasher
2021-06-05 17:11:12 +02:00
RistoandGitHub e9ad84e913 Changed to DFU-Util 0.10 2021-06-05 14:39:42 +02:00
RistoandGitHub c998e754d8 Changed to GNU Arm Toolchain v10 2020-q4 2021-05-29 14:03:52 +02:00
RistoandRaphael Coeffic 3a01639f5f Fixes HardFault on boardOff() with forced power supply
Fixes power-off HardFault during hw-debugging at the end of boardOff(), when power supply to MCU is forced (developer boards, w/o cutting power with pwrOff() ).
2021-05-29 13:40:05 +02:00
RistoandGitHub 564dda3412 Improved the flow 2021-05-27 22:30:56 +02:00
Ristoandrotorman 89be10e68e Transparent PNG and main menu text About changed to EdgeTX as well. 2021-05-24 20:22:25 +02:00
Ristoandrotorman ff0d5f5d75 About logo changed to EdgeTX 2021-05-24 20:01:42 +02:00
Risto 8a1e881521 Merge branch 'EdgeTX:2.4' into 2.4 2021-05-24 19:50:14 +02:00
RistoandGitHub ea616c7187 Fix -DLUA=OFF build on color radios (#21) 2021-05-15 20:20:55 +02:00