Commit Graph
228 Commits
Author SHA1 Message Date
KenandKen Healy a7179f5b77 Tested fix for PWM_BACKLIGHT on ATmega2561 MCUs
The functionality of timer0 and timer2 are switched between ATmega64/128
and 641/1281/2561. When compiled for ATmega2561, this commit sets up timer0
in the same way as timer2 on ATmega64/128 (phase correct PWM, clk/64 count
rate, inverted if SP22 is defined).

The previous quick fix had a typo in the initialization of TCCR0B (0b111 is
an invalid value for the clock select bits CS2:0). It also did not respect
the SP22 define which indicates the PWM must be inverted. Smartieparts
v2.2 or later programmer boards have an inverted backlight driver. Finally,
it is unnecessary to set DDB7 as it is already set in boardInit() (line
101).
2015-01-08 21:29:01 -05:00
bsongisandKen Healy fe500463fd Quick fix for #1970 - I don't have any 2561 for testing, I let you test
and fix if needed!
2015-01-08 21:29:01 -05:00
JivaroFAD 3f371493c2 mega2560 update 2015-01-07 21:20:24 +01:00
JivaroFAD b95b66e69e mega2560 update
Nearly the end... transmitter is built and works, the first fly is for
next we !
2015-01-06 22:45:58 +01:00
Damjan Adamic bb921a0a7f Ported from master to next:
#1489: TRACE() output intercepted and shown in Companion (shortcut F6)
#1270: simple Trainer Simulator (shortcut F5)
#1466: telemetry simulator (shorcut F5)
2015-01-04 20:07:39 +01:00
bsongis 1d7740ef4c Fixes #1793 - cp won't work on some Linux distributions 2015-01-04 15:50:57 +01:00
JivaroFAD 661657588e mega2560 update
schmatics
2015-01-01 18:06:13 +01:00
Damjan Adamic 56670fc212 Re #1963: fixes the case of power switch fast OFF->ON sequence. 2015-01-01 09:30:16 +01:00
Damjan Adamic 7b19afa96f Fixes #1964 and possibly #1963: TIM13 was used bootloader and delays.c, lcdInitFinish() was missing from lcdSetRefVolt(), simplified LCD init interface for Taranis, delaysInit() was missing from Bootloader 2014-12-31 18:54:37 +01:00
Damjan Adamic eca81904d2 Merge branch 'next' into projectkk2glider/9xe_adc3_driver
Conflicts:
	radio/src/myeeprom.h
