Commit Graph
138 Commits
Author SHA1 Message Date
3djcandGitHub c2d8291e49 feat: Add support for RadioMaster Pocket (#3892)
* RM Pocket support

* Further Pocket changes

* Production readiness

* chore: Consistent formatting

* chore: `ENABLE_SERIAL_PASSTHROUGH` enables `CLI`

* chore: Add to Buddy

* fix: merge wtf
2023-08-14 12:10:22 +10:00
Peter FeerickandGitHub 6acd9faa64 chore(github): Add 2.8.5 to version picker 2023-08-08 16:21:31 +10:00
3djc 35466ecf0b fix: Add t20 to nightlies 2023-07-09 09:28:28 +02:00
3djcandGitHub 7f669f12d9 feat: Add initial Jumper T20 support (#3726)
* Jumper T20

* Fix center beeps

* Add option to pinch top trim as well to bootloader

* chore: Regenerate yaml

* chore: Add entry for Buddy

* Jumper T20

* Foldable section for fonction swith and fix preflight pot checks

* Remove duplicated entry

* Rename "function switches" to "customizable switches"

* chore: Add translations

* chore: Update translations

* chore: Update Companion translations/wording
2023-07-07 10:44:14 +10:00
Peter FeerickandGitHub 0d0556df29 chore(github): Update version numbers 2023-07-05 18:31:02 +10:00
3djcandGitHub 050123b928 feat: Initial support for Jumper TPro V2 (#3718)
* Jumper TPro V2

* Small Fixes

* Small Fixes

* Small Fixes

* fix: ENABLE_SERIAL_PASSTHROUGH enables CLI

* chore: Add missing entry for tprov2

* Cosmetics
2023-07-01 17:25:10 +10:00
gagarinlg 29aa08bbd7 fix: add jinja2 to companion win32 build environment 2023-06-25 14:46:43 +02:00
Raphael CoefficandMalte Langermann 2b100e0eb5 refact: ADC, switches and keys
Add "hardware_defs" target to dump hardware defines from hal.h per target

Fixed hal.h definitions for switches & ADC inputs

Tools to generate hardware definitions from current hal.h

generator: add support for EXTx and analog switches

WiP

Add generated header to hardware_defs target

Add support for ADC input direction and index per GPIO port

Incredible: it compiles

Removed StdPeriph ADC driver

Works on QX7

Works on TX16S (VBat missing)

Switch driver using generated switches for stm32 targets

Switch driver with generated switches for simu

Use switch names from switch driver

Fixed single conversion handling

Fixed horus VBat reading

Added switch name

Fix warnings about bitfield offsets and GCC 4.4

This is caused by bitfields that cross type boundaries. In this particular case, it happens as the bitfield is not defined the same in `rtc_backup.cpp`.

Switches has already been moved to generic driver

Jitter measurement for each sample, not just for oversampled values

Moved periph clock init to the ADC driver

ADC & GPIOs.

Add switchInit() to init pins

Fix NV14 CMake

Fix taranis target

Fix NV14 (again)

Model audio files: use new interface for switch index

Fix X9-lite

Fix simu headers

Fix getSwitchName()

Add support for ADC switches

Fix switch warning YAML

Test only switches which are defined

Conversions tests for QX7 only on QX7

Fix X12S

Fix function switch names

Enable ADC periph clock before initialising channels

NV14: offset inputs for the sticks & fix switches

WiP: get rid of VSRCRAW and some more

Simu shall use normal ADC driver

fix x7

fix nv14

Fix 9x nav

fix 212x64

fix xlite

fix x9e

fix simu lib

fix unit tests

fix x7 tests

PWM stick values should be written directly into adcValues

... just like FlySky sticks.

fix x12s

fix nv14

Add some support for SPI ADC (only unit tests)

Remove `jq` usage

fix generate_yaml.py for newer libclang

fix pot config

fix stick names

Some YAML generator improvements

Max 16 Pots on COLORLCD

Fix some source names

Use 10 bits for switches to prevent overflow

Removed horus constants for switches & ADC inputs

Fix unit tests

Fix curve edit

Fix libsimulator

Fix function switches (tpro)

Refine ADC & analog API

Moved hardware definitions scripts and templates into own dir

cleanup API refine

Fix unit tests

Mixer: apply calibration only on required inputs

Place ADC switches after all other ADC inputs

Fix X12S

Remove useless TR_POTS_VSRCRAW, TR_SW_VSRCRAW, and TR_VSRCRAW

Cleanup redundant generated YAML parsers

Fixes Boxer rebase

Add boxer to generate-hw-defs.sh

Obsolete LUA exports

Add boxer ADC_DIRECTION

Split generate_hw_defs.py into multiple files

Some cleanup (+ LUA switches)

Fix AXIS definitions

Fixed translation strings declarations

Some rebase fixes

Remove some useless StdPeriph drivers

fix: set pin mode to reset state on usart deinit

fix: use canonical names for calibration data

fix: ADC driver does not care about unconfigured inputs

fix X12S ADC

Add support for ADC conversion chaining

Better X12S ADC implem

Moved X12S ADC driver to HAL/LL

Improve ADC driver separation

Fixed taranis & nv14

Moved PWM gimbals to HAL/LL

Removed useless TR_EXTRA_VSRCRAW

Fixed include guards

Small fixes

Renamed control inputs

Moved internal and external module pulse driver def to boards

Move more things to the generic_stm32 board

Remove STR_VMIXTRIMS

Added analog labels

Generate main control names

Misuse labels / short labels for main controls

Backward compatibility: sliders and legacy names

New keys driver

Let's get rid of StdPeriph headers in simu

Add jinja2 to CI workflows

Use `grep` instead of `sed`

chore: add python jinja2 oto msys setup script

Removed more static definitions and use dynamic ones instead

Fixes X9E

Fix x7 nav too

212 switch display

Fix default sliders

Removed NUM_STICKS

212 switch display working nicely

Surface radio 'stick' replacements

fix: switch, trim & rotary pin init

Remove old key drivers

Removed VKEYS

Removed ETX_FOURCC

Fixed SURFACE_NAME

Removed TR_VSWITCHES & TR_TRIMS_SWITCHES

Fix xpot switches

Store calibrated analogs in physical order

Use getSourceString in drawSource

Implement missing YAML read/write

Fix isSourceAvailableInInputs()

Fix isSourceAvailable()

Some surface fixes

Fix CLI debug

Ported colour UI of analog diagnostics to new ADC API

Small fixes

Better input mapping

Minor tpro fixes

Fix trims available

Remove TX mode choice on surface radio

Rename surface controls

Channel order alignement

Fix throttle warning

Fix checkTrims()

Fix pot config casting issue

Fix IS_SWITCH_FS()

Fixed input mapping

Fix fswitch auto-switch

Fixed storing / reading function switches in YAML

Fix enableVBatBridge() / disableVBatBridge()

Fix interesting mode conversion

Fix sources issues

Fix special funnction list

Proper function switch handling

128 GUI improvements

Fix compilation

Boxer cosmetics

128 hardware screen cosmetic

Fix TX12 switches

More switches fixes

Simplify CPU type handling

Fix flash size

Fixed page-up / page-down in libopenui
2023-06-25 14:32:39 +02:00
Peter Feerick 52576d64c4 chore(github): Auto close pending closure issues 2023-05-22 19:48:49 +10:00
Peter FeerickandGitHub 9f681fcbb6 chore(github): Add version numbers to bug report template 2023-05-21 13:09:22 +10:00
Peter Feerick 70d02a75f4 chore(github): Update depreciated nightly action
Need to replace the deploy release action too though
2023-05-15 13:17:16 +10:00
32e544c8dd chore: Support T-Lite F4 variant (#3254)
* TLite F4

* chore: Add to fw list for Buddy

* chore(cpn): TLite F4 Companion support

* fix: Remove seemingly incorect cmake set
Or at least, the code now builds without that directive

* fix(cpn): Stupid typo

* chore: Actually build/register tlitef4 simulator

* fix: Need tlitef4 flavor for simulator and updates

* chore: tlitef4 can use tlite simulator

* fix: downloadid AND simulatorid

* fix: Correct simulatorid

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com>
2023-05-10 19:43:07 +10:00
Peter Feerick a089f2d6c8 chore(github): issue-template indentation 2023-04-05 10:56:04 +10:00
Peter FeerickandGitHub f0d7e8769b chore(github): Add os and os-version fields for bug repots 2023-04-05 10:50:53 +10:00
Peter FeerickandGitHub 63a77336cb chore(github): Add more version numbers to issue template 2023-04-01 17:26:48 +10:00
Malte LangermannandGitHub 8d91c0ae95 chore: Convert simu/simulator/companion to SDL2 (#3085)
* chore(pc): convert simu/simulator/companion to use SDL2

* switch companion builds to SDL2 - OSX is not converted
the linux change is done a bit hacky, it should be done by updating the EdgeTX docker container

* update build system setup scripts

* add compatibility for old and new SDL2 cmake integration

* fix windows installer

* fix simulator audio on windows by using DirectSound vie SDL2

* fix windows audio with SDL2
enable simu for windows builds

* remove workflow changes for linux builds, this needs to be fixed in the build environment

* fix OSX build, thx @pafleraf

* fix windows audio for companion and simulator with SDL2

* select SDL2 branch of the build-docker environment

* Revert "select SDL2 branch of the build-docker environment"

This reverts commit da801609d78e1aed513ad7d9d8ab3ebded2900b9.

* fix tests with SDL2
2023-02-22 20:32:51 +10:00
Neil HorneandGitHub cbec97d76e fix(cpn): Include openssl files in install packages (#2935)
* Fix packaged win 32 bit openssl file names

* Win install openssl from qt tools

* Fix filters and paths

* Fix github workflow for x64

* Remove export from run
2023-02-22 16:57:58 +10:00
Peter FeerickandGitHub 7d1a9caee0 fix(gh): Workaround bug in GitHub runner for Mac Cpn action (#3203)
* fix(gh): Mac Cpn action dependency reorder

* Another possible fix
2023-02-17 22:06:12 +10:00
3djcandGitHub bc8087cbf1 feat: Add Radiomaster Boxer (#2877)
* Radiomaster Boxer

* chore: Add Build system bits

* chore: `EEPROM_VARIANT` no longer used
2022-12-31 16:45:09 +10:00
Peter FeerickandGitHub efe2ddd2b1 fix(ci): MacOS Companion python clang pkg misisng 2022-12-14 18:16:45 +10:00
Peter FeerickandGitHub 7bdb32a8cd chore(gh): Add 2.8.0 to bug reporter 2022-12-01 10:30:35 +10:00
Peter FeerickandGitHub ab5d4f0e20 chore(github): Node.js 12 based actions deprecated (#2513)
* chore(github): Node.js 12 based actions deprecated

* chore: Remove more dependency ver warnings
 - `jurplel/install-qt-action@v3` finally released
 - `actions/cache@v1` is thus no longer needed, so its warning gone also
 - leaving on only `maxim-lobanov/setup-xcode` remaining
2022-11-15 16:39:24 +10:00
Peter FeerickandGitHub 58742b526e fix(gh): Don't install arm-none-eabi-gcc pkg (#2636)
`mingw-w64-i686-arm-none-eabi-gcc` is not actually needed.
2022-10-28 13:01:02 +10:00
Peter Feerick 458d14d9f6 chore: Typo in bug template 2022-09-29 15:28:13 +10:00
Peter Feerick 03a4ed8928 chore: Add new radios to bug support form 2022-09-29 15:26:49 +10:00
Peter Feerick cc727514ec chore: Update GH actions 2022-09-26 16:42:33 +10:00
Peter Feerick 07aa46d884 fix: Don't run action if other workflows changed 2022-09-20 19:01:15 +10:00
Peter Feerick 6082611ecb fix: Build X9E and X9E-hall targets in nightlies 2022-09-20 18:53:31 +10:00
elecpowerandPeter Feerick 887902bf4f Include OpenSSL 1.1 in Win32 and Win64 installer packages 2022-09-06 09:29:41 +10:00
Raphael CoefficandPeter Feerick 2dee0e7b68 fix(cpn): revert macOS runner to Python 3.9 2022-08-23 20:33:41 +10:00
zhaobingandPeter Feerick 9d7abf78eb Add LiteRadio3_Pro target on companion and simulator 2022-08-20 10:59:50 +10:00
Peter FeerickandPeter Feerick 0e1b430ae9 chore: Minor cleanup 2022-08-16 18:44:57 +10:00
XINGandPeter Feerick 299991bc11 Add iFlight Commando8
Add iFlight Commando8 ELRS radio
2022-08-16 18:44:57 +10:00
Peter Feerick 87b3614798 fix: Drop the path from nightly release zips
Nightly release zips were including a subfolder, as
opposed to PR and normal releases.
2022-08-10 14:44:08 +10:00
Peter FeerickandGitHub 2c455e0623 chore(github): Add 'Nightly' choice to bug form 2022-08-08 12:15:38 +10:00
Raphael CoefficandGitHub b57c1f303e chore(github): Bump macOS runner version to mac-11 (#2176)
* Bump macOS runner version to mac-11

* Use XCode 11.7 (oldest supported version by GH runners)
2022-08-01 18:33:50 +10:00
Peter FeerickandGitHub d266689d25 chore(github): Build win32 companion on push to main
It's enough to build the win64 companion on PRs for testing, and this keeps the win32 builds from going stale, and may also keep it's build cache form from being cleared.
2022-07-22 11:02:57 +10:00
Peter FeerickandPeter Feerick f31f06b344 fix(github): only build, not test 2022-07-20 13:01:31 +10:00
Peter FeerickandPeter Feerick d4ffe15e45 chore(github): Add to github actions 2022-07-20 13:01:31 +10:00
Raphael Coeffic 6465c554cb fix(nightly): use edgetx-dev image for nightly builds as well 2022-06-12 08:00:36 +02:00
Raphael CoefficandGitHub 84b1871532 MSYS2: use pillow and lz4 package instead of pip (#2028) 2022-06-12 00:09:14 +02:00
Raphael Coeffic 48aa7d751c Add lz4 to Windows & macOS Companion workflows 2022-06-11 22:30:22 +02:00
Peter Feerick 10b16337ca chore(github): Add emoji to labels and missing ver
- Used  labels now have emoji and weren't automatically tagged
- v2.7.1 was missing from the list of options
2022-06-08 19:02:25 +10:00
Peter Feerick 49c585f6d4 fix(ghaction): Update inc. path to match filename
Thanks @rotorman
2022-05-13 12:20:35 +10:00
Peter Feerick 48a10a35ef chore(ghaction): Change name of 64bit cpn action 2022-05-09 13:44:03 +10:00
Peter FeerickandGitHub b0e3cb015f feat(minor): Better showing of version info in firmware and cpn, remove seperate cpn32 build script (#1913)
* fix: Prevent potential wordsplitting of variables

* chore: Remove need for separate cpn 32bit script

* Build script tag/branch/PR auto-detection

* Teach companion about VERSION_TAG

* Update some constant names

* Only one companion build script

* Actually use `VERSION_SUFFIX` in about screen 🤦

* Add space

* Remove line that was only for testing 32bit build

* Remove hyphen between win and bits

* Show codename in Settings -> Version

* cpn: Only show codename on tagged versions

* Update about screen also

* Double quotes around codename on colorlcd

* Update copyright year

* About screen should use VERSION_TAG when set
2022-05-08 16:24:31 +10: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
Peter Feerick 25254cc4be chore(github): Move feature request to template 2022-04-21 23:17:52 +10: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
Peter Feerick 20b0cc1acf chore(github): remove bug template title 2022-04-21 16:06:24 +10:00