Commit Graph
85 Commits
Author SHA1 Message Date
Peter FeerickandGitHub 8fa1d91e65 SD Card version cleanup + update more OTX references (#1194)
* Remove references to `REQUIRED_SDCARD_VERSION`

* EdgeTX, not OpenTX

* Alignment
2021-12-07 20:48:36 +11:00
Peter FeerickandGitHub 8a47acd809 Fix model## format model notes not working (#1202)
use yml instead of bin to construct notes file name from model file n…
2021-12-02 11:52:23 +10:00
Peter FeerickandGitHub a05cc887b9 Add touch to Standalone Lua scripts (#1082)
Touch events to Standalone Lua scripts
2021-11-25 10:49:44 +10:00
Peter FeerickandGitHub 362a8e435f Add filename to lua model.getInfo() (#1132)
* Add filename to lua `model.getInfo()`

* Make `getModelNumberStr()` globally available

* Move variable extern

* Move constexpr to header, remove externs

* Perhaps .cpp should include its OWN header
2021-11-25 10:38:51 +11:00
Peter FeerickandGitHub 6e51c70aa7 Reduce code repetition for sd browser firmware update handling, add some .frsk entries (#543)
* Hacky port of FRSKY_FIRMWARE_EXT update menu
More work is needed to integrate/test the remaining menu items
May just ba a matter of correct parameters for deviceFirmwareUpdate

* Functionalise, of sorts

* Formatting

* Functionalise more repeated update code
2021-11-22 17:01:22 +11:00
Peter FeerickandGitHub 3e170e3cf8 [github] Reword PR template text 2021-11-19 11:49:37 +11:00
Peter FeerickandGitHub 3ad98bacf4 [NV14] Use trim hats to emulate key events when standalone lua script running (#985)
* Preliminary trims as keys for lua
Largely based on open-flysky implementation

* Add `isLuaStandaloneRunning()`

* Add more virtual events

* Tweak virtual events further

* Finish remapping keys to virtual events

* Move some virtuals to right trim hat

* Add missing "defined"

* Revert to common EVT_VIRTUAL_MENU mapping

* Make keys/trims reset backlight like other radios
2021-11-09 12:50:20 +11:00
Peter FeerickandGitHub 63bfc1cf5a Fix CurveEdit crash on NV14 and enable horizontal scolling (#965)
* [nv14] Add crash causing missing curveDataEdit

* Allow horizontal touch sliding
Thanks for catching this @kevinkoenig

* Prevent hori scroll where it shouldn't scroll
Why `model_inputs` scrolls is still a mystery, but it behaves now

* DRY is in effect
2021-11-08 22:07:16 +11:00
Peter FeerickandGitHub e6697639c7 Rename modelBmp using new 'displayName', add more options (#544)
* Make img buf only size of img not whole widget

* Don't draw buffer if there's no image

* If there's no image, draw model name

* Add some options, draw model name if img not set
Add options for text colour, size, fill enable and colour

* Use valid values for defaults

* Get right colours

* Add concept of a 'friendly name to widgets'
Allows for separation of internal and user visible names

* Use new theme constants

* Use right version of libopenui

* `displayName` instead of `friendlyName`

* Allow using theme colour or custom for name
2021-11-08 21:27:38 +11:00
Peter FeerickandGitHub 27f0d043d0 [Companion] More direct donation link 2021-11-05 20:23:19 +11:00
Peter FeerickandGitHub d5913e48b0 Add OpenCollective funding config 2021-11-05 13:49:44 +11:00
Peter FeerickandGitHub 1e952b8d59 Add Open Collective badge 2021-11-04 16:57:49 +11:00
Peter FeerickandGitHub a36aac0c90 [devcontainer] bump to 2.5 image 2021-10-20 17:27:06 +11:00
Peter FeerickandPeter Feerick 7d215dd809 Disable MixerScriptsPage if both required flags are not set (#879)
* Disable MixerScriptsPage for 2.5 release builds
Since it doesn't work anyway without LUA=Y

* Only enable tab when both flags set
2021-10-07 19:35:54 +10:00
Peter FeerickandGitHub 088051f3bb Use B&W for poweroff animation (#862)
* Use theme color for poweroff

* Also set animation color

* Changed to black bg, white animation
Per @JimB40 direction 😁
2021-10-06 22:45:33 +11:00
Peter FeerickandGitHub 247d2b0fd8 Statistics page theming + ENTER fix (#872)
* Statistics screen theming
Basically none of the text was using theme colours.

* Formatting

* Use COLOR_THEME_PRIMARY2 for prefixes

* Remove NO_FOCUS stopping reset button from working
Fixes #841
2021-10-06 22:14:49 +11:00
Peter FeerickandGitHub e1898475fd Automatically add enhancement label on FRs 2021-10-01 09:59:21 +10:00
Peter FeerickandGitHub 580b9b12bc Add missing audio/haptic when set custom failsafe
Fixes #799
2021-09-23 21:11:34 +10:00
Peter FeerickandGitHub 47dac14b2f Add codename define, update radio version screens and tweak companion (#747)
* Add codename deffine and update all radio version screens

* Move string, make const and formatting

* Missed parentheses around version number

* Add codename to Companion

* Replace edge-tx.org with edgetx.org

* Change EdgeTX website http links to https
Also consistent URL

* Update copyright string
Leave second version for future years
2021-09-18 20:35:31 +10:00
Peter FeerickandGitHub f5b5da86ce Disable unavailable Companion Preferences and tweak more legacy wording (#737)
* Fix references to opentx
* Disable update related options in preferences
2021-09-16 19:36:04 +10:00
Peter FeerickandGitHub 70ccca3dfa Merge pull request #726 from EdgeTX/fix-722
Call GV_IS_GV_VALUE() without offset applied
2021-09-15 11:36:09 +10:00
Peter FeerickandGitHub bba8f0f274 Merge pull request #727 from EdgeTX/simu_tap_count
Add tap count support to `simu` and fix simulator compilation on non-touch targets
2021-09-15 10:02:51 +10:00
Peter FeerickandGitHub cc0c530f3f Prevent USB activation while flashing firmware (#672)
* Prevent USB activation while flashing firmware
* Also prevent USB if at FLASH_DONE screen
2021-09-14 16:03:11 +10:00
Peter FeerickandGitHub 5dd4a89eb4 Merge pull request #704 from EdgeTX/nv14-doubletap
Implement tap count for NV14 TP also
2021-09-12 10:57:39 +10:00
Peter FeerickandGitHub e5b5c41253 Merge pull request #707 from jfrickmann/LuaWidgets
Add lcd.exitFullScreen(), removed full screen message
2021-09-12 10:57:26 +10:00
Peter FeerickandGitHub 3778ed26dd Merge pull request #703 from jfrickmann/DoubleTap
Double tap
2021-09-11 11:28:07 +10:00
Peter FeerickandGitHub 61d12f955d Merge pull request #696 from jfrickmann/LuaRGB
Modify Lua function lcd.RGB(...)
2021-09-10 07:10:42 +10:00
Peter FeerickandGitHub 30d9107d65 Merge pull request #693 from elecpower/cpn-fix-timer-edit
Timer edit enable switch except when mode is off
2021-09-09 18:35:02 +10:00
Peter FeerickandGitHub 1f87101e1d Merge pull request #664 from EdgeTX/pfeerick/issue663
Set more sensible default colors for output widget
2021-09-09 10:09:44 +10:00
Peter FeerickandGitHub b0fc204092 Merge pull request #690 from EdgeTX/sw_keyboard
Only enable HARDWARE_TOUCH for TX16 & T18 (Horus targets) by default
2021-09-08 16:24:29 +10:00
Peter FeerickandGitHub 24f88092b3 Merge pull request #688 from elecpower/elecpower/sim-fix-toggle-lock
Fix toggle lock release on simulator
2021-09-08 11:45:19 +10:00
Peter FeerickandGitHub 3ab85d1fef Merge pull request #689 from kevinkoenig/lng-press
Implement long touch to launch curves in mixes and inputs
2021-09-08 11:36:05 +10:00
Peter FeerickandGitHub 8823a1b0af Ignore changes to companion src
This is firmware test and builds only
2021-09-08 11:08:50 +10:00
Peter FeerickandGitHub 5ce08bb396 Merge pull request #679 from eshifri/eshifri/NV14_backlight
Allow backlight change with special function on NV14
2021-09-06 11:54:12 +10:00
Peter FeerickandGitHub c71f06d625 Merge pull request #678 from kevinkoenig/jump-curve
Implement Jump to Curve Edit from input and mixer screens
2021-09-06 11:53:24 +10:00
Peter FeerickandGitHub 973e2fe300 Merge pull request #677 from jfrickmann/LuaDrawTextLines
Improved Lua draw text lines
2021-09-06 11:53:09 +10:00
Peter FeerickandGitHub 68bea5212a Merge pull request #681 from kevinkoenig:sft-kbd-caps
Reverse keyboard icons so no caps is silhouette, caps is filled
2021-09-06 11:26:18 +10:00
Peter FeerickandGitHub 69efe13a57 Merge pull request #676 from eshifri/eshifri/nv14_model_setup_screen 2021-09-04 10:55:27 +10:00
Peter FeerickandGitHub 694c2dcf2d Merge pull request #671 from jfrickmann/LuaDrawTextLines
Add Lua function lcd.drawTextLines(...)
2021-09-03 19:26:01 +10:00
Peter FeerickandGitHub 71764fec1d Merge pull request #660 from avsaase/crsf-50-mw
Add 50 mW TX power level to CRSF protocol
2021-08-31 19:10:40 +10:00
Peter FeerickandGitHub 4a75467891 Merge pull request #659 from eshifri/NV14-model-setup-extra-line
Nv14 model setup extra line
2021-08-31 16:11:31 +10:00
Peter FeerickandGitHub e533fd1af7 Merge pull request #643 from EdgeTX/pfeerick/issue178
Don't remove 2POS from avail switches for invert
2021-08-30 23:37:37 +10:00
Peter FeerickandGitHub cb26ed3d87 Merge pull request #644 from kevinkoenig/software-keyboard
Software keyboard support
2021-08-30 23:06:55 +10:00
Peter FeerickandGitHub 4ad5cc0ab5 Merge pull request #651 from jfrickmann/FixMissingColors
Fix missing colors
2021-08-30 20:46:40 +10:00
Peter FeerickandGitHub a8f0b1e590 Add manufacturer names and alphabetical sort
Should update flasher dropdown
2021-08-30 10:21:28 +10:00
Peter FeerickandGitHub 606da0dc75 Merge pull request #653 from jfrickmann/LuaWidgetErrorMsg
Show error message in Lua widgets instead of "disabled"
2021-08-30 09:44:11 +10:00
Peter FeerickandGitHub 1debcd2651 Merge pull request #649 from jfrickmann/LuaWidgetColorOption 2021-08-29 10:16:35 +10:00
Peter FeerickandGitHub e216921556 Merge pull request #639 from EdgeTX/nv14-bootloader-files
Show more files on the NV14
2021-08-28 20:42:02 +10:00
Peter FeerickandGitHub deb9a6d213 Merge pull request #646 from jfrickmann/LuaWidgetColorOption
Color options for Lua widget get translated to Lua color flags
2021-08-28 20:40:31 +10:00
Peter FeerickandGitHub 8becbfcb49 Merge pull request #594 from eshifri/eshifri/invert_switch2 2021-08-25 11:31:08 +10:00
Peter FeerickandGitHub 7b5ac35bf5 Merge pull request #634 from zyren/main
Optimize the date format of CN/TW
2021-08-25 11:09:53 +10:00
Peter FeerickandGitHub 6d7a9293a7 Merge pull request #624 from EdgeTX/pfeerick/issue372
More layouts
2021-08-25 08:04:49 +10:00
Peter FeerickandGitHub 2617ae3efb Add link for Lua documentation site 2021-08-24 21:42:18 +10:00
Peter FeerickandGitHub 29701feaca Mention support by GitBook
When applying for the open source account, GitBook merely asked in return for "adding GitBook as a supporter if you have a public repo on GitHub!"
2021-08-24 21:40:24 +10:00
Peter FeerickandGitHub 7514c51768 Merge pull request #615 from EdgeTX/pfeerick/issue315
Implement 4+2 layout
2021-08-23 19:21:46 +10:00
Peter FeerickandGitHub 0929e001b2 Merge pull request #602 from eshifri/eshifri/SD_Navigation
Highlight file/folder when selected by touch before release allowing change of mind
2021-08-22 19:07:45 +10:00
Peter FeerickandGitHub 5677c06402 Merge pull request #619 from eshifri/eshifri/timer_fix 2021-08-22 14:24:37 +10:00
Peter FeerickandGitHub 7e1980e148 Merge pull request #608 from eshifri/eshifri/delayIcons
Implements showing of delay/slow icons on the mixes page
2021-08-22 12:46:20 +10:00
Peter FeerickandGitHub 83413a2242 Merge pull request #607 from EdgeTX/nv14-topbar
More NV14 topbar icon tweaks
2021-08-20 20:55:32 +10:00
Peter FeerickandGitHub f0fecfc195 Merge pull request #598 from EdgeTX/maxChannels
Tweak max channel values for MPM generally, MPM DSM2 and DSM2
2021-08-19 20:55:36 +10:00
Peter FeerickandGitHub 9900b308e4 Merge pull request #562 from EdgeTX/cmakePolicyDoc
Summarise the main project cmake policy settings
2021-08-11 15:01:43 +10:00
Peter FeerickandGitHub 7fbcc54485 Add more pretty badges ;) 2021-08-02 19:51:20 +10:00
Peter FeerickandGitHub 2fc38082de Merge pull request #472 from EdgeTX/fix-mpm-option-title
[color] Fix MPM option title==nullptr
2021-07-20 10:01:28 +10:00
Peter FeerickandGitHub 6eef71ddce Merge pull request #471 from EdgeTX/fix-mpm-dsm
[color] fixed MPM options (esp. DSM related)
2021-07-19 11:03:21 +10:00
Peter FeerickandGitHub da81546dc8 Merge pull request #428 from EdgeTX/safetyChecksAndHome
Run safety checks on model select and exit menu
2021-07-19 11:02:46 +10:00
Peter 8b630f04af Prep build directory 2021-07-18 14:50:14 +10:00
Peter 1d12028cd4 Include branch ref in gitpod URL 2021-07-18 14:43:46 +10:00
Peter 511ed64527 Add gitpod configuration 2021-07-18 14:21:54 +10:00
Peter 808559990d Add VSCode Development Containers supporter
See https://aka.ms/vscode-remote/docker for more details
2021-07-18 14:15:44 +10:00
Peter FeerickandGitHub a5e0aab49b Merge pull request #463 from EdgeTX/mixOutputSaveName
TextEdit should trigger Model save, not Radio save
2021-07-17 11:42:17 +10:00
Peter FeerickandGitHub 25328e9465 Merge pull request #455 from EdgeTX/fixOutputWidgetNames
Make outputs widget use outputs names
2021-07-15 20:59:53 +10:00
Peter FeerickandGitHub 38a99bca23 Merge pull request #440 from olliw42/owpr-compwarn2again
avoid compile warning
2021-07-13 11:13:51 +10:00
Peter FeerickandGitHub dbc7e40765 Merge pull request #424 from EdgeTX/fixMMsubProtocol
Reset MultiProtocol subType reset to zero on protocol change
2021-07-09 20:20:14 +10:00
Peter FeerickandGitHub 6ded23f26b Reset logical switch v2 range if v1 changes (PR #383)
* Reset logical switch v2 range if v1 changes
Use the v1 handler to update v2 range if the v2 source box has already
been created, so that the min/max values are updated from the default.

* Move invalidate, add bounds checking for v2 range

* Out of range check doesn't need to be inclusive

* Remove range check as is inconsistent with buggy B&W behaviour
2021-07-05 09:04:06 +10:00
Peter FeerickandGitHub 797c3f175a Show RSSI if RF Freq Fine tuning supported (PR #379)
* Show RSSI if RF Freq Fine tuning supported
* Increase buffer slightly, add whitespace
* Use same buffer size and naming for consistency
* Use shorter code that doesn't require buffer variable (Thanks to @eshifri for the hint about DynamicNumber)
2021-07-05 09:03:00 +10:00
Peter FeerickandGitHub 84a6cece48 Add the missing 'S' to X-Lite and X9 Lite 2021-06-28 08:54:35 +10:00
PeterandRaphael Coeffic 74222fe74d Lua scripts can detect EdgeTX via getVersion
Add a sixth parameter to getVersion so that scripts 
can detect whether running on EdgeTX or OpenTX. 

i.e. `local ver, radio, maj, minor, rev, osname = getVersion()`
2021-06-26 06:36:35 +02:00
PeterandGitHub b8c2b5d311 Merge pull request #238 from EdgeTX/OTX-cleanup
Some cleanup of OTX leftovers...
2021-06-17 19:14:18 +10:00
Peter 8e758e4994 CI should ignore changes to issue templates 2021-06-17 19:03:55 +10:00
Peter f2ecce322d Update github issue templates, prune some OTX files 2021-06-17 18:57:30 +10:00
PeterandGitHub e0c0cc1f95 Merge pull request #111: Add mention of ICONS8
Add mention of ICONS8
2021-06-13 10:49:16 +10:00
PeterandGitHub 6d95608696 Add EdgeTX B&W splashes and remove vendor specific branding
New EdgeTX splash screen logos and remove vendor specific branding
2021-06-09 19:46:01 +10:00
8940b01de6 Don't rebuild test or build firmware on doc change (#110)
Markdown docs are not part of the firmware, so don't run tests or rebuild because of changes to them.

Co-authored-by: Raphael Coeffic <raphaelcoeffic@users.noreply.github.com>
2021-05-29 13:39:34 +02:00
PeterandGitHub 566b4ce6fa Add mention of ICONS8
Expand on once specifics are known.
2021-05-19 11:19:37 +10:00
PeterandRaphael Coeffic e2c621c9a1 Use the selection colour as the progress bar border 2021-05-16 19:47:53 +02:00