Commit Graph
100 Commits
Author SHA1 Message Date
RistoandGitHub 9fa3fb3dcf fix(lua): memory leak (#6297) 2025-05-23 10:56:19 +10:00
RistoandGitHub 8751b85b8a fix(doc): describe more clearly availability of colorlcd Lua API functions (#6060) 2025-04-10 10:29:31 +10:00
RistoandGitHub 5e95e522e7 feat(lua): add screenshot() function (#5181) 2024-08-20 13:12:33 +10:00
RistoandGitHub d1768025db chore: Remove unused LCD_DUAL_BUFFER (#4387) 2023-12-08 10:00:30 +10:00
RistoandGitHub a0450d7b5b feat: Use explicit linker script for 1MB flash B/W radios (#4244) 2023-10-27 21:09:39 +10:00
RistoandGitHub 5bc06959a1 feat(color): Add alignment option for text widget (#3574) 2023-09-25 11:55:54 +10:00
RistoandGitHub 870fe7eca3 feat(color): Show custom image during shutdown if present
If `IMAGES\shutdown.png` is present, a custom shutdown image will be displayed while powering off the radio
2023-09-23 18:46:50 +10:00
RistoandGitHub 0d361b3131 fix: cosmetics, uniform labelling of build options. 2023-08-27 12:06:36 +02:00
RistoandGitHub 4b90e8b001 feat(color): Updated to new Eddie the Edgehog splash (#3852)
* feat(logo): updated 480x272 pixel screen splash to use new EdgeTX logo & mascot
2023-08-20 11:44:57 +02:00
RistoandGitHub 2b43cd81db fix(doc): fixed broken logo link, changed to new logo 2023-07-17 17:55:28 +02:00
RistoandGitHub f8814a072e feat(ui): rephrased to "Missing or bad radio data" (#3589)
* feat(ui): rephrased to "Missing or bad radio data"
Less daunting label if \RADIO folder on SD card is non-existent.
Thx to jan-kozak-oc, robustini, ToshihiroMakuuchi, Pat6874, HThuren, Eldenroot, ulfhedlund and zyren for translations.
2023-05-17 13:20:41 +02:00
RistoandGitHub a4689d0b00 fix: Explicitly list 12-bit ADC resolution (#3488) 2023-04-19 18:50:22 +10:00
RistoandGitHub 0af86f657e feat(lua): Add serial[Get|Set]Power() to LUA API (#3265) 2023-03-17 11:55:10 +10:00
RistoandGitHub 150f341a23 fix(color): Main view numbering (#3357)
* fix(ui): Main view numbering #3073

* Fix max last tab focus.
2023-03-17 10:27:47 +10:00
312a2358dc feat(color): Increase max possible widget screens to 10 (#3073)
* Elevate telemetry screen count from 5 to 10 on color radios.

* Cpn increase max custom screens

* fix(color): Missing Add tab button on max-1
addTab was not called when adding screens dynamically

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-03-16 17:13:11 +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
97c57cf9ee feat(colorlcd): Value widget text alignment options (#3080)
* Adds option to align value widget label and value to left, center or right border of the widget zone.

* Cpn sync

* Typofix thx to @Eldenroot

* fix: Add `TW` translation

* fix: Two spaces for indent

---------

Co-authored-by: elecpower <neilh713@tpg.com.au>
2023-02-20 14:57:58 +10:00
RistoandGitHub 688addd5d2 feat(LUA): Add delete command to filesystem API (#3181) 2023-02-20 14:56:33 +10:00
4ea77cd172 fix: Enable AUX1 power on TX16S with IMU_LSM6DS33 (#3156)
* fix: enable AUX1 power on TX16S with IMU_LSM6DS33

* Add some delay when powering I2C bus

---------

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-02-15 16:22:58 +10:00
RistoandGitHub 6af2bb7173 fix(doc): LUA doc link to units.md
* Minor fix to LUA documentation
2023-01-28 12:59:26 +01:00
RistoandGitHub 5acaa79c1c feat(fw): Only show SD card in USB storage mode (#3045)
* Only attach SD card in USB storage mode

* Added compile time option FWDRIVE (default OFF) to enable attaching also the firmware drive via USB, when attached in mass storage mode.

* Re-trigger GitHub Actions

* chore: Trailing whitespace cleanup
2023-01-26 14:39:31 +10:00
RistoandGitHub 0b79315fe5 chore: cleanup, remove unnecessary commented line 2023-01-24 19:03:10 +01:00
RistoandGitHub 1860233fb5 chore: Remove obsolete functions (#2826) 2022-12-07 20:28:41 +10:00
RistoGitHubNiel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
9dc4065525 feat: Add support for SpaceMouse mod (6D input knob) (#1853)
Use `-DSPACEMOUSE=YES` CMake option to activate on Horus color targets.
Co-authored-by: Niel Horne (elecpower), Raphael Coeffic (raphaelcoeffic) and Peter Feerick (pfeerick).
2022-09-18 09:23:48 +02:00
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
RistoandGitHub 929847209d Fixed compiler warnings (#41)
Fixed 4 compiler warnings about comparison of signed and unsigned int.
2021-12-02 11:28:13 +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