2014-12-27 16:20:14 +01:00
Damjan Adamic 6304679582 Working ADC3 driver for 9XE additional analog inputs (driver source based on Michael Blandford's code) 2014-12-19 20:16:23 +01:00
bsongis cf87849c5b LCD bugfix on EEPROM alerts. No more Splash if splash disabled 2014-12-18 19:11:06 +01:00
JivaroFAD 5ca286c171 mega2560 update
Junk pulses on PORTB_4 with SD-Card option
2014-12-16 22:29:10 +01:00
Damjan Adamic 62ca755d5b 2MHz timer was not working on Taranis 2014-12-14 21:48:15 +01:00
JivaroFAD 5aed69ff85 mega2560 update
Power management finalization
2014-12-11 19:47:44 +01:00
JivaroFAD 602fcfe4a9 mega2560 update
trim rework
2014-12-09 19:52:38 +01:00
Bertrand Songis e3406e12f8 Merge pull request #1901 from opentx/projectkk2glider/issue_1017_key_stuck
Fixes #1017: Startup key stuck display
2014-12-09 19:04:44 +01:00
bsongis 404b55c87f MEGA2560 update (all commits merged in only one) 2014-12-09 18:57:43 +01:00
bsongis 361fbd83dc A lot of warnings removed 2014-12-09 07:22:30 +01:00
bsongis 4c2c85fe9f MEGA2560 didn't compile correctly 2014-12-08 20:20:13 +01:00
Bertrand Songis 8c9e5687f1 Merge pull request #1893 from opentx/projectkk2glider/lcd_dma_in_background
Projectkk2glider/lcd dma in background
2014-12-08 18:53:43 +01:00
Damjan Adamic 55f0781bc9 Lua task timing done in perMain() 2014-12-07 17:23:44 +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 f8203b72f7 perMainArm() renamed to perMain() 2014-12-07 10:12:26 +01:00
Damjan Adamic e9f8b14f8b Bootloader for 9XE 2014-12-06 19:16:05 +01:00
Damjan Adamic f2ed441916 LCD_DUAL_BUFFER optional (speed vs RAM) 2014-12-06 18:19:32 +01:00
Damjan Adamic e4de0da0bb Fixed Companion build 2014-12-06 15:55:07 +01:00
Damjan Adamic 8aeb35c912 Refactoring continued: Try to run lua scripts before the first LCD function 2014-12-06 15:36:10 +01:00
Damjan Adamic fac8571c29 Refactoring of perMainArm(), hw specific stuff moved to targets 2014-12-06 13:13:51 +01:00
Damjan Adamic 5c8e8ebbe5 Separated perMain() for ARM and other platforms 2014-12-06 12:44:30 +01:00
Damjan Adamic 5ad4df344e Fixes #1017: Startup key stuck display 2014-12-05 20:45:54 +01:00
Damjan Adamic 0d1362e476 Dual-buffer for LCD 2014-12-04 21:11:27 +01:00
Damjan Adamic e32da2ba4a No more waiting in lcdRefresh() for SPI transfer to finish 2014-12-04 20:13:42 +01:00
Damjan Adamic 1b4834b547 Another simu build failure (thanks to Jenkins) 2014-12-03 22:28:10 +01:00
Damjan Adamic c10ff3880b Simu build failure (thanks to Jenkins) 2014-12-03 22:11:28 +01:00
Damjan Adamic a539add020 Re #1875 and #1849: implemented LCD initialization for low temperatures. Initialization skipped in case of watchdog reset or boot-loader exit. 2014-12-03 21:14:07 +01:00
bsongis fa963041ef Taranis X9E Simulator - with rotary encoder 2014-12-01 22:08:19 +01:00
bsongis 845e9890bb 18 switches displayed on main screen, thanks Martin for the graphics and
font!
2014-11-30 22:53:05 +01:00
Damjan Adamic 382e5a0eef Missing stuff 2014-11-30 19:56:33 +01:00
Damjan Adamic 9980d11740 Rotary encoder emulates PLUS and MINUS keys 2014-11-30 19:46:44 +01:00
Damjan Adamic b64d200c94 Back-light PWM frequency changed from 100 to 500Hz (LCD was flickering at lower light levels) 2014-11-29 19:21:40 +01:00
bsongis d64989baac All X9E switches now working 2014-11-27 23:09:14 +01:00
bsongis e5006769be X9E Trims should now be ok 2014-11-25 23:42:06 +01:00
bsongis ea0d7577c8 This interrupt had his priority assigned 2 times with different values 2014-11-25 22:32:48 +01:00
bsongis dfa32b805b X9E added to Makefile, [ENTER] moved to PF0 2014-11-25 21:57:48 +01:00
bsongis 06437b2954 Switches configuration + Switches/Pots/Sliders/Sticks custom names 2014-11-21 18:22:13 +01:00
bsongis 317c4657be Mutex lock check added as suggested by projectkk2glider 2014-11-19 19:41:15 +01:00
Bertrand Songis aa037f28d9 Merge pull request #1855 from kylemanna/perms_fix
Fix Permissions
2014-11-19 19:36:53 +01:00
Kyle Manna da8160f1ff permissions: Remove execute bit from src files
* Remove the execute permission on all c, cpp, and header files.
* These files will never need to be executed.
2014-11-19 09:52:44 -08:00