Commit Graph
335 Commits
Author SHA1 Message Date
Jesper FrickmannandGitHub f1baa383ae Fix standalone Lua script screen flicker and improve error messages (#982)
* Relax assumptions about when Lua is called in foreground and background

* Start Lua cycle timer both in foreground and background
Do not assume that background/foreground alternates

* Lua is called at every Standalone GUI cycle instead of 5 Hz
Since Lua preempts every 50 ms or so, the GUI should remain responsive.

* In standalone script, only call Lua once per GUI cycle, to avoid messing up buffer handling.

* Revamped error reporting for Standalone and Telemetry Lua scripts

* Font size for Lua error is reduced from XL to L on color if LCD_W < LCD_H

* In drawTextLines, also possible linebreaks for opening brackets.

* Smaller font for error message on tall color screen

* Make titlebar height match font size on narrow LCD
2021-11-15 12:57:14 +11:00
Raphael CoefficandGitHub 6c1ca71740 Merge pull request #991 from EdgeTX/access-options
Access options / menus
2021-11-11 19:09:29 +01:00
Raphael Coeffic f932e9e12c Further confined v220 data structures 2021-11-10 11:07:01 +01:00
Raphael Coeffic 4b79cdc795 Fix some b&w target compilation 2021-11-10 11:07:00 +01:00
Raphael Coeffic 985a8760bb WiP 2021-11-10 11:06:59 +01:00
Raphael Coeffic b7ddca5fdb Exclude PXX2 module and receiver option UI files when PXX2 not enabled 2021-11-07 20:17:43 +01:00
Raphael Coeffic 33e5aac846 Module and receiver options 2021-11-07 20:05:58 +01:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
Paul Kendall 994c739b57 Fix baud rate defaults
Default value 0 is 400k baud, unless SPORT_MAX_BAUDRATE < 400000 in which case default value 0 is 115k baud.
2021-09-17 12:20:43 +12:00
884bcec13c Allow selecting higher baud rates (#640)
* higher baud rates

* Update colorlcd models to support selectable baud tp 3.75M

# Conflicts:
#	radio/src/gui/colorlcd/radio_hardware.cpp

Co-authored-by: Jye <JyeSmith@users.noreply.github.com>
Co-authored-by: Paul Kendall <pkendall64@gmail.com>
2021-09-12 06:46:43 +10:00
Raphael Coeffic 0e4201f25d WiP 2021-07-31 18:46:38 +02:00
Raphael Coeffic 33d8267489 Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/datastructs.h
2021-06-10 17:31:39 +02:00
Raphael CoefficandRaphael Coeffic 31071cc0fc Fixed registration ID 2021-06-05 20:29:09 +02:00
Raphael CoefficandRaphael Coeffic b429855675 Fixed editName() 212x64 2021-06-05 20:29:09 +02:00
rotormanandRaphael Coeffic 78327063fb Added stdio.h to be able to compile with GNU Arm Toolchain v10 2020-q4 without errors. 2021-05-29 07:39:12 +02:00
HydraandRaphael Coeffic fdb5cc379c Fix missing whitespace after function. 2021-05-20 23:24:04 +02:00
HydraandRaphael Coeffic 2f27c3c1a6 Add OneBit mode to HARDWARE menu. OneBit mode can help if your radio
has a slow inverter circuit by changing the UART sampling behaviour.

* It was found that the X9D+ and X7 (maybe others) have a slow inveter
that messes up reception of fast (400,000baud) UART signals.  On the
scope the rise time of the signal is very long.
* See RM0033 24.3.3 Receiver / Selecting the proper oversampling method.
Page 631.


Also note that reducing the pull-up resistor from 10k to 1k at R82
(X9D+) / R406 (X7) will also help with the rise times.  However on the
X7 changing the resistor is not enough, OneBit is needed too.
2021-05-20 23:24:04 +02:00
3djc 70d24506da Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/fonts/480x272/font_dblsize.png
#	radio/src/fonts/480x272/font_xxlsize.png
#	radio/src/gui/128x64/model_setup.cpp
#	radio/src/gui/128x64/radio_setup.cpp
#	radio/src/gui/480x272/model_receiver_options.cpp
#	radio/src/gui/480x272/model_setup.cpp
#	radio/src/gui/480x272/radio_calibration.cpp
#	radio/src/gui/480x272/radio_hardware.cpp
#	radio/src/gui/common/stdlcd/draw_functions.cpp
#	radio/src/gui/gui_common.cpp
#	radio/src/keys.h
#	radio/src/lua/interface.cpp
#	radio/src/pulses/afhds3.h
#	radio/src/rtos.h
#	radio/src/switches.cpp
#	radio/src/targets/common/arm/stm32/aux_serial_driver.cpp
#	radio/src/targets/horus/CMakeLists.txt
#	radio/src/targets/horus/lcd_driver.cpp
#	radio/src/targets/horus/startup_stm32f42_43xxx.s
#	radio/src/targets/taranis/CMakeLists.txt
#	radio/src/telemetry/crossfire.h
#	radio/src/telemetry/multi.cpp
#	radio/src/translations.cpp
#	radio/src/translations/it.h.txt
#	radio/src/translations/untranslated.h
#	radio/util/font2png.py
#	tools/commit-tests.sh
2021-04-08 11:42:28 +02:00
Daniel 874a06eeb6 Add space to SD edit name 2021-04-01 08:25:02 +02:00
3djc 57c5dcfbd8 Compilation fixes 2021-02-12 13:45:39 +01:00
Bertrand Songis 4a2e20815f Fixes 2021-02-11 17:50:43 +01:00
3djc 3a2a51e353 b&w too 2021-01-28 08:05:33 +01:00
3djcandGitHub 753842fbaf Jumper T-Lite support (#8230) 2021-01-25 15:36:32 +01:00
Bertrand Songis 27f3adeeaa Grrrrrr. 2021-01-24 22:34:00 +01:00
3djc 40506ac858 Compilation fix 2021-01-19 16:24:39 +01:00
3djc b90cfb7675 Cosmetics 2021-01-19 16:14:46 +01:00
3djc 8fcc4f7247 Cosmetics 2021-01-18 17:37:50 +01:00
Kilrah c34ed67343 Merge branch '2.3' into 3djc/T-Lite
# Conflicts:
#	companion/src/firmwares/boards.h
#	companion/src/firmwares/opentx/opentxeeprom.h
#	radio/src/gui/common/stdlcd/radio_hardware.cpp
#	radio/src/targets/common/arm/stm32/adc_driver.cpp
#	radio/src/targets/common/arm/stm32/bootloader/CMakeLists.txt
#	radio/src/targets/taranis/board.h
#	radio/src/targets/taranis/hal.h
#	radio/src/targets/taranis/keys_driver.cpp
#	radio/src/targets/taranis/lcd_driver_spi.cpp
2021-01-15 20:17:02 +01:00
3djcandGitHub 1f01fa6d47 Radiomaster T8 (#8219) 2021-01-15 17:19:25 +01:00
3djc 84c86f718b Jumper TLite support 2021-01-14 13:30:54 +01:00
Bertrand Songis 889c16b1f6 Fixes 2021-01-13 18:14:32 +01:00
Bertrand Songis ab528f22e0 Fixes 2021-01-13 18:12:32 +01:00
WismyYao a71f47e5de cosmetic 2021-01-13 09:49:06 +08:00
3djc ebdff7a3bd Some compile fixes 2021-01-12 19:37:12 +01:00
Bertrand Songis f36d597e81 Merge issues 2021-01-12 17:47:02 +01:00
Bertrand Songis bf56cb867e Merge with latest 2.4 2021-01-12 17:21:45 +01:00
Bertrand Songis a02bf3aa0c Merge with latest 2.3 2021-01-12 17:16:15 +01:00
WismyYao 54a926322b add option for s.port/f.port/f.port2 2021-01-11 11:38:19 +08:00
3djc cd589bc28d fix chars 2020-12-17 18:05:19 +01:00
3djcand3djc 2cf89e9a55 Fix TX12S telemetry screen changes
Fixes #8133
2020-12-06 11:54:11 +01:00
3djcand3djc 1cb1e9d03f Improve version display for factory firmwares 2020-12-06 11:53:53 +01:00
Bertrand SongisandGitHub b52a921c59 Merge pull request #8121 from opentx/3djc/ghost-moduleconfig-improve
Further improve  Ghost module config
2020-12-04 16:11:23 +01:00
3djcandGitHub e17ca05c2a Merge branch '2.3' into 3djc/review-about 2020-12-04 16:06:56 +01:00
3djc 3dc7956b73 Fix TX12S telemetry screen changes
Fixes #8133
2020-12-01 21:01:00 +01:00
3djc dbb8d6d6bc Improve version display for factory firmwares 2020-12-01 09:05:14 +01:00
3djc cbc643dd21 Add sound 2020-11-25 08:38:00 +01:00
3djc e2f4805725 Improve menu handling 2020-11-24 08:57:16 +01:00
3djcandGitHub 88d480e453 Ghost menu basic handling (#8108) 2020-11-22 08:20:41 +01:00
3djcandGitHub 24f93a7cbe 3djc/2.4 add 2.3 pr (#8099) 2020-11-19 16:32:50 +01:00
3djcandGitHub e0c6122208 Support more ghost menu commands (#8101)
* Support more ghost menu commands
2020-11-19 16:31:03 +01:00