Commit Graph
312 Commits
Author SHA1 Message Date
bsongis fde3267b53 Compilation fix 2015-04-26 17:42:49 +02:00
bsongis f6dcb75b8e Another compilation fix (and more boyscout work) 2015-04-26 13:58:24 +02:00
bsongis 0dd3c710c1 Compilation error fixes 2015-04-26 13:39:15 +02:00
bsongis a85240d665 Boyscout changes 2015-04-26 13:27:05 +02:00
bsongis 4fc5427d52 Compilation error fix 2015-04-26 12:08:23 +02:00
Bertrand Songis 27ee3e3ab4 Merge pull request #2220 from xmxwx/telemetry_mod_14051_swapped
TELEMETRY_MOD=14051_SWAPPED
2015-04-26 11:26:46 +02:00
Bertrand Songis b589cd6289 Merge pull request #2228 from xmxwx/#2221
Fixes #2221 (LCD contents shifted upwards by 6 pixels on 9XR).
2015-04-26 11:24:31 +02:00
Damjan Adamic eac8c0a535 Fixes #2227: removed wrong check for SDL Audio initialization 2015-04-25 18:03:47 +02:00
Damjan Adamic 2a667d1d53 Proper SDL library initialization for Audio and Joystick subsystems (ported from master) 2015-04-25 18:03:47 +02:00
Michał Wróbel 8e074aaafc Fixes #2221 (LCD contents shifted upwards by 6 pixels on 9XR). 2015-04-25 15:36:24 +02:00
Michał Wróbel 485edb579d TELEMETRY_MOD=14051_SWAPPED
TELEMETRY_MOD=14051 (by gerardv @ forum.turnigy9xr.com) makes USART0 available
by reallocating AIL and THR onto pins 14 and 15 of the 14051 multiplexer.

TELEMETRY_MOD=14051_SWAPPED is based on TELEMETRY_MOD=14051, but uses USART1
instead of USART0, freeing USART0 for other purposes (debugging, interfacing
via AVRISP port). USART1 is freed up by reallocating LVert Trim Dn/Up onto
14051's 12 and 1 pins respectively.

Additionally, this commit cleans a few things up:
 * moves AVR ADC-related code to adc_driver.cpp,
 * provides #defines to have a convenient way to access either USART0 or USART1
   registers depending on static (build-time) configuration
 * moves code related to this telemetry mod to board_stock
 * replaces a few magic numbers with enums.

Thanks to Bernard Songis for review and suggestions!
2015-04-25 14:25:34 +02:00
bsongis 27005f57d5 Cosmetics 2015-04-25 09:06:08 +02:00
bsongis 3cdcb0e203 [Sky9x] EEPROM code moved to driver 2015-04-25 08:16:01 +02:00
Bertrand Songis 1964ac207c EEPROM on Sky9x 2015-04-19 22:37:55 +02:00
JivaroFAD c6cf0f915e Mega2560 LCD refactoring 2015-04-19 12:13:24 +02:00
universam1 170c589067 Add support for LCD ERC12864FSF
common replacement LCD needs different init data
2015-04-07 11:34:12 +02:00
Damjan Adamic 0f15828093 X9E: turn off top lcd and both backlights when powering off 2015-04-06 18:22:34 +02:00
Damjan Adamic 8f75c8a1e0 X9E power off fixed in case of constantly pressed power button 2015-04-06 18:12:59 +02:00
bsongis 9886dede73 [Taranis] Saves around 800bytes RAM (the same space is used for
DSM2/PPM/PXX pulses on external module)
2015-03-31 22:35:13 +02:00
bsongis 004fe01242 Cosmetics 2015-03-31 19:10:14 +02:00
bsongis 4a9aa52f28 One less configure_pins, still a lot to remove :) 2015-03-31 07:53:43 +02:00
bsongis 70f84b5dad [Taranis Plus] Amber backlight was broken 2015-03-30 22:43:48 +02:00
bsongis 8cb67d3e2c Ignore list updated 2015-03-24 19:49:56 +01:00
Bertrand Songis d161866544 Merge pull request #2087 from opentx/bsongis/issue_2056_set_rtc_from_gps
Fixes #2056 - Needs tests!
2015-03-22 18:53:59 +01:00
bsongis 763f906244 [Taranis X9E] Bluetooth driver 2015-03-22 18:50:08 +01:00
Andre Bernet c3cc3bd7d2 Merge branch 'next' into bsongis/issue_2056_set_rtc_from_gps 2015-03-21 12:19:01 +04:00
bsongis 5a2d373edd [Taranis X9E] 2.5s Timer with small graphics for Power OFF 2015-03-20 11:34:48 +01:00
bsongis 01e6c60cf5 Companion compilation fix 2015-03-17 06:42:47 +01:00
bsongis d0db790e5e [MEGA2560] PWR OFF fix. Thanks André for the review! 2015-03-16 20:18:36 +01:00
bsongis b6b14d69f7 VC++ compilation fix 2015-03-14 22:58:18 +01:00
bsongis 07bbcce093 Mega2560 board simulation added 2015-03-14 21:55:36 +01:00
Andre Bernet dbff381dc5 Merge pull request #2102 from opentx/bsongis/issue_1599_sport_update
Bsongis/issue 1599 sport update
2015-03-14 18:37:49 +04:00
Andre Bernet f2b29505ec Cosmetics 2015-03-14 18:37:31 +04:00
Andre Bernet 170acef7c9 Cosmetics 2015-03-14 18:31:17 +04:00
Andre Bernet 99169b6a45 Save/restore previous module power state after SPORT upgrade 2015-03-14 18:07:30 +04:00
bsongis 821a198e92 Compilation fixes 2015-03-14 14:56:59 +01:00
bsongis 2817866ad2 Directories FatFS / CoOS / STM32 libs moved to thirdparty 2015-03-14 11:56:24 +01:00
Andre Bernet 996433db81 Missing { 2015-03-14 14:55:25 +04:00
bsongis d885807c11 [Taranis] SPORT Rx must be OFF when Tx is ON (otherwise it receives what
it sends...)
2015-03-14 11:48:54 +01:00
bsongis fdb48528f9 Fixes #1599 - SPORT devices firmware update 2015-03-14 11:34:35 +01:00
bsongis da0b422dce Cosmetics 2015-03-14 11:27:08 +01:00
Andre Bernet 8b228e5291 X9E top LCD timer can't display more than 99:99 2015-03-10 00:24:56 +04:00
Andre Bernet bda7fef6db Relics removed 2015-03-09 23:57:37 +04:00
bsongis 0eeb0437db [Taranis X9E] Pots and Switches full support. Removed 2x2 switches
feature
2015-03-09 18:51:14 +01:00
bsongis dd0d34ba14 [Taranis] REV3 board support removed 2015-03-09 18:51:14 +01:00
bsongis 850caf741a [Taranis X9E] Top LCD now working. Only timer can be configured (top
line)
2015-03-07 20:16:56 +01:00
Bertrand Songis fff8f5f67e Fixes for VC++ Companion compilation 2015-03-04 22:30:20 +01:00
bsongis 13999cc65e [Taranis X9E] Top LCD Initialisation. All segments should be ON after
this commit.
2015-03-04 22:03:15 +01:00
bsongis b0cc60ccb2 [Taranis X9E] PLL fix 2015-03-04 18:24:46 +01:00
bsongis c4ed923ae1 Rotary encoder was going the wrong direction in contextual menus 2015-03-03 23:43:19 +01:00