Damjan Adamic
a4d899844e
Re #4125 : New functions usbStart() and usbStop() to make USB code cleaner
2016-12-11 16:28:23 +01:00
Damjan Adamic and Bertrand 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
Andre Bernet
6325c3d40f
Compilation fix
2016-12-10 18:53:05 +01:00
Andre Bernet
86b85aabc5
Disable rotary encoder rotation while pressed (will hopefully prevent some of the common unwanted edits when pressing, thanks 3djc for the idea)
2016-12-10 18:44:09 +01:00
Bertrand Songis
8326c867be
[X7D] Compilation fix for DEBUG mode
2016-12-07 08:11:27 +01:00
Damjan Adamic and Bertrand Songis
5a5cf7cf33
Projectkk2glider/issue 4086 usb and serial ( #4097 )
...
* Serial2 changes:
* stm32 driver moved to common dir.
* earlier start of driver (Taranis)
* wait for free buffer time limited
USB changes:
* Upgrade to ST USB-Host-Device_Lib_V2.2.0 (from V2.1.0) - this fixed a problem with USB serial #4086 )
* other fixes for #4086
* USB-Host-Device_Lib: renamed directory to V2.2.0 (from V2.1.0)
2016-12-06 20:32:30 +01:00
Bertrand Songis
5c83d03134
[X7D/X9D/X9E] Reboot because of bad deinit of Trainer port when in SBUS mode
2016-12-06 20:24:44 +01:00
3djc and Damjan Adamic
01c4ddb8e3
Fix BT compile ( #4104 )
2016-12-06 11:17:01 +01:00
Bertrand Songis and GitHub
9b3cd8eeff
[SKY9X] Audio fix - Tested on 9XR-PRO ( #4088 )
...
* [SKY9X] Audio fix - Tested on 9XR-PRO
* [X7D] Bootloader fixes
2016-12-02 18:50:23 +01:00
Bertrand Songis
705823a9a6
[X7D] UI fixes
2016-12-02 18:37:53 +01:00
Bertrand Songis
bf0bdcb280
[X7D] Cosmetics
2016-12-01 21:38:23 +01:00
Bertrand Songis
f244cacfd3
[X7D] Switches order modification
2016-12-01 21:36:56 +01:00
3djc and Bertrand Songis
10914c741c
Fix compile with gvars ( #4046 )
...
* Fix compile with gvars
* Rework
2016-11-19 20:47:04 +01:00
Bertrand Songis
a083342cda
Fixes #3879
2016-11-19 12:35:12 +01:00
Bertrand Songis and GitHub
fb27acf286
Bsongis/x7d companion support ( #4028 )
...
[X7D] Companion support added
2016-11-16 12:59:15 +01:00
Bertrand Songis
d2a4ca1d12
Another fix for Mike's bootloader issue
2016-11-15 18:35:33 +01:00
Bertrand Songis and GitHub
bfb5e9b8a6
Bsongis/x7d fixes ( #4019 )
...
* [X7D] Various fixes
[Others]
- Fixes the Mixer / Inputs MOVE / COPY problem on X9E
- Adds the copy/paste/rename feature in SDCARD menu on X7D/SKY9X
- Merges some duplicated code using the new directory structure
- Cosmetics
2016-11-13 19:06:21 +01:00
Bertrand Songis and GitHub
d58244ebde
Bsongis/lua interpreter added on x7d ( #3999 )
...
* [X7D] Lua option added (only standalone scripts)
* [X7D] Compilation fix
* [X7D] Compilation fix
* [X7D] Compilation fix
* [X7D] Compilation fix
2016-11-10 21:41:16 +01:00
Arne Schwabe and Damjan Adamic
73a7027eb9
[X9D] Allow toggling Haptic option for Taranis X9D ( closes #3946 ) ( #3949 )
2016-10-23 12:28:18 +02:00
Arne Schwabe and Bertrand Songis
ad8cd2546e
Schwabe/silence register warnings clang ( #3940 )
...
* Ignore deprecated register warning for the the STM include files
Ignore the warning with the use of #pragma which is not elegant but otherwise we would have to change the vendor files
* Remove usage of register in C/C++ files.
Modern compilers ignore it anyway and C++11 actually deprecates it. Removing also removes a number of clang warnings about this
2016-10-21 00:09:54 +02:00
Bertrand Songis
71bb6de3dd
[X7D] Rotary encoder initialization
2016-10-20 18:54:51 +02:00
Bertrand Songis
d2f688c7d9
[X7D] Bootloader fix
2016-10-20 18:54:04 +02:00
Bertrand Songis
2b1c8ee783
[X7D] DMA write on adcValues overflow over rotary encoder value (rotary encoder was always moving)
2016-10-20 18:53:32 +02:00
Damjan Adamic and Bertrand Songis
44133b595d
Re #3815 : Audio refactoring ( #3926 )
2016-10-19 22:56:25 +02:00
Bertrand Songis
9f67c0c49b
[X7D] Software volume
2016-10-19 20:40:47 +02:00
Damjan Adamic and Bertrand Songis
4513cf89f2
Projectkk2glider/fatfs 0.12 ( #3925 )
...
* Re #3815 : Disk cache: Write statistic added. Bigger disk cache. Show disk cache misses in CLI.
* Update to the latest FatFS R0.12b (all existing OpenTX patches have been already applied in upstream, only few ff.h modifications needed for simulator)
* Missing file
* SD card manager: do not show parent dir [..] for root directory
2016-10-18 18:14:17 +02:00
Bertrand Songis
407cc432f2
[X7D] Switches fixes
2016-10-18 00:06:50 +02:00
Bertrand Songis
b85dcb9f85
[X7D] ADC fixes
2016-10-17 22:55:03 +02:00
Bertrand Songis
52c4ab4c75
[X7D] LCD was upside down
2016-10-16 10:39:09 +02:00
Damjan Adamic
cb08d37369
Interrupts must stay enabled on Horus when pushing audio buffer from audio thread (this affected 1ms interrupt)
2016-09-11 21:53:45 +02:00
Damjan Adamic
6ddb9e414f
Getting rid of sdMountPoll() on ARM
2016-09-11 21:37:54 +02:00
Damjan Adamic
294611c457
Fixes #3772 : USB Joystick channels were mapped incorrectly on Horus
2016-09-10 12:06:51 +02:00
Bertrand Songis
cc2c2b094e
[Horus] S.PORT devices update should work (not tested)
...
[Horus] SD Manager files renaming fixed (quick & dirty, I would prefer a popup)
2016-09-05 19:33:06 +02:00
3djc
3d1a35c41f
The simu needs it too
2016-09-04 18:54:20 +02:00
3djc
7be125ee4d
Fix #3757
2016-09-04 18:20:38 +02:00
Bertrand Songis
75fe828e21
[X9D+] SH was not working anymore
2016-09-04 16:32:15 +02:00
Bertrand Songis
ba74f3e61c
[X9D] Fixes #3758 (not tested)
2016-09-04 00:03:32 +02:00
Bertrand Songis
d5235d586d
Cosmetics
2016-09-01 19:42:55 +02:00
Bertrand Songis
ca5c20abe3
getCPUUniqueId moved to STM32 common code
2016-08-31 01:06:00 +02:00
Andre Bernet
e6ac77a789
[Horus] Fix simu segfault, cosmetics
2016-08-28 18:15:26 +02:00
Damjan Adamic
504592ed18
Proper type for STICKS
2016-08-28 11:09:47 +02:00
Damjan Adamic
0c2fb5f7f1
Cosmetics
2016-08-28 11:09:47 +02:00
Bertrand Songis and Andre Bernet
1d735f2bd3
[X9E/X7D] Rotary encoder navigation speed implemented ( #3724 )
2016-08-27 18:19:44 +02:00
Andre Bernet
c5346f6846
[Taranis] Fix bootloader freeze on USB disconnect
2016-08-27 13:31:15 +02:00
Bertrand Songis
b8edea5c05
[X7D] LCD Reset is always needed
2016-08-26 11:36:06 +02:00
Bertrand Songis and GitHub
0ff601a3fa
EEPROM simplification. Needs tests. ( #3713 )
2016-08-23 07:14:44 +02:00
Damjan Adamic
64966c7d7d
Cosmetics
2016-08-21 19:18:49 +02:00
Bertrand Songis
b657ca1862
Cosmetics
2016-08-21 12:41:12 +02:00
Bertrand Songis
ed0cc9f1d4
[X12S] Modules on REV13 now OK
2016-08-19 17:13:09 +02:00
Bertrand Songis
0994735035
[X12S] Backlight code splitted from LCD code
...
[X12S] PCBREV introduction (PCBREV=10 or PCBREV=13)
2016-08-19 12:25:15 +02:00