Commit Graph
342 Commits
Author SHA1 Message Date
Bertrand Songis 49c455aa27 Merge pull request #2345 from opentx/bsongis/i2c_hardware_on_taranis
Bsongis/i2c hardware on taranis
2015-06-05 09:45:50 +02:00
bsongis f49a23b635 I2C speed now 400kHz except on REV4a boards 2015-06-05 09:45:04 +02:00
JivaroFAD 61c7abf214 M2560 update
makefile option for soft-off and haptic added
audio&voice desactivated on Companion (not yet implemented)
doc update (LCD resistor added)
2015-06-01 00:11:35 +02:00
bsongis 23adad950a REV4a only supports 100kHz, this is why I had random errors! Now I need
tests at 400kHz for the standard (non Plus) Taranis. I keep 200kHz for
now.
2015-05-31 16:43:15 +02:00
bsongis 6682d0c6d3 200kHz on non REVPLUS boards 2015-05-31 16:08:17 +02:00
Damjan Adamic 70ff6b06ed Fixes #2260: added volumeGain in simulator (ported from master) 2015-05-31 15:59:31 +02:00
bsongis 8bf7a78b77 240kHz 2015-05-29 21:23:44 +02:00
bsongis bb761f8cf6 EEPROM write added. Speed slowed down to 200kHz 2015-05-29 21:14:00 +02:00
bsongis ca9f250f64 Missing optimizations in the bootloader 2015-05-29 21:14:00 +02:00
bsongis 4a13a65024 I2C Read at 400MHz (hardware). I2C Write still not implemented 2015-05-29 21:14:00 +02:00
Damjan Adamic e9c4274503 Fixes #2301: findTrueFileName() was not finding any files on Windows 2015-05-25 22:14:34 +02:00
JivaroFAD e665f4a176 Mega2560 cleaning 2015-05-23 21:48:22 +02:00
bsongis 59235fcfcb Indentation fixes 2015-05-21 19:14:00 +02:00
JivaroFAD de13291db1 LCD driver simplification, 8 bytes saved (ST7565) 2015-05-20 18:08:33 +02:00
JivaroFAD 28812997ab Power-circuit schematic update 2015-05-20 00:00:08 +02:00
JivaroFAD 65017fc243 LCD driver update 2015-05-18 23:33:35 +02:00
JivaroFAD 744c797e30 ST7920 support added for 9x and M2560 boards
Merge of olterion ST7920 driver, thanks :)
Draft... please check !
2015-05-17 20:26:41 +02:00
bsongis ddf88e2721 EEPROM was readonly since my latest cosmetics (line removed by mistake) 2015-05-16 11:34:24 +02:00
bsongis 463e23f15b Cosmetics 2015-05-14 19:34:18 +02:00
bsongis 502582a896 Cosmetics 2015-05-14 19:27:02 +02:00
Michał Wróbel e20e66d9bb Fix simu and gtests compilation with TELEMETRY_MOD={14051,14051_SWAPPED} 2015-05-08 23:35:28 +02:00
bsongis fdc47640e2 system_stm32 files moved to targets directory 2015-05-08 18:55:16 +02:00
Michał Wróbel d63f6bcaf7 Fixes #2250 2015-05-07 03:14:31 +02:00
Damjan Adamic 60b2a378dd Re #2239: PPM output type added for 9XR-PRO (open drain or push-pull) 2015-05-04 20:35:29 +02:00
bsongis 133f5fee0f PXX pulses fix improved (thanks to Mike for the idea!) 2015-05-03 16:07:16 +02:00
Michał Wróbel 4bab22f797 A more natural fix for #2249 2015-05-03 15:16:49 +02:00
JivaroFAD 2d6933d5ec M2560 board : adc_drive MUX5 correction 2015-05-03 09:45:20 +02:00
bsongis 7ba457be50 I found it ... 3 hours just for this #ifdef missing! 2015-04-30 19:37:02 +02:00
bsongis 1c1f45251b Warning removed 2015-04-29 21:17:05 +02:00
bsongis 886431f396 [Sky9x] EEPROM fixes 2015-04-28 20:38:05 +02:00
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