Commit Graph
122 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub 0ee144dd25 Remove useless DEBUG_TASKS (not supported on FreeRTOS) (#1448) 2022-01-21 12:59:45 +10:00
Raphael Coeffic 37dd890714 Reverted BOOTCMD pin 2021-12-17 15:17:49 +01:00
Raphael Coeffic 1fb06a7c3a Do not use DMA based send in passthrough mode
The USB buffer could be located and CCM, which does not work with DMA.
2021-12-17 15:17:49 +01:00
Raphael Coeffic cd4b782cfe Prepare intmodule bootpin 2021-12-17 15:17:49 +01:00
Raphael CoefficandRaphael Coeffic 5bbc055f3e Remove debug pins 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic a2b7f88e41 Added command to start/stop the pulses 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 81da0bf587 Added power and bootpin commands (Thx @pkendall64) 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 85ec133ff3 Auto baudrate on serialpassthrough
baudrate param becomes optional
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic c5c2829c24 Added baud rate changing on the fly to serial pass through 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic f3301e6210 Added control line and bitrate callbacks
And some additional clean-up
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 01059da849 Fixed serial passthrough exit when pulling USB cable 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic aa7b0143bd Add active polling on UART buffer and bigger USB buffers 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 96743a9fc4 PoC: connect USB/serial ISR directly to the respective serial send
This assumes that USB IRQ has a lower logical prio as the UART IRQ so that it can be pre-empted by the USART ISR.
2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 3e390bd582 Cleanup debug pin toggle 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 73790c1654 Use FreeRTOS stream buffers and task notifications 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 4124d0a950 Quick and dirty: use a memory address actually usable with DMA 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 0cef967912 Fix typo 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic ffd537a28b Fixed compiling with DEBUG=ON 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic c8a4a80ffd Serial pass-through 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 6b94c2f45d Small fixes for TX16S 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic b1b3423844 Use stream buffer for CLI 2021-11-21 11:18:35 +01:00
Raphael CoefficandRaphael Coeffic 7cfcac3e1e Fix compiling with CLI and define most commands away 2021-11-21 11:18:35 +01: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
jfrickmannandRaphael Coeffic 95b87db3e0 Did a scripted search and replace to replace 40 existing theme colors with 11 new theme colors. 2021-08-22 19:39:50 +02:00
Raphael Coeffic d4edb7713e WiP: FreeRTOS integration 2021-07-31 17:31:49 +02:00
Raphael Coeffic 00e4194a70 Replace proprietary libAccess 2021-07-20 13:52:29 +02:00
3djc 70d24506da Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/fonts/480x272/font_dblsize.png
#	radio/src/fonts/480x272/font_xxlsize.png
#	radio/src/gui/128x64/model_setup.cpp
#	radio/src/gui/128x64/radio_setup.cpp
#	radio/src/gui/480x272/model_receiver_options.cpp
#	radio/src/gui/480x272/model_setup.cpp
#	radio/src/gui/480x272/radio_calibration.cpp
#	radio/src/gui/480x272/radio_hardware.cpp
#	radio/src/gui/common/stdlcd/draw_functions.cpp
#	radio/src/gui/gui_common.cpp
#	radio/src/keys.h
#	radio/src/lua/interface.cpp
#	radio/src/pulses/afhds3.h
#	radio/src/rtos.h
#	radio/src/switches.cpp
#	radio/src/targets/common/arm/stm32/aux_serial_driver.cpp
#	radio/src/targets/horus/CMakeLists.txt
#	radio/src/targets/horus/lcd_driver.cpp
#	radio/src/targets/horus/startup_stm32f42_43xxx.s
#	radio/src/targets/taranis/CMakeLists.txt
#	radio/src/telemetry/crossfire.h
#	radio/src/telemetry/multi.cpp
#	radio/src/translations.cpp
#	radio/src/translations/it.h.txt
#	radio/src/translations/untranslated.h
#	radio/util/font2png.py
#	tools/commit-tests.sh
2021-04-08 11:42:28 +02:00
Ristoandrotorman ecfa393a9b Uniform CLI stackinfo output in bytes.
Main task size currently in double words, the CoOS RTOS task stack sizes in bytes.
Available stack size output was in double words, now everything uniform in bytes also added "bytes" label to CLI output to make this clear.
2021-02-18 16:33:24 +01:00
Bertrand Songis 8ad093ea86 Cosmetics 2019-10-04 19:05:32 +02:00
Bertrand Songis d31f566965 Updates 2019-10-04 18:59:38 +02:00
Bertrand Songis 284a9d1f5e Compilation fixes 2019-08-29 09:34:27 +02:00
Bertrand Songis f4f8893ae9 New UI merged 2019-08-28 20:50:14 +02:00
Bertrand Songis e7736f3fdc Replace NULL by nullptr 2019-08-28 10:28:11 +02:00
Bertrand SongisandGitHub 151827ada5 Bsongis/x9d+ 2019 (#6588)
X9D+ 2019 added
2019-07-26 19:18:29 +02:00
Bertrand SongisandGitHub eaf595bd76 Refactoring keys/switches/trims in simu (#6515)
Refactoring keys/switches/trims in simu
2019-06-18 20:07:15 +02:00
Bertrand Songis 005334b359 Cosmetics 2019-06-06 09:54:37 +02:00
Bertrand Songis c28210e3e4 Rotary encoder refactoring 2019-04-30 14:55:21 +02:00
Bertrand Songis 5ab678298f Compilation fixes 2019-04-25 16:02:34 +02:00
Bertrand Songis 3323b0a82f Bluetooth flash firmware continued 2019-04-25 15:08:38 +02:00
Bertrand Songis d8b3086fde Bluetooth::writeString() now adds CRLF automatically 2019-04-25 11:28:55 +02:00
Bertrand Songis 3c842a6a43 Bluetooth flash firmware started 2019-04-25 11:03:20 +02:00
Max Paperno 942ae1847d [CLI] Update CLI to use RTOS abstraction layer; Also remove a redundant/unused runMemoryTest(). 2018-09-08 19:07:43 -04:00
Bertrand Songis f3bfde242b RTOS refactoring + more AVR removal 2018-08-05 12:06:48 +02:00
Bertrand Songis f60733b561 __ALIGNED macro unified 2018-08-05 09:56:47 +02:00
Raphael CoefficandBertrand Songis a6afbebc94 support for CLI (over USB CDC) without DEBUG (#5940) 2018-06-03 23:17:29 +02:00
Raphael CoefficandBertrand Songis 7379f6064e Horus: add receiver number check (#5841)
* add receiver number check for Horus

* find the first free model ID on LONG ENTER

* use the next free model ID for new models

* improve free model ID support for std LCD as well

* fixed “duplicate model”

* fixed ModelsList::isModelIdUnique()
2018-05-21 19:03:51 +02:00
3djcandBertrand Songis 394bc1689f Massive cleaning (#5538) 2017-12-18 20:54:22 +01:00
3djcandBertrand Songis 5a8a074f0c Neutralise BT on X9E, unless DEBUG is defined (#5148)
* Neutralise BT on X9E, unless DEBUG is defined

* Adjust to Bertrand comments
2017-08-14 22:03:26 -07:00
Bertrand SongisandGitHub 8d8fef23c9 Bsongis/x7 bluetooth (#5068)
* Trainer Bluetooth support added
X7S board added (X7 has no bluetooth while X7S has)
X10 HAL updated

* Bluetooth Telemetry

* En fix
Add all languages

* Temporary test for @bsongis

* Missing translations
2017-08-12 00:49:54 +02:00
Damjan AdamicandBertrand Songis dc89d2d630 Projectkk2glider/performance tests (#4658)
* Transparency and fonts gtests added (Horus)

* Added to CLI: Graphics performance test, memory speed test (Horus)

* Gtests fixes
2017-03-21 19:47:41 +01:00