Commit Graph
11 Commits
Author SHA1 Message Date
Michał Wróbel 9b66a9b971 [9X] DRY, just use the BOLD_SPECIFIC_FONT macro 2015-06-08 23:35:44 +02:00
Michał Wróbel bbf88744cb [AVR] Fix last column of last row of DBLSIZE text (off-by-one error) 2015-06-07 19:34:53 +02:00
Michał Wróbel 04abe29c7c Fix help for string formatting codes in translation files 2015-05-21 19:58:09 +02:00
Michał Wróbel 4d185f78db Support totally silent build (BUZZER=NO && AUDIO=NO) 2015-05-20 23:14:58 +02:00
Michał Wróbel ce58a11e73 New Makefile variable SIMUCPPFLAGS used for simu and gtests target 2015-05-09 00:45:18 +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
Michał Wróbel d63f6bcaf7 Fixes #2250 2015-05-07 03:14:31 +02:00
Michał Wróbel 4bab22f797 A more natural fix for #2249 2015-05-03 15:16:49 +02:00
Michał Wróbel 31820a0520 Fix switch warning false negatives occuring when splash screen is disabled (#2220) 2015-04-28 01:13:45 +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