3djc
a830a968ec
Compilation fix
2018-11-29 15:42:42 +01:00
Bertrand Songis
9c096b76b3
Compilation fixes
2018-11-28 18:53:44 +01:00
Bertrand Songis
659144e093
Compilation fixes
2018-11-28 18:16:36 +01:00
Bertrand Songis
b72ccb4836
PXX2 always defined. PROTOCOL enums renamed. IRPROTOS removed
2018-11-28 18:02:14 +01:00
Bertrand Songis and GitHub
543021a300
Merge pull request #6213 from opentx/bsongis/pxx2
...
Pulses refactoring
2018-11-03 16:42:57 +01:00
Bertrand Songis
2823fe9a12
PXX2 init was not called
2018-10-10 08:49:58 +02:00
Bertrand Songis
67b145b22e
Compilation fixes
2018-10-09 22:56:51 +02:00
bsongis
62dcd6ac5e
Refactoring continued
2018-10-09 12:47:22 +02:00
Bertrand Songis
946f66b128
Pulses refactoring ... WIP
2018-10-09 07:57:58 +02:00
Bertrand Songis
713402b572
PXX2 first draft
2018-10-08 00:12:53 +02:00
Max Paperno
66cd99bf6b
[simu] Updates for RTOS abstraction layer; Remove further SIMU_SLEEP usages.
2018-09-08 22:04:37 -04:00
Max Paperno
a2006940db
[simu] Refactor simu startup and shutdown handling (for 2.3 branch):
...
* Use pwrCheck() as primary control point for shutdown, centralizes thread control in simpgmspace module;
* Remove main_thread_running in favor of separate variables for startup mode and shutdown flag;
* Don't start a thread for ARM startup, just run simuMain() directly (the thread just exits anyway);
* Refactor SIMU_SLEEP() macro, and remove all unnecessary uses of it, also remove SIMU_SLEEP_NORET;
* Add startType param to opentxStart() to control splash and startup checks;
* Fixes backlight never turning off in simulator with "SWITCH" power button type (pwrPressed() was always true);
* Fixes simu shutdown when model checklist is displayed at startup;
* Adds stubs to possibly simulate a "soft" power button in the future.
2018-09-08 22:04:37 -04:00
Max Paperno and Kilrah
4ff75ae87f
[Simulator] Fix mixer outputs monitor not updating when channel value hasn't changed ( fixes #6064 ). ( #6122 )
2018-09-04 11:46:40 +02:00
3djc
f13bf76699
Turn on backlight on power press (but not on startup) ( #6145 )
2018-09-02 13:35:25 +02:00
Kilrah
fbcdcabab5
VC++ compilation
2018-08-05 20:04:12 +02:00
Bertrand Songis and GitHub
8a51682190
Merge pull request #6087 from opentx/rtos_and_align_macros
...
Rtos and align macros
2018-08-05 16:26:18 +02:00
Kilrah
ce7cb7f7e9
Fix Horus bootloader needing 2 encoder clicks per line
2018-08-05 15:47:57 +02:00
Bertrand Songis
ed91931184
More AVR removal
2018-08-05 13:12:51 +02:00
Bertrand Songis
ea76998beb
More AVR removal
2018-08-05 12:39:05 +02:00
Bertrand Songis
f3bfde242b
RTOS refactoring + more AVR removal
2018-08-05 12:06:48 +02:00
Bertrand Songis and GitHub
61b82254d0
Merge pull request #6084 from opentx/modules_type_macros
...
All macros for modules removed
2018-08-04 10:17:35 +02:00
Bertrand Songis
85ad25e0e8
All macros for modules removed
2018-08-04 00:13:32 +02:00
Bertrand Songis
131078e3a0
GCC new warnings fixed (GCC) 8.1.1 20180531
2018-08-03 23:02:43 +02:00
Bertrand Songis
d2697345e1
VIRTUAL_INPUTS #define removed
2018-07-11 18:54:05 +02:00
Bertrand Songis and GitHub
a8707baf57
Merge pull request #6034 from opentx/navigation_files_splitted
...
Navigation methods splitted to avoid a lot of #ifdef
2018-07-11 16:39:02 +02:00
Bertrand Songis
5eff34ce8a
Navigation methods splitted to avoid a lot of #ifdef
2018-07-11 15:17:14 +02:00
Bertrand Songis
db1d3fcb32
Remaining CPUARM removed
2018-07-11 13:33:51 +02:00
Bertrand Songis and GitHub
3f1d09bc68
Merge pull request #6016 from opentx/schwabe/removeAVR
...
Remove a lot more AVR specific code
2018-07-11 13:19:23 +02:00
Max Paperno
c408c30bc1
Fix libsimulator build MSVC warnings introduced in commit 6110bbc.
2018-07-09 13:06:38 -04:00
Max Paperno
6110bbce98
Support Companion build with clang-cl on Windows (fw/libsimu not working yet due to compiler-specific macros in that code).
2018-07-09 12:02:26 -04:00
Max Paperno
d507dbb5dd
Add SIMU_TARGET build option to exclude libsimulator & simu from all/install.
2018-07-09 11:53:38 -04:00
Max Paperno
e24a736fc9
Merge branch '2.2' into 2.3
2018-07-08 21:01:01 -04:00
Bertrand Songis and GitHub
3540015132
Merge pull request #6002 from opentx/raphaelcoeffic/rle_bitmaps
...
[Horus] save space in bootloader and firmware by using RLE compression
2018-07-08 16:47:22 +02:00
Kilrah
1383afb36f
Use BT detection on X-Lite too (current prod has no module, preprod has one, future batches unknown)
2018-07-08 15:49:10 +02:00
Raphael Coeffic
1fec7a7c51
enabled USB_SERIAL on Horus by default
2018-07-06 10:01:09 +02:00
Raphael Coeffic
25c02b96f3
add LUA access to serial port (serial2 and USB)
2018-07-06 10:01:09 +02:00
Raphael Coeffic
7806382d8e
add RLE support for other bootloader bitmaps as well
2018-07-06 08:59:34 +02:00
Raphael Coeffic
96afa57d84
use RLE compressed fonts on Horus
2018-07-06 08:59:34 +02:00
3djc
5dd365238e
Merge branch '2.2' into 2.3
2018-07-06 07:16:27 +02:00
Raphael Coeffic and Bertrand Songis
4880497db5
generate_datacopy.py fixes ( #6015 )
...
* fix generate_datacopy on osx
* more datacopy fixes
* added support for linux & llvm-3.8 (default on debian stretch)
2018-07-05 19:04:28 +02:00
Arne Schwabe
aa5d8c4ba7
Remove remaining references to Mavlink
2018-07-05 12:05:55 +02:00
Arne Schwabe
c75d873b91
Remove CASE_CPUARM and IF_CPUARM macros
2018-07-05 12:05:55 +02:00
Arne Schwabe and 3djc
aa1493cad0
Use nano.spec for linking bootloader ( #6004 )
...
This saves about 2kB on the Taranis X-Lite
(cherry picked from commit 5dd0ac7 )
2018-07-05 08:43:46 +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
3djc
c032b30247
avr-remove remove files in main dir and targets
2018-07-03 09:44:03 +02:00
Arne Schwabe and Bertrand Songis
5dd0ac75bc
Use nano.spec for linking bootloader ( #6004 )
...
This saves about 2kB on the Taranis X-Lite
2018-06-30 17:40:33 +02:00
Arne Schwabe
a26879dca8
Revert "Remove -nostartfiles linker option from bootloader ( #5996 )"
...
This reverts commit 17b4aa2466 .
Removing the -nostartfiles caused the Taranis bootloader to include
a number of strange functions. Instead define _fini to avoid the linker
issues.
2018-06-30 00:46:50 +02:00
Arne Schwabe
429d55769c
Revert "Remove -nostartfiles linker option from bootloader ( #5996 )"
...
This reverts commit 17b4aa2466 .
Removing the -nostartfiles caused the Taranis bootloader to include
a number of strange functions. Instead define _fini to avoid the linker
issues.
2018-06-30 00:39:54 +02:00
Yannick Richter and Bertrand Songis
9cbd0b9813
Full 11 bit USB HID gamepad resolution and fixed offsets for compatibility ( #5825 )
...
* Changed USB Gamepad resolution to full 11 bit and fixed offset issues for some games
* Changed USB Gamepad resolution to full 11 bit and fixed offset issues for some games
* Changed USB Gamepad resolution to full 11 bit and fixed offset issues for some games
2018-06-29 08:07:30 +02:00
Arne Schwabe and Bertrand Songis
968e7233e5
Clean up PWM stick reads, remove double averaging ( #5995 )
...
We already do averaging in the normal anaIn/getADC().
Also according to Mike's and my own research we don't need the averaging.
Tested on two X-Lites with PMW sticks
2018-06-27 16:10:27 +02:00