Commit Graph
4795 Commits
Author SHA1 Message Date
Bertrand Songis 5eff34ce8a Navigation methods splitted to avoid a lot of #ifdef 2018-07-11 15:17:14 +02:00
Bertrand SongisandGitHub 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 1e6cfc373e Rename jtag-flash -> flash-jtag 2018-07-09 12:18:40 -04:00
Max Paperno a611281a01 Flash with ST-LINK_CLI. 2018-07-09 12:18:39 -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 SongisandGitHub 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
Kilrah 9904d6deb0 Fix typo 2018-07-08 15:38:39 +02:00
Bertrand Songis e8d8fc1806 Prevent from writing the whole font when a char is missing (i.e. special chars) 2018-07-08 13:18:33 +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 8e39de0368 fix horus LCD tests 2018-07-06 08:59:34 +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 CoefficandBertrand 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 961c1d60e0 Remove templates 2018-07-05 12:05:55 +02:00
Arne Schwabe aa5d8c4ba7 Remove remaining references to Mavlink 2018-07-05 12:05:55 +02:00
Arne Schwabe c80f0da4ac Remove various references of AVR from script and referenced files 2018-07-05 12:05:55 +02:00
Arne Schwabe 9c7cfe9252 Remove all CPUM128/CPUM2560/CPUM2561 macros
Also remove pulses_avr*
2018-07-05 12:05:55 +02:00
Arne Schwabe a5b44fa877 Remove ARM_FIELD and AVR_FIELD macros 2018-07-05 12:05:55 +02:00
Arne Schwabe fdedcf4de0 Remove CASE_CURVES 2018-07-05 12:05:55 +02:00
Arne Schwabe 8530cce10a Remove CASE_PERSISTENT_TIMERS 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 cbf60380f2 Assume CURVES are always defined 2018-07-05 12:05:55 +02:00
Arne Schwabe e76d1d0c3d Remove unused telemetry protocols 2018-07-05 12:05:55 +02:00
Arne Schwabe d831b0f55e More AVR cleanup 2018-07-05 12:05:54 +02:00
Kilrahand3djc 1dd3aadbd8 Display stick type when applicable
(cherry picked from commit daedeed)
2018-07-05 08:44:39 +02:00
Arne Schwabeand3djc 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
3djc ec0c82a4bf avr-remove main CmakeList 2018-07-03 09:29:20 +02:00
Kilrah daedeed8d7 Display stick type when applicable 2018-07-02 12:29:54 +02:00
Arne SchwabeandBertrand 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 RichterandBertrand 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
3djcandBertrand Songis 7db74cb017 Review pulse start sequence (#5998) 2018-06-29 08:05:08 +02:00
Raphael CoefficandBertrand Songis 1492a346d3 fixes #5988 (#5992) 2018-06-27 16:12:33 +02:00
Arne SchwabeandBertrand 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
Arne SchwabeandBertrand Songis 17b4aa2466 Remove -nostartfiles linker option from bootloader (#5996)
* Remove -nostartfiles linker option from bootloader

Compiling with this option creates undefined references to _fini

* Remove now empty init.c
2018-06-27 16:09:12 +02:00
Kilrah c3b23fcc6e Prevent users from cheating (fix #5990) 2018-06-25 09:44:16 +02:00
3djc c8205c4cff Cosmetics around R9M Lite FCC 2018-06-22 19:33:25 +02:00
3djc 4d126dd91a Fix setFailafe SF
Fixes #5984
2018-06-22 07:51:05 +02:00
Kilrah 23f53077cf PPM frame length default was missing 2018-06-18 10:07:50 +02:00
Kilrah 091bf2fdf0 Hide hidden files 2018-06-17 22:07:33 +02:00
3djcandAndre Bernet 0d9aca84a9 Fix X7 R9M power line not enabled (#5973)
* Do not expect MODULE_R9M_FULLSIZE to be defined for non xlite

* Cosmetics
2018-06-16 19:24:46 +02:00