Risto and GitHub
0b79315fe5
chore: cleanup, remove unnecessary commented line
2023-01-24 19:03:10 +01:00
Cliff and GitHub
0b8e4c6003
Allow using Segger RTT as debug output ( #3052 )
...
Firmware needs to be built with -DDEBUG=YES and -DDEBUG_SEGGER_RTT=YES to use this feature.
2023-01-23 09:08:31 +01:00
3djc and GitHub
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
Malte Langermann and GitHub
a1eabf11a5
chore: convert RTC to HAL ( #2866 )
...
* chore: switch RTC to HAL
* chore: remove unneeded files
* fix simu/simulator
2022-12-23 15:38:37 +10:00
Raphael Coeffic and GitHub
06c359f096
feat(ACCESS): Configure AUX serial port as "External module" ( #2562 )
...
* Enable RX DMA on external module USART
* feat(ACCESS): configure AUX serial port as "External module" (#2562 )
This allows configuring the external access mod on runtime rather than by compilation option.
* fix: fetch external module driver
2022-12-14 18:41:32 +10:00
Raphael Coeffic and Raphael Coeffic
f881d7e11c
PPM trainer output: update delay on each cycle
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
2254d04643
Fix timer channels
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
57842f1eb6
More fixes for F4 targets
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
07db986d6a
More cleanup
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
931be07850
Fix F2 system file
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
4b2c30db3c
Finally removed StdPeriph EXTI driver
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
5219dd606d
fix(f2): F2 bootloader now requires HAL/LL as well.
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
84d8075794
Generic EXTI driver now configures & enables trigger
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
ef147671ef
Taranis: SBUS trainer driver for external module
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
4eae312cff
Taranis hal.h cleanup
2022-12-10 13:37:31 +01:00
Raphael Coeffic and Raphael Coeffic
042d5091f2
HAL/LL: Generic EXTI & trainer driver
...
Changes:
- generic EXTI driver
- generic trainer driver
- relocated rotary encoder timer (simple 100us delay) from TIM4 to TIM12
- taranis & horus use now TIM4 for trainer pulses
- serial driver handles periph clocks for UARTs
TODO:
- SBUS on heartbeat pin (USART or soft-serial)
2022-12-10 13:37:31 +01:00
Malte Langermann and GitHub
d134e1a840
chore: Fix a bunch of compile warnings ( #2748 )
...
* chore: fix warnings for simu and firmware, part 1
* chore: fix warnings
2022-12-05 20:41:42 +10:00
Raphael Coeffic and GitHub
f7d7ec2070
chore(hal): streamline rotary encoder definitions ( #2550 )
2022-11-15 19:13:54 +10:00
Raphael Coeffic and GitHub
2067140552
fix(isrm): flashing internal ISRM module ( #2596 )
...
Fixes #1552
2022-10-19 21:13:48 +10:00
Raphael Coeffic and GitHub
ba713b6b8d
feat: Further improve rotary encoder acceleration ( #2584 )
...
* Improve rotary encoder acceleration
Fixes #2417
* Further improvement
* Fix simu compilation
2022-10-19 20:36:29 +10:00
Raphael Coeffic and GitHub
836954ee4b
chore(adc): store constant structs in FLASH ( #2551 )
...
... not RAM.
2022-10-14 19:41:40 +10:00
Raphael Coeffic and GitHub
ffe4fe7e17
fix: clear internal module FIFO after DMA init ( #2527 )
...
Otherwise, NDTR will be 0 instead of [buffer size], and thus the read index will not be set to the correct value.
2022-10-13 09:33:51 +10:00
Malte Langermann and GitHub
8b7e8c3017
EL18 RF USB switch ( #2221 )
...
* feature: added ability to have radio specific menu items in the bootloader
* added enabling/disabling USB access to the RF module via the bootloader
* enable the internal module on EL18, when RF module USB access is enabled
* moved USB switch pin initialization to the NV14/EL18 specific code
* moved EL18 USB switch defines to boot_menu
* feat: added a symbol for RF USB switch menu option on EL18 bootloader
2022-09-08 08:20:49 +02:00
Raphael Coeffic and GitHub
052a344611
Improve gyro/acc range and config ( #2113 )
2022-09-07 21:21:20 +10:00
zhaobing and Peter Feerick
0219426b26
Add LR3PRO as an independent target
2022-08-20 10:59:50 +10:00
3djc and GitHub
6648dffc8c
fix: Prevent TF lockup on radios using SDIO ( #2210 )
2022-08-19 15:16:27 +10:00
Peter Feerick and Peter Feerick
0e1b430ae9
chore: Minor cleanup
2022-08-16 18:44:57 +10:00
XING and Peter Feerick
299991bc11
Add iFlight Commando8
...
Add iFlight Commando8 ELRS radio
2022-08-16 18:44:57 +10:00
Raphael Coeffic and Raphael Coeffic
c56b62bd1d
Fix passthrough baudrate detection
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
56eb564b86
Detect NV14 vs EL18 at boot
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
bb6c6d6e2d
WiP PoC AFHDS3 internal module
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
5132e11d41
Add some support for RX DMA on internal module
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
1a918bf072
Improve NV14 CMake
2022-08-11 12:15:46 +02:00
Raphael Coeffic and Raphael Coeffic
f952c5f7c7
Internal and external module buffers are now private
2022-08-11 12:15:46 +02:00
62692dba6a
feat: More rotary encoder options for B&W screens (see #2045 )
...
* First build
* Fix X9
* Update api_general.cpp
* Update translations.h
* clean up translations
* fix: B&W option handling, remove magic numbers, cleanup
- Remove references to invertRotary, change to RotEncDir or similar
- Add compatabilty importing to companion, firmware
- Rename Lua API call
- Move magic numbers to enum
- Improve B&W option handling so it doesn't apply changes while in menu
* chore: yaml regen
* fix: Add missing guards for X9D/X9D+
* fix: Wrong enum name in simu
* fix(cpn): Use correct names for UI elements
* fix: Translations
* fix: Allow `rotEncMode` in all yaml due to x9d var
Of the three X9D variants, the X9D+2019 is the only one that
has a rotary encoder as standard. However, as the base config
file is for the X9D, this meant it wasn't reading or writing the
config value. Rather than add a seperate config file for it for
a single variable, simple to just allow it across all targets.
* fix: Companion string, change colorlcd to `Choice`
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
2022-08-04 20:06:17 +10:00
Raphael Coeffic and Peter Feerick
8379b47e2b
Fix compilation with MULTIMODULE=NO
...
And allow for Spektrum telemetry to stay enabled (needed for DSMP module).
2022-07-22 20:45:04 +10:00
3djc and Peter Feerick
6010eff024
TX12MK2 initial (external issue with MPM)
2022-07-20 13:01:31 +10:00
Raphael Coeffic
dae1c77f47
fix(t-lite): internal module on targets without TX DMA was not sending at all
2022-07-04 12:35:03 +02:00
Risto and GitHub
b296fbcdb5
Initialise the PWM interrupt count to 0 ( #1732 )
2022-06-25 20:06:26 +02:00
Malte Langermann and Raphael Coeffic
42e54f5100
support new NV14 touch controller ( #2027 )
...
* support new NV14 touch controller
* implement review changes
reduced CST836U read delay to 5 us
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
8f2b0ca03d
Use LL RCC periph clock enable
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
8821c4ea8c
Fix internal module HAL taranis and horus
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
244efed6ba
NV14 touch driver
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
9eb22ea48b
Remove StdPeriph I2C
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
752b772bb7
Fix re-init
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
0b8d93ca88
WiP: support for LSM6DSxx
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
df83a82285
EEPROM & Digital Volume I2C driver using generic I2C HAL driver
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
bc6c53681c
Move Horus GT911 driver to HAL
2022-06-25 16:09:04 +02:00
Raphael Coeffic and Raphael Coeffic
8681d5aa3e
Fix bootloader display init order
2022-06-17 05:34:47 +02:00
Raphael Coeffic and Raphael Coeffic
4fc2a2ee5d
Backlight API fixes
2022-06-13 22:43:45 +02:00