Commit Graph
19 Commits
Author SHA1 Message Date
JivaroFAD e665f4a176 Mega2560 cleaning 2015-05-23 21:48:22 +02:00
JivaroFAD 28812997ab Power-circuit schematic update 2015-05-20 00:00:08 +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 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 01cd86f6f6 [MEGA2560/GRUVIN9X] Overflow in Custom Functions switch (no ON and One) 2015-03-03 20:14:23 +01:00
JivaroFAD 946a854efc mega2560 update
Documentation
2015-02-14 20:17:37 +01:00
JivaroFAD 55a7fbaa2e mega2560 update
SW rework
2015-01-10 20:42:32 +01:00
JivaroFAD 03067344c9 mega2560 update
Kicad sch & listing
2014-12-23 23:07:25 +01:00
JivaroFAD 5aed69ff85 mega2560 update
Power management finalization
2014-12-11 19:47:44 +01:00
bsongis 404b55c87f MEGA2560 update (all commits merged in only one) 2014-12-09 18:57:43 +01:00
JivaroFAD d5c6fade8f MEGA2560 update 2014-12-07 12:07:29 +01:00
JivaroFAD 5ce8b9bc47 MEGA2560 update 2014-12-07 11:26:35 +01:00
Damjan Adamic 382e5a0eef Missing stuff 2014-11-30 19:56:33 +01:00
JivaroFAD 9327cffbe6 RotaryA ok
Interrupts 0 and 1 changed to 4 and 5
2014-09-26 16:37:37 +02:00
JivaroFAD 1c24ef3c45 mega2560 RotaryB ok 2014-09-25 00:35:53 +02:00
JivaroFAD f39650bf16 MEGA2560 update 2014-09-21 20:26:19 +02:00
bsongis 2237de99ed Mega2560 target didn't compile 2014-09-12 08:32:57 +02:00
Bertrand Songis 942e658c8e Directory transmitter renamed to radio 2013-12-02 07:13:57 +01:00