Commit Graph
496 Commits
Author SHA1 Message Date
gagarinlgandRaphael Coeffic 0eb11ae4b6 bootload compile fixes for B&W radios, compiles, but does not linkm due to libc errors 2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic 56bec5ca3a WiP: String arrays for translations
DE, EN, FI, FR are done, now we need all the other languages
2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic ee0c37157d Remove legacy fonts and make the bootloader compile with LVGL 2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic 86152da85d Remove scratch buffer 2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic b40441f0c0 WiP: remove legacy fonts 2022-06-11 15:38:08 +02: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 FeerickandGitHub f5b1b53294 feat(TX16S): User options for AUX1/AUX2 serial port power (ON/OFF)
User controllable serial port power for TX16S
2022-04-24 11:53:31 +10:00
Peter FeerickandGitHub 0fabd8c601 build(cmake): Allow spliting of toolchains, which will help with multi-platform support
CMake: Use ExternalProject_Add() to split by toolchain

Splits targets between native and cross-compiled targets, provides a cleaner solution to problems raised by compiling for example on Apple silicon, and better managing dependencies by allowing for object libraries in a cleaner way.
2022-04-24 10:29:31 +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 cdef0d6baf improvement: Change VCP to USB-VCP in the UI (#1849) 2022-04-19 14:20:30 +10:00
Raphael Coeffic c11d7d58ae Moved FreeRTOS to an object library
This also allows for reducing the propagated includes and thus avoid name clashes to FreeRTOS.
2022-04-03 17:50:53 +02:00
Raphael Coeffic baa4f65d9b Use ExternalPoject_Add() to split by toolchain 2022-04-01 08:56:25 +02:00
Raphael Coeffic 1017172350 Fix MPM firmware update 2022-03-27 17:03:41 +02:00
Raphael Coeffic a994fc708a WiP internal module buffer 2022-03-25 18:15:56 +01:00
Raphael CoefficandRaphael Coeffic 4d0d89b967 Move telemetry EXTI handler up in the chain 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic f09c10b49d Cleaner first pulse 2022-03-24 10:40:17 +01:00
Peter FeerickandGitHub b54ad7169a feat: Option for inverting rotary encoder direction (#1690)
* feat: Add option for rotary encoder direction
Based heavily on opentx/opentx#8852 by @3djc

* companion ui elements

* Cleanup

* Hook up UI, reading setting from yaml

* Teach simulator about rotEncDirection

* Simu and radio default scroll direction correction
Otherwise the "default" would be the opposite to how it has always been

* Remove what will be a confict with fix in #1586

* Wasn't using rotEncDirection consistently

* Zorro RE dir is opp to TX16, TX12, TPro, X9D+2019
2022-03-22 16:14:57 +10:00
Raphael Coeffic 55a08d2f9d Fix windows & Mac packaging 2022-03-20 16:30:59 +01:00
Raphael Coeffic ae54c9bf99 Some cleanup and RX buffer size increase to 128 bytes on targets with SDRAM 2022-03-20 16:30:59 +01:00
Raphael Coeffic d39f3e058c Add support for CLI on AUX1/AUX2 2022-03-20 16:30:59 +01:00
Raphael Coeffic 94cb389edc Taranis internal module driver (PXX1) and fix for external complementary timer channel (TIM8_CH1N) 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3742cb6b03 Fixed external module IRQ definitions for taranis targets 2022-03-20 16:30:59 +01:00
Raphael Coeffic 76e79358b8 Set OC mode before enabling DMA stream 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3fa6e270d5 Improved stm32_pulse_config_output() 2022-03-20 16:30:59 +01:00
Raphael Coeffic 2a50e344af Cleanup and streamlining 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3d6c971197 Use normal soft-serial function for AFHDS3 2022-03-20 16:30:59 +01:00
Raphael Coeffic 3057652b40 Force inactive output between pulse trains 2022-03-20 16:30:59 +01:00
Raphael Coeffic d2685aeadf Fix polarity 2022-03-20 16:30:59 +01:00
Raphael Coeffic cee942a834 Streamline pulse driver
In preparation of merging with taranis int-module pulse driver.
2022-03-20 16:30:59 +01:00
Raphael Coeffic e5bb901b1e Fix SBUS trainer defines 2022-03-20 16:30:59 +01:00
Raphael Coeffic 074a141d81 UI improvements 2022-03-20 16:30:58 +01:00
Raphael Coeffic 4bdd7e7ea7 GPS support at runtime 2022-03-20 16:30:58 +01:00
Raphael Coeffic b39baa2360 Use USB VCP as a normal serial driver as well 2022-03-20 16:22:14 +01:00
Raphael Coeffic 530d395204 WiP 2022-03-20 16:22:14 +01:00
Raphael Coeffic 74f19371ae Fixes for TX16S 2022-03-20 16:22:14 +01:00
Raphael Coeffic 74effd7c14 Moved AUX2 to HAL LL
TODO: power for serial ports
2022-03-20 16:22:14 +01:00
Raphael Coeffic 059232b3bb Aux serial to HAL LL part 1 (tbc) 2022-03-20 16:22:14 +01:00
Raphael Coeffic 025659ac36 Add support for RX DMA 2022-03-20 16:22:14 +01:00
Raphael Coeffic d93cd1ea25 Moved aux serial defs to own header file 2022-03-20 16:22:14 +01:00
Raphael Coeffic 5c21dee2fa Configurable IRQ prio and read first in ISR 2022-03-20 16:22:14 +01:00
Raphael Coeffic fa3389447c HAL LL serial driver 2022-03-20 16:22:14 +01:00
Raphael Coeffic e17729c61f Fix F2 targets 2022-03-20 16:22:14 +01:00
Raphael Coeffic 1df3d86513 Fixed typo 2022-03-20 16:22:14 +01:00
Raphael Coeffic 60f5b58212 Move external module serial to HAL LL 2022-03-20 16:22:14 +01:00
Raphael Coeffic 661e12b7e9 Some fixes for STM32F2xx 2022-03-20 16:22:13 +01:00
Raphael Coeffic 346de7ece4 Move extmodule_driver to stm32 common part
And add support for F2
2022-03-20 16:22:13 +01:00
Raphael Coeffic d6f6f3ea43 PPM: DMA request via LL 2022-03-20 16:22:13 +01:00
Raphael Coeffic 32faabd928 PPM init with LL driver 2022-03-20 16:22:13 +01:00
Raphael Coeffic 937e92ede7 Moved PPM driver to synchronous mode (horus only)
TODO: trainer output and taranis driver
2022-03-20 16:22:13 +01:00
Raphael Coeffic 6ac8d50c40 Fixed some more mockup drivers 2022-03-20 16:22:12 +01:00