Commit Graph
94 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub 87df8a4f2c refactor: SD card SPI HAL (#3957)
* refactor: SD card SPI driver

* Removed SPI and DMA StdPeriph drivers

* Allow for disabling SPI DMA support

* Disable SPI sdcard CRC support

* Fix 2MHz timer on NV14

* Shared VS1053b driver

* Fix: SPI2 uses PCLK1

* feat: new generic diskio API

* More generic SD_CARD_PRESENT()

* Fixes

* Flush incoming block on token mismatch

* Scratch buffer test

* Incredible hack to re-sync sd card

* fix: SDIO driver
2023-09-23 19:31:56 +10:00
philmozandGitHub e4f845c844 chore(radio): Fix some compiler warnings when building firmware (#4058) 2023-09-20 11:16:48 +10:00
3djcandGitHub f5c1a93f87 fix: Formatting the SD card on radio when running is a bad idea (#3549)
Plus we need the flash memory space for some targets!
2023-05-02 09:30:27 +10:00
Raphael CoefficandGitHub 72193eda82 chore: New module/serial API (#3055)
* WiP: new module interface

* WiP: softserial timer DMA

* WiP: setup() and send() in one step

and remove methods specific to internal or external module

* fixes and extra port config

* horus targets

* module ports have moved

* T8 support (only internal module)

* fix nv14

* stupid GCC....

* disable BT

* remove nv14 telem driver

* remove old aux serial driver

* Move module buffers out of pulses.h

* Soft serial fixes and PXX1 support

* Fixed PPM module output

* Fixed CLI

* compilation fixes

* Ported bluetooth and flysky gimbal to new serial driver

* Re-enable soft-serial RX

* fixes and cleanup

* nv14 fixes

* Fix flysky gimbals

* Ghost module

* 16 bytes of RAM

* Remove getByte from module API

* Ghost cleanup

* fix: _half_duplex_input() must be called after usart init

* WiP

* more cleanup

* Remove board specific settings from PXX1 / PXX2 drivers

* A bit of PXX2 header cleanup

* Add support for OVER8 and ONEBIT

* Add some support for inverters (NV14 / EL18)

* Support NV14 power fixes in generic board

* Fix polarity handling

* Fix RX DMA

* Fix mixer not running

* Add soft-serial polarity control

* Quick fix for telemetry polling while module port is changed

* Fix bootloader DEBUG

* Fix MPM telemetry

* Fix pulse start

* DSM2 soft-serial fallback

* DSMP async module restart

* Fix CRSF LUA upstream

* Remove global variable telemetryProtocol

* Use HAL/LL constants

* Fix various issue with AFHDS3 and NV14/EL18 internal module

* Fixed S.PORT unit tests

* fix: update widx after writing at current index

* fix: init error condition

* Fix: possible infinite loop in _find_port()

* Add support for bidir S.PORT init

* Add support for "getLastByte" in HW serial driver

* PXX1: Add support for S.PORT based on IDLE callback

* Fix rebase error

* Fix softserial _rx_fifo_push()

* Add softserial support for waitForTxCompleted()

* Fix MPM flashing (internal / external)

* Fixed external MPM

* Activate RX DMA on internal module

Seems to work with serial passthrough without issues, at least on the L3R PRO.

* Fix softserial DMA on stdlcd F4 targets

* Add softserial support for 32bit timers (mostly TIM2)

* More precise soft-serial

* Fix MPM update using inverters & HW uart

* Raise S.PORT DMA/USART IRQ prio to achieve faster switching to input

* Remove useless delays

* Fix flashing external ELRS module

* Added a retry mechanism for FrSky S.PORT update

* Remove useless enableRx()

* External FrSky modules are all flashed via S.PORT

* Remove power management unit update

This was only used on the first batch of X-lite.
2023-02-09 19:44:32 +10:00
philmozandGitHub 919b83af42 fix(ui): Ignore hidden file when iterating SD card contents (#2925)
* Ignore hidden file when iterating SD card contents.

* Fix compile error.
2022-12-23 11:18:00 +10:00
Malte LangermannandGitHub 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 CoefficandPeter Feerick 09c49e24ee Remove SKY9X target 2022-01-29 14:40:17 +10:00
eshifriandGitHub ee883c8354 Support file copy within the same folder (#1209)
* support file copy to the same folder #294

* support file copy to the same folder; B&W  radios added.

* fix the syntax
2021-12-05 11:50: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
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
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 ebdff7a3bd Some compile fixes 2021-01-12 19:37:12 +01:00
Bertrand Songis a02bf3aa0c Merge with latest 2.3 2021-01-12 17:16:15 +01:00
Raphael CoefficandGitHub d66829e0d8 added support for ELRS flashing (STK500) (#7968)
Added support for ELRS flashing (STK500)
2020-10-16 16:32:24 +02:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
Bertrand SongisandGitHub dbaa4058df Wismy/ota (#7964)
Add "Flash FC by OTA"
2020-09-25 12:54:09 +02:00
3djcandGitHub 414fba167d Do not try to flash frsky updates on non frsky internal modules (#7890) 2020-08-28 15:58:18 +02:00
Bertrand Songis 71ec1db9f6 Merge with latest 2.3 2020-06-18 11:14:07 +02:00
3djcandGitHub ab8913052c Colorlcd popup improve (#7740)
Popups improvement
2020-06-15 11:11:57 +02:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
Bertrand Songis 57198209aa Fixes for OTA on Horus 2020-04-10 20:54:21 +02:00
Bertrand SongisandGitHub 3bff803238 OTA Update back on Horus (#7477) 2020-04-01 08:14:32 +02:00
Bertrand Songis 44e3e34602 Merge with latest 2.3 2020-03-25 12:33:53 +01:00
WismyYaoandGitHub 629f98a930 Wismy/frsky new receivers (#7449)
Add internal module OTA
Change virtual keys for X-Lite(S) Lua scripts
2020-03-24 15:15:10 +01:00
3djcandGitHub f03429f49e More work on 2.4 sdmanager (#7445)
SD Manager continued
2020-03-18 17:47:32 +01:00
Bertrand Songis fc7fa5fe94 Cosmetics 2020-01-09 22:50:56 +01:00
Bertrand Songis 6cab260ee6 Merge with latest 2.3 2019-12-13 12:30:02 +01:00
Bertrand Songis 074bc4475c Cosmetics 2019-12-12 14:58:17 +01:00
Bertrand Songis 4c484017a4 Merge from 2.3 2019-12-05 09:29:11 +01:00
Bertrand Songis 54e2221535 Menu overlay 2019-11-29 09:04:06 +01:00
Bertrand SongisandGitHub f630c5bc59 Fix #7014 (OTA RX Update) 2019-11-26 16:40:09 +01:00
Bertrand Songis 071116afeb Merge with latest 2.3 2019-11-07 15:04:45 +01:00
Raphael Coefficand3djc aaafe445db Added support for flashing AVR multi on horus targets (#6888)
* Added support for flashing AVR multi on horus targets

taranis soft serial

Added support for flashing AVR multi on horus targets

taranis soft serial

* Added support for multi V2 signature (hex code)

* Check multi signature before flashing

* small clean-up

* Cosmetics

* Fix v2 signature check

* Cosmetics
2019-10-16 15:29:10 +02:00
Kilrah b40dfdf12b Merge branch '2.3.1' into 2.3
# Conflicts:
#	CREDITS.txt
#	radio/src/gui/480x272/radio_hardware.cpp
2019-10-05 11:41:48 +02:00
Kilrah 1e9d6225d7 Fix inability to flash receivers from .frsk files with external module pins for radios without SPORT connector (#6892) 2019-10-04 10:29:07 +02:00
Bertrand Songis 3581dce96b Update to latest FatFS version 2019-10-02 17:53:22 +02:00
Bertrand Songis 3e2cb83991 Now uses the external libopenui 2019-10-02 14:41:52 +02:00
Raphael CoefficandRaphael Coeffic 6b12010473 Add T16 support
Added support for:
- T16 radio
- internal multi-protocol module.
- flashing internal and external multi-protocol modules.

Many thx to:
- goebish, for the hardware support.
- qba667, for the original patches for the internal multi-protocol support (UI and serial com).
2019-09-24 22:12:13 +02:00
Bertrand Songis 9e83c5d10f Merge against latest 2.3 2019-09-17 13:28:42 +02:00
Bertrand Songis 465674ca68 Fixes #6721 - Tests needed 2019-09-10 14:38:39 +02:00
Bertrand Songis f4f8893ae9 New UI merged 2019-08-28 20:50:14 +02:00
Kilrah a8562fe06f Fix text display menu and allow viewing script contents (fix #1483) 2019-08-18 19:23:18 +02:00
Bertrand Songis 9f9f313b32 Cosmetics 2019-07-19 13:58:06 +02:00
Bertrand Songis f897a7daf6 Cosmetics 2019-07-19 13:33:48 +02:00
Bertrand Songis 6da1773dcc Sanitization 2019-07-19 09:31:30 +02:00
Bertrand Songis 7568b5a3ad Compilation fix 2019-07-05 20:25:28 +02:00
Bertrand Songis 50c23fa394 Move RTC again to RADIO/HARDWARE 2019-07-05 17:21:36 +02:00
3djc 2ac0fc1bdd Fix #6544 2019-07-05 11:32:40 +02:00