Commit Graph
65 Commits
Author SHA1 Message Date
rotorman 6f7a0eee55 Removes the constant "+00000ms:" from the debug output. 2021-08-21 11:22:16 +02:00
Raphael CoefficandRaphael Coeffic 1fa99fdeb2 Glider wizard running in simu
Text fields are still displayed as a black box (needs to be fixed)
2021-05-06 12:55:59 +02:00
Raphael Coeffic baea859c8c compile fixes 2021-04-02 18:50:24 +02:00
Bertrand Songis 55c488513e Warning fix 2021-04-02 16:04:43 +02:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
3djcandGitHub f0d8d340fd Add AUX2 (#7588)
AUX2 added
2020-05-15 14:51:36 +02:00
Bertrand Songis c3ec23c758 Compilation + warning fix 2020-03-04 10:46:38 +01:00
Bertrand Songis 6627d3f1ef Compilation fix 2020-03-04 10:16:04 +01:00
Bertrand Songis 1dd09bc28e Form navigation issues + traces 2020-03-04 09:49:59 +01:00
Bertrand Songis 0626b31dfe Merge with latest 2.3 2020-01-08 16:35:30 +01:00
Bertrand SongisandGitHub 16c9a92f49 Bluetooth SD logs (#7197)
Bluetooth SD logs
2019-12-16 12:22:48 +01:00
Bertrand Songis 447534137d Compilation fixes 2019-10-03 23:05:00 +02:00
Bertrand Songis a5d0419c3c Cosmetics 2019-10-03 12:19:31 +02:00
Bertrand Songis f4f8893ae9 New UI merged 2019-08-28 20:50:14 +02:00
Bertrand Songis eb48c3b0ba USB debug possible even if CLI is disabled 2019-07-08 14:04:44 +02:00
Bertrand Songis c9581630ff Rename serial2 to aux_serial 2019-06-04 16:57:35 +02:00
3djcandBertrand Songis 1c51c646c4 Introduce AUX_SERIAL (#6456) 2019-05-28 13:06:02 +02:00
Bertrand Songis db1d3fcb32 Remaining CPUARM removed 2018-07-11 13:33:51 +02:00
3djc dd632969f3 Massive clean thanks to Schwabe : unifdef -m -DCPUARM -UCPUM64 -UCPUM2560 -UPCBSTD -UPCBMEGA2560 -UPCBGRUVIN9X -UPCB9X $(find . -name "*.cpp" -or -name "*.h") 2018-07-05 08:04:55 +02:00
Kilrah a368d74619 Revert "Xlite PPM/Heartbeat trainer input (#5881)"
This reverts commit 25049d041d.
2018-05-21 11:17:19 +02:00
Andre BernetandBertrand Songis 25049d041d Xlite PPM/Heartbeat trainer input (#5881)
* Xlite PPM/Heartbeat trainer input

* UI adaptations

* Sky9x has no trainer settings!
2018-05-21 10:06:59 +02:00
Damjan AdamicandAndre Bernet 6c7e4b5597 Debug Timers: add 10ms period measurement, delete unused timer debugT… (#5319)
* Debug Timers: add 10ms period measurement, delete unused timer debugTimerPerMainPeriod

* Typo in drawSplash() if MENUS_LOCK == 1
2017-11-10 17:23:09 +01:00
Arne SchwabeandBertrand Songis b7acee5723 Allow USB mode selection on USB connect (#5193)
Allow all USB modes to be compiled in at the same time
2017-09-10 17:28:08 +02:00
Kilrah c82c7ee5db No serial debug on X7 2017-08-04 11:22:42 +02:00
Damjan AdamicandBertrand Songis 73f4b8f172 Projectkk2glider/issue 4827 (#4855)
* Reverting a part of f94b4c743d that deals with the size of table hash. Fixes 4827, but uses more memory and CPU.

* New internal Lua traces
2017-04-26 21:45:46 +02:00
Damjan AdamicandBertrand Songis 03b65b06b6 Projectkk2glider/issue 4479 slow joystick (#4569)
* Missing debug timer

* USB driver cleanup

* Re #4479: Joystick update called from mixer thread every 10ms

* Cosmetics

* Compilation fix

* Cosmetics

* Another compilation fix
2017-03-07 22:59:32 +01:00
Damjan AdamicandBertrand Songis a1a58ad8f8 Lua: All usage of double converted to float (#4502)
* Lua: All usage of double converted to float. printf("%f") still uses promotion to double, (floating point va_args are always promoted to double)
Speed improvements:
 * reordering of rotable to put most used tables at the top
 * caching of last found global table
Use real pointer to rotable instead of misusing void* to pass integer value
Lua internal traces now turned on by TRACE_LUA_INTERNALS cmake option

* Replaced floating point division with multiplication (where possible), the hardware FPU is much faster at multiplication vs division.
stb_image: enabled STBI_NO_HDR and STBI_NO_LINEAR (removes code that we don't need)
2017-02-26 12:59:39 +01:00
Max PapernoandBertrand Songis 051a4638f3 [radio] Improve TRACE macro. (#4484) 2017-02-21 11:05:54 +01:00
Bertrand SongisandGitHub 40ece81de2 X10 (#4377)
[X10] New radio supported!
2017-02-04 10:42:50 +01:00
Damjan AdamicandBertrand Songis 82dce3ee60 Projectkk2glider/flash savings (#4199)
* Flash savings: getFileExtension() de-templated, saves 160 bytes

* Flash savings: several variables moved to rodata, RGB macro optimization (speed and can now be used to initialize rodata)

Result for Horus:
   text	   data	    bss	    dec
1261182	 808603	  42020	2111805   before
1267149	 803335	  42124	2112608   after (data size also counts .sram section)

5kB saved in .data section (RAM and FLASH)

* Removed compiler warnings

* RGB() and ARGB() gtests added

* ARGB() optimized
2017-01-05 21:44:59 +01:00
Damjan AdamicandBertrand Songis 29c43d9e33 Projectkk2glider/usb hardening (#4125)
* USB fixes:
 * USB initialized when USB cable is inserted and de-initialized when disconnected (this was the original way, which proved itself unreliable in the past. Now with the new USB library it appears to work without any problems. Used in this way result in safer operation - USB controller is disabled while unconnected)
Works without force device mod
 * Serial: initialization of global variables
 * Reduced RAM usage - data moved to FLASH

* Detailed USB interrupt counters (+ debug print fix)
2016-12-11 10:33:52 +01:00
Damjan AdamicandBertrand Songis 7b2d8b1f0a Bluetooth driver added to Horus, BT_EN_GPIO_PIN was wrong on beta board (#4005)
CLI interface for Bluetooth
2016-11-11 19:56:36 +01:00
Damjan AdamicandBertrand Songis 44133b595d Re #3815: Audio refactoring (#3926) 2016-10-19 22:56:25 +02:00
Damjan AdamicandBertrand Songis 91cea45a43 Audio fixes (#3818)
* * Switches audio filenames were wrong [Horus]
* sdAvailableLogicalSwitchAudioFiles was too small (we now have 64 LSW), fixed with BitFiled class

* Enabled Travis Gtests on Horus

* SD card version mismatch trace

* Re #3815: Audio debug timers added
2016-09-17 21:49:52 +02:00
Damjan Adamic 038c997b8f Disable GPS messages that are not needed
GPS RTC sync fixes
2016-09-11 21:53:45 +02:00
Damjan Adamic 183b24086a Trace installed 2016-09-11 21:37:54 +02:00
Damjan Adamic 5a9eeaacc1 Added missing interrupt name [Horus] 2016-08-29 20:04:55 +02:00
Bertrand SongisandAndre Bernet 1d735f2bd3 [X9E/X7D] Rotary encoder navigation speed implemented (#3724) 2016-08-27 18:19:44 +02:00
Bertrand Songis ab6c6babae Cosmetics 2016-07-24 11:31:47 +02:00
Bertrand Songis 0ad015f3e7 Cosmetics 2016-07-23 19:28:30 +02:00
Damjan Adamic 03b4797073 Compilation fix (DEBUG_INTERRUPTS) 2016-05-23 19:08:16 +02:00
Damjan Adamic 9e0e71ad92 ADC crosstalk fixed, new crosstalk and time measurements (for Horus) 2016-04-10 22:06:53 +02:00
Damjan Adamic 29325ad54f [ARM] Mixers calculated just-in-time 2016-04-05 18:38:37 +02:00
Damjan Adamic 018fec4863 CLI print audio added. New command p added (same as print) 2016-04-03 23:06:08 +02:00
Damjan Adamic 2990e9b9a3 Debug timers added (use -DDEBUG_TIMERS=YES to enable and CLI command "print dt" to see them) 2016-04-03 19:27:47 +02:00
Damjan Adamic a8aa6148e5 Tasks switching log added (use -DDEBUG_TASKS=YES to enable and CLI command "print tsl" to see it, only works on Horus) 2016-04-03 17:56:32 +02:00
Damjan Adamic 9673df83a7 Interrupt counters added (use -DDEBUG_INTERRUPTS=YES to enable and CLI command "print int" to see them) 2016-04-03 17:51:20 +02:00
Damjan Adamic 77d892a5de Horus:
* Fixed peripheral frequency.
 * Enabled external module driver: None and PPM protocols working. PPM timing and polarity verified.
2016-03-07 20:42:49 +01:00
Damjan Adamic 4aa6bd12ca Fixes #3233: Added ADC jitter measurement (use MEASURE_JITTER=YES to enable), Added ADC jitter filter (use JITTER_FILTER=No to disable) (ported from master) 2016-01-19 17:13:11 +01:00
Bertrand Songis 97d59cfa56 Copyright script applied to all sources in the radio directory 2015-12-23 19:57:13 +01:00