summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-e200v2
AgeCommit message (Collapse)Author
2010-07-14Fuze*/e200v2: remove unused lcd_set_contrast()Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27413 a1c6a512-1295-4272-9138-f99709370657
2010-06-20Revert r26350 - fixes FS#11421Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26997 a1c6a512-1295-4272-9138-f99709370657
2010-06-18Enable display and backlight on panic.Tobias Diedrich
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26917 a1c6a512-1295-4272-9138-f99709370657
2010-05-29e200v2: revert r26353Rafaël Carré
invert setting isn't remembered when backlight goes off and lcd_enable() is ran again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26374 a1c6a512-1295-4272-9138-f99709370657
2010-05-28Simplify lcd invertMichael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26353 a1c6a512-1295-4272-9138-f99709370657
2010-05-28Simplify lcd_set_flip, lcd_window, and lcd_window_blitMichael Chicoine
Remove unneeded defines Whitespace cleanup Thanks to Rafaël Carré for finding the simpler register settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26350 a1c6a512-1295-4272-9138-f99709370657
2010-04-05Fix yellow. Another function unneeded in the bootloader.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25484 a1c6a512-1295-4272-9138-f99709370657
2010-04-05as2525(v2): We don't need yuv blitting/greylib support in the bootloader so ↵Thomas Martitz
don't compile it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25483 a1c6a512-1295-4272-9138-f99709370657
2010-04-01Fuzev2: Scrollwheel works like a charm :)Thomas Martitz
Move scrollwheel parsing function into separate file as it's reused. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25425 a1c6a512-1295-4272-9138-f99709370657
2010-01-26Update on even pixel boundaries on the e200v2 for best performance (was ↵Thomas Martitz
forgotten in r24198). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24337 a1c6a512-1295-4272-9138-f99709370657
2010-01-07Sansa AMS: Time has shown that switching between 16 and 32bit mode costs ↵Thomas Martitz
much time (due to the micro delay needed), so do 32bit transfers unconditionally for lcd updates at the cost of updating slightly larger rectangles (gives upto 15% speed up, nearly at maximum now). Unify this optimized dbop transfer function and re-use it more often (it still handles 16bit transfers). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24198 a1c6a512-1295-4272-9138-f99709370657
2010-01-07e200v2/Fuze: Correct and simplify clipping clipping code in lcd_update_rect().Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24197 a1c6a512-1295-4272-9138-f99709370657
2010-01-06Sansa AMS: refactor DBOP button reading (e200v2/Fuze/c200v2)Rafaël Carré
This gets rid of LCD glitches on Sansa Fuze, and now LCD transfers can get interrupted by button reading Flyspray: FS #10603 Author: Bertrik Sikken git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24192 a1c6a512-1295-4272-9138-f99709370657
2010-01-04Sansa e200v2: LCDRafaël Carré
- Cosmetics change to reduce the diff with lcd-fuze.c: - remove useless headers - move/remove/change comments - rename functions - fix casts Now the differences with fuze lcd code are mostly: - lcd_window* code - _display_on() / as3525_dbop_init() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24182 a1c6a512-1295-4272-9138-f99709370657
2009-10-31FS#10744 - Fuze: Last line of screen's pixels doesn't change when switching ↵Michael Chicoine
themes and using plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23452 a1c6a512-1295-4272-9138-f99709370657
2009-10-26fix an off-by-one error in lcd_update_rect()Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23359 a1c6a512-1295-4272-9138-f99709370657
2009-10-24Speed up lcd_update_rect by ~2.5% by counting towards 0 in the loop.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23329 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz
multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-09-30Fix "lcd driver speed up" on e200v2Rafaël Carré
Flyspray: FS#10272 Author: Michael Chicoine git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22859 a1c6a512-1295-4272-9138-f99709370657
2009-09-26Sansa Fuze/e200v2: protect lcd a little better against concurrent accessBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22838 a1c6a512-1295-4272-9138-f99709370657
2009-09-01Move the FIFO emptying up, as having it after lcd_write_single_data16() ↵Thomas Martitz
causes problems with uneven transfers (I'm not sure why). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22581 a1c6a512-1295-4272-9138-f99709370657
2009-09-01Fuze/e200v2: Speed up the LCD further by letting the FIFO fill until it's ↵Thomas Martitz
full instead of keeping it almost empty. The blue bars I previously had with this way are fixed by blocking DBOP output while reading buttons from GPIO. We reached the maximum fps even at unboosted now (100.0 fps at lcd_update(), DBOP can't do more). Optimisation to YUV stuff is still possible though. The e200v2 scrollwheel is very improved due to the this and the previous speedup since the chance of getting the wheel read blocked is greatly decreased with faster updates. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22578 a1c6a512-1295-4272-9138-f99709370657
2009-08-31Apply the lcd speed fix from fuze also to e200v2. Improves speed by a factor ~2.Dominik Wenger
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22575 a1c6a512-1295-4272-9138-f99709370657
2009-08-08Apply FS#10447 - e200v2 lcd driver cleanup by Michael ChicoineBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22210 a1c6a512-1295-4272-9138-f99709370657
2009-07-18Commit FS#10413 by Michael Chicoine. Fixes upside down menu in mpegplayer ↵Michael Giacomelli
when watching videos with the screen inverted. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21942 a1c6a512-1295-4272-9138-f99709370657
2009-06-22FS#10284 - "Sansa e200v2 & Fuze: Merge the button driver into 1 file" by ↵Thomas Martitz
Dustin Skoracki Those two drivers were so similar, merging them is worth a few more #ifdefs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21474 a1c6a512-1295-4272-9138-f99709370657
2009-06-08Sansa e200v2: use = instead of |= when setting GPIO levelBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21224 a1c6a512-1295-4272-9138-f99709370657
2009-06-03git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21182 ↵Jack Halpin
a1c6a512-1295-4272-9138-f99709370657
2009-06-02Sansa AMS : don't use the SHAREDBSS_ATTR since we don't have a coprocessorRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21171 a1c6a512-1295-4272-9138-f99709370657
2009-05-26FS#10245 by Jack Halpin : Adjust Clocking scheme on Sansa AMSRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21088 a1c6a512-1295-4272-9138-f99709370657
2009-05-13Sansa AMS: Various fixes/enhancements for clock frequenciesRafaël Carré
Fix CGU_DBOP setting Set PCLK to the exact frequency (62MHz, not the maximal frequency) Use a better comment for CLK_DIV macro Use preprocessor safety checks for clock divider sizes to avoid future mistakes (not for SD_IDENT frequency since that check is handled by mci_set_clock_divider) Use maximal IDE frequency of 66MHz (like OF), not 90MHz like written in AS3525 datasheet. The IDE chip is somehow linked to internal storage, and a too high frequency could affect the storage driver. Use the same DBOP frequency of 32MHz for all models (like OF, verified clip, fuze, e200v2 and m200v4), compromise between performance and battery life could be added in the future for each target Performance increase on Sansa Fuze with DBOP freq. set to 64MHz: +12% fps for lcd_update, +1% fps for yuv Thanks to daytona955 on the forums for his help git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20923 a1c6a512-1295-4272-9138-f99709370657
2009-05-12FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20919 a1c6a512-1295-4272-9138-f99709370657
2009-04-29FS#10151 - e200v2: scrollwheel acceleration by Dustin Skoracki. Improves the ↵Thomas Martitz
scroll wheel acceleration on the e200v2 mainly by not decrementing the counter which which causes the acceleration if a wheel read was missed due to lcd operation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20822 a1c6a512-1295-4272-9138-f99709370657
2009-04-26FS#10126 - lcd_e200v2 cleanup by Michael ChicoineThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20801 a1c6a512-1295-4272-9138-f99709370657
2009-04-26FS#10158 - e200v2 button delay revisited by Michael Chicoine to fix some ↵Thomas Martitz
weirdnesses with button reading. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20800 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Remove unnecessary #include "adc.h"Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20791 a1c6a512-1295-4272-9138-f99709370657
2009-04-20Fix FS#10128 - The View IO Ports debug menu showed weird dbop values ↵Thomas Martitz
(sometimes FFFF prepended), due to sign-extension. Switch to unsigned short to fix it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20757 a1c6a512-1295-4272-9138-f99709370657
2009-04-19FS#10148 by Dustin Skoracki, removes a redundant check for != BUTTON_NONE in ↵Thomas Martitz
the scrollwheel drivers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20744 a1c6a512-1295-4272-9138-f99709370657
2009-04-13Few Fuze/e200v2 button fixes. Don't read the scrollwheel when the hold ↵Thomas Martitz
button is active and rename a variable to describe better what it is for. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20701 a1c6a512-1295-4272-9138-f99709370657
2009-04-13FS#10127 - Sansa e200v2: wrapping in menus by Dustin Skoracki and me. ↵Thomas Martitz
Implements better list wrap handling mostly by taking Fuze's scrollwheel driver, but with tweaks w.r.t. to BUTTON_REPEAT to make it work on the e200v2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20700 a1c6a512-1295-4272-9138-f99709370657
2009-04-13FS#10120 - fuze/e200v2: poll the wheel more often (every 5ms). This makes ↵Thomas Martitz
the scrollwheel behavior nearly perfect (decent acceleration, no direction changes if you turn to fast). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20699 a1c6a512-1295-4272-9138-f99709370657
2009-04-10Commit fs#9959 by Jack Halpin. Removes delays from the Sansa e200v2 button ↵Michael Giacomelli
driver and cleans up the code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20676 a1c6a512-1295-4272-9138-f99709370657
2009-04-10Commit FS#10043 by Michael Chicoine for the Sansa e200v2. Implements LCD ↵Michael Giacomelli
sleeping, cleans up unused GPIOs and implements LCD flipping/invert. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20670 a1c6a512-1295-4272-9138-f99709370657
2009-03-22Add missing powermgmt-e200v2.c file from FS#9968Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20466 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Fix reds and yellows (hopefully). Some targets apparently didn't properly ↵Thomas Martitz
#ifdef lcd_enable and lcd_sleep code out, so that it got partly active in the bootloader; rename the ui simulator stub fixes most reds; for the clip: move the hook code into lcd-1bit-vert.c which should fix the bootloader red. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20333 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Rework lcd_enabled and lcd_set/call_enable hookThomas Martitz
a) lcd_enabled() is now lcd_active(), and is available for HAVE_LCD_SLEEP only targets (e.g. ipod video) too. It was depandent on HAVE_LCD_ENALE only before b) rename the hook accordingly, and implement the hook for other other targets too (e.g. the clip [the only mono target with lcd_enable/lcd_sleep yet, so the code is still in the lcd driver], ipod, fuze, c200) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20331 a1c6a512-1295-4272-9138-f99709370657
2009-02-20e200v2: fix broken lcd driver and cleanup a little bit further.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20063 a1c6a512-1295-4272-9138-f99709370657
2009-02-19Sansa e200v2: Some LCD driver changes (none with functional changes):Thomas Martitz
1) put window addressing in a seperate function like on the fuze 2) use fb_data instead of unsigned short 3) change clipping a bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20051 a1c6a512-1295-4272-9138-f99709370657
2009-02-18Show DBOP in the e200v2's view IO ports menu.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20042 a1c6a512-1295-4272-9138-f99709370657
2009-02-18Return old button value if lcd_button_supprt was blocked.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20041 a1c6a512-1295-4272-9138-f99709370657