Commit Graph
2092 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 3247b59f5e Fix some power-up issues
Resolves #519
2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic aabfc6f6b1 More cleanup 2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic 5af7b7edc7 Some cleanup 2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic b4e8ff3d6b Fix ADC pin definition (port A) 2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic 7e34635dd7 NV14: fix attempt for external power mod
Use `EXTERNAL_MODULE_OFF()` function rather than defining `EXTERNAL_MODULE_PWR_OFF()` macro in `hal.h`.
2021-11-01 11:01:32 +01:00
c59f579bbe Add special function to disable the touch screen (#942)
* added a new special function to disable the touch screen

* Bump libopenui

* Don't try to disable touch if no hardware touch

* Disable processing of SF if no touch hardware

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-25 23:20:57 +11:00
Peter FeerickandPeter Feerick 3e8faa381b Bump libopenui, add needed const 2021-10-22 21:03:16 +11:00
Jesper FrickmannandGitHub 69a465f0e2 Remove all radio predefined colors except BLACK and WHITE (#882)
* Removed all "Basic color definitions" except BLACK and WHITE in colors.h
Please ref. discussion on Discord: https://discord.com/channels/839849772864503828/839856795781431317/895858311579181066

* Removed theme color from the bootloader and replaced by RGB() like for e.g. green.

* Wrong color in Value widget default background color; should be white, not black
2021-10-16 22:34:31 +11:00
eshifriandGitHub b1a41438a3 [NV14] Telemetry fixes, use FlySky RX defaults (#856)
* Port from NV14 repository

* Fix altimeter

* Change AFHDS2A default mode to PWM and iBUS

* Fix datacopy.cpp generation for NV14 Windows build

* Cleanup

* Format

* typo fix

* Sngl for alarm and temperature sensor

* remove temperature sensor
2021-10-15 10:18:03 +11:00
Raphael CoefficandPeter Feerick 03188cd333 [t18/tx18s] add some delay after turning the internal module on
This allows to avoid power supply instabilities.

Resolves #802
2021-10-06 20:21:12 +11:00
Raphael CoefficandPeter Feerick c4dd1c78a0 [nv14] Boot issue fixes
Fixed:
- delay shortened.
- adjusted priority of IRQs used before FreeRTOS is started.

Resolves #863
2021-10-06 16:45:55 +11:00
Raphael CoefficandPeter Feerick 6684489f01 [colorlcd] make malloc() thread-safe 2021-10-04 21:52:08 +11: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
Bryan MaylandandPeter Feerick a04a56c0e7 Reduce USB polling interval for joystick mode from 10ms to 1ms 2021-10-01 11:16:43 +10:00
Raphael CoefficandPeter Feerick 4258684248 Simu: Adjust RTC according to local time on start 2021-10-01 10:50:39 +10:00
Peter FeerickandRaphael Coeffic 0e71cb180d Make 'back' hitbox bigger for touch 2021-09-29 19:12:37 +02:00
Raphael Coeffic bf00ad22f6 Fix crash in simu caused by uninitialised pointer if f_opendir() returns an error 2021-09-29 17:20:48 +02:00
Raphael CoefficandRaphael Coeffic 07d0a66368 telemetry driver: clear TC flag before re-enabling TC interrupt
This prevents the USART TC IRQ handler to trigger right after the DMA request has completed, and thus turning the output OFF before the last byte has been transmitted.

Resolves #801
2021-09-27 11:05:27 +02:00
Raphael CoefficandRaphael Coeffic 004989ea57 [color] Move touch panel init to UI task
This allows for the timeout checks in I2C code to work properly as they are based on SysTick IRQ, which is started by FreeRTOS when the scheduler is started.

Resolves #803
2021-09-26 10:29:39 +02:00
Raphael CoefficandGitHub 4907ebbf14 Merge pull request #728 from EdgeTX/nv14-internal-module
Nv14 internal module
2021-09-21 08:18:47 +02:00
rotormanandRisto 9570f8595a Removed FlySky digital hall gimbal double value conversion (first using the FlySky factory calibration values min,mid and max to convert to 0 to 4095 and second to convert this value again into EdgeTX internal 11-bit range 0 to 2047).
This has the added benefit of precision increase and also avoiding unnecessary computation. Needed to change to uint32_t, as the jitter removal computation would otherwise go over the 16-bit range. As 16-bit computation can be left for "normal" sticks, added a special define just for FLYSKY_HALL_STICKS.

In addition this PR changes back the radio analogs diagnose page second column also for FlySky digital hall sticks to show +/- 100 again, as now with first and second column we already cover all internal ranges used.

Tested on RM TX16S with FlySky digital hall sticks.
2021-09-21 08:11:26 +02:00
Raphael Coeffic 024934e637 Disable AFHDS3 on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic 78d8d976b4 Fixed ifdefs 2021-09-19 16:17:47 +02:00
Raphael Coeffic c374e3369b Send pulses as well.... 2021-09-19 16:17:47 +02:00
Raphael Coeffic e29138f7e3 Draft support internal module NV14 2021-09-19 16:17:47 +02:00
Raphael CoefficandRisto 68d9162cb4 Make FS hall sticks EXT3 EXT4 optional
As this breaks Companion model editing for now (see issue #758).
2021-09-19 13:49:47 +02:00
Raphael Coeffic e02d234f07 Remove "bootloader" and "simu" targets from "all" 2021-09-16 13:50:46 +02:00
Raphael Coeffic a17a02c541 Compute SDKROOT and use it 2021-09-16 12:05:41 +02:00
Peter Feerick 49cb277bf8 Hardware touch specific variables behind defines 2021-09-15 09:51:16 +10: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
Jesper FrickmannandGitHub 8d04b5112d Add tap count support to simulator (#719)
* Removed unused #define
* Added touchState.tapCount for double taps etc. to simulator
2021-09-14 16:30:39 +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
Raphael Coeffic 6278335eb9 Fix f_readdir() and use strict POSIX readdir() API 2021-09-13 17:34:47 +02:00
Raphael Coeffic ed95e2af5a Fix case w/ empty CMAKE_BUILD_TYPE 2021-09-13 16:11:03 +02:00
Raphael CoefficandGitHub 8d70f73979 Merge pull request #717 from EdgeTX/simu-mouse
Add touch support to simulation
2021-09-13 15:28:06 +02:00
rotormanandRaphael Coeffic cabf7f6155 Show raw value in first column, also in decimal; pre-processed value in second column. 2021-09-13 14:42:02 +02:00
rotormanandRaphael Coeffic 4af5adecef Show true raw input value on radio analogs diagnose screen for FlySky hall gimbals (signed short). 2021-09-13 14:42:02 +02:00
Raphael Coeffic 1b57e415be Add touch support to simulation 2021-09-13 12:39:33 +02:00
Raphael Coeffic ba63348a6e Do not use "strip" with Clang 2021-09-13 11:13:08 +02:00
Raphael Coeffic 3ed1e20b9e Remove debug symbols on release builds 2021-09-13 11:13:08 +02:00
Raphael Coeffic b0d2853ed1 Remove "-Bsymbolic" for Clang (not supported) 2021-09-13 11:13:08 +02:00
Raphael Coeffic 118fc26374 WiP Windows build workflow 2021-09-13 11:13:08 +02:00
Raphael CoefficandGitHub 9bb08c2c1f Merge pull request #705 from EdgeTX/mpm-proto-list2
[color] Dynamic MPM proto list
2021-09-13 08:35:47 +02:00
Paul KendallandPeter Feerick 1c84b6d0e8 Enable medium GPI speed and 8bit sampling on high baud rates only 2021-09-13 15:08:30 +10:00
eshifriandPeter Feerick 62d4dba74a fix BT build on NV14 2021-09-13 11:13:12 +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
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
rotorman 17325ae30b In combination with TX16S & FLYSKY HALL GIMBAL - enable the right joystick two analogs as EX3 and EX4.
At the same time disable PWM Sticks on TX16S.
2021-09-11 19:40:05 +02:00
Raphael Coeffic fb460ca4dd Fix NV14 build 2021-09-11 11:16:48 +02:00
Raphael Coeffic ba906e1d5d [color] Dynamic MPM proto list 2021-09-11 11:10:00 +02:00