Thomas Martitz
ac3a7458a8
Fix reds, inclusion of C files into plugins is tricky.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28724 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 21:29:05 +00:00
Thomas Martitz
921ac8d6dd
Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 21:20:30 +00:00
Szymon Dziok
589d2110dc
HDD6330: implement block transfers through the LCD2 bridge in lcd_update_rect(), speedup is huge, fps over 4 times faster.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28722 a1c6a512-1295-4272-9138-f99709370657
2010-12-02 20:35:25 +00:00
Andree Buschmann
1b093cf297
Remove tabs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28719 a1c6a512-1295-4272-9138-f99709370657
2010-12-01 18:35:01 +00:00
Marcin Bukat
a63cf502bc
Add HD300 button defines for system_exception_wait()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28715 a1c6a512-1295-4272-9138-f99709370657
2010-12-01 09:36:53 +00:00
Marcin Bukat
d2ebc534ea
RTC s35380a - fix initialization.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28711 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 23:33:46 +00:00
Marcin Bukat
db1e051bf0
HD300 - decrease touchstrip sensitivity
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28707 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 13:28:28 +00:00
Marcin Bukat
aa2abed587
MPIO - drop wait states for LCD access
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28706 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 13:28:22 +00:00
Marcin Bukat
2d3064a7aa
HD300 - add basic RTC support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28697 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 22:51:14 +00:00
Frank Gevaerts
1db3dfdd75
Accept FS#11774 by Michael Hohmuth (with some own modifications to #ifdef conditions)
...
Unmount all filesystems before connecting USB. This ensures that all filehandles are closed, which avoids possible filesystem corruption
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28693 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 15:22:51 +00:00
Marcin Bukat
4cbab5508f
HD300 - add missing i2c initializtion.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28685 a1c6a512-1295-4272-9138-f99709370657
2010-11-27 14:23:10 +00:00
Andree Buschmann
2dcc515d15
Undo r28682. Bad idea...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28683 a1c6a512-1295-4272-9138-f99709370657
2010-11-27 10:13:18 +00:00
Andree Buschmann
8972744ea9
Use CACHEALIGN_BITS to calculate CACHEALIGN_SIZE instead of directly setting it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28682 a1c6a512-1295-4272-9138-f99709370657
2010-11-27 10:06:26 +00:00
Marcin Bukat
9a24892e2e
MPIO HD300 - initial commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28680 a1c6a512-1295-4272-9138-f99709370657
2010-11-26 23:28:08 +00:00
Bertrik Sikken
26c36d9ac3
Sansa c200/c200v2: limit allowable contrast value to 0-127, it wraps at 128.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28662 a1c6a512-1295-4272-9138-f99709370657
2010-11-24 22:17:23 +00:00
Andree Buschmann
6695226331
Fix typo in comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28641 a1c6a512-1295-4272-9138-f99709370657
2010-11-22 18:43:22 +00:00
Andree Buschmann
eef21cb18a
Change alignment macros to allow further performance optimization. Define the CACHEALIGN macros for all ARM CPUs, the used alignment size is derived from CACHEALIGN_BITS which has been defined for each supported ARM CPU with r28619. The default alignment size for ARM is set to 32 bytes as new -- not yet supported -- ARM CPUs will most probably need this alignment. To be able to differ between ARM and other CPUs a new macro called MEM_ALIGN_ATTR is introduced. This equals CACHEALIGN_ATTR for ARM, 16 byte alignment for Coldfire and is kept empty for other CPUs. MEM_ALIGN_ATTR is available system wide. From measurements it is expected that the usage of MEM_ALIGN_ATTR can give significant performance gain on ARM11 CPUs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28625 a1c6a512-1295-4272-9138-f99709370657
2010-11-21 12:27:01 +00:00
Andree Buschmann
c3574034ad
Reinsert CACHEALIGN_SIZE to imx31l.h, r28619 expected another local change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28620 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 07:23:31 +00:00
Andree Buschmann
90a5a8a068
Define CACHEALIGN_BITS for missing ARM CPUs for later use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28619 a1c6a512-1295-4272-9138-f99709370657
2010-11-19 07:17:20 +00:00
Fred Bauer
9b2e9472ea
FS#11608: switch cpu to async operation in boosted mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28616 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 16:37:56 +00:00
Jonathan Gordon
3806584dbe
fix reds, not so nice fiddling with simulator stubs to make it all works
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28614 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 11:57:51 +00:00
Jonathan Gordon
1ce7ba4931
Make the %tr (radio RSSI) tag work as a bar tag or as a conditional.
...
As a conditional it scales its value to the number of options you give it (like volume)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28613 a1c6a512-1295-4272-9138-f99709370657
2010-11-18 11:47:42 +00:00
Andree Buschmann
e464656b88
Implement udelay() for S5L870x. Exchange sleep() with udelay() during CPU voltage scaling. Voltage scaling was measured stable with 50us delay, to have some headroom we use 100us.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28606 a1c6a512-1295-4272-9138-f99709370657
2010-11-15 21:13:58 +00:00
Michael Sparmann
6574040b18
iPod Nano 2G LCD sleep: Powering down LDO2 also affects USB, so we can't do that to shut off the LCD. Leave it on for now, and use the lightweight approach for waking up the Leadis LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28601 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 20:39:18 +00:00
Andree Buschmann
ba64cf697e
Move pcm doublebuffer to IRAM on nano 2G.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28600 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 19:49:20 +00:00
Michael Sparmann
cdbaa09fb7
iPod Nano 2G LCD sleep: Send LCD_EVENT_ACTIVATION event
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28593 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:46:17 +00:00
Michael Sparmann
a5ad3f8a72
iPod Nano 2G: Implement LCD sleep (FS#11604 by Franz-Josef Haider), adds up to 5 hours of battery life
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28591 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:29:05 +00:00
Michael Sparmann
bbebaa406f
iPod Nano 2G: Dynamic Vcore scaling, based on current CPU clock. Adds 1-2 hours of battery life.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28590 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:20:06 +00:00
Michael Sparmann
81381a36b4
iPod Nano 2G: Set I2C clock to 374400 Hz, now that we know what it is derived from.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28589 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:19:30 +00:00
Michael Sparmann
b18d220e48
iPod Nano 2G: Use sane (150 microseconds) PLL locking delays and properly set a third CLKCON register I just discovered
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28588 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:18:05 +00:00
Michael Sparmann
316986df67
Oops, forgot to add CLKCON3 to the CPU header. Fixes red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28587 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 15:11:37 +00:00
Magnus Holmgren
4480e3a82c
Hopefully fix FS#11696: scrollwheel doesn't respond in some cases.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28584 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 13:13:06 +00:00
Bertrik Sikken
0d5e470a45
si4700/rda5802 tuners: prevent hang when changing radio region. Probably fixes bug FS#11754 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28582 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 09:25:08 +00:00
Michael Sparmann
b491421c5a
iPod Nano 2G: Fix I2S clocking. All sampling rates should work now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28581 a1c6a512-1295-4272-9138-f99709370657
2010-11-14 04:46:38 +00:00
Michael Sparmann
23fd886c4f
iPod Nano 2G: Finally FIQ-less and glitch-free PCM. This should allow for IRQ latencies high enough to allow re-locking PLLs and changing and stabilizing Vcore when switching CPU frequency.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28580 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 21:08:15 +00:00
Michael Sparmann
9156dbaef5
Damn. Remove another typo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28579 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 17:49:45 +00:00
Michael Sparmann
fc86352e27
Fix a typo in a comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28578 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 17:39:21 +00:00
Frank Gevaerts
1960a8029b
Fix multivolume case
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28577 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 15:46:38 +00:00
Michael Sparmann
79d26ed7f9
Reduce the amount of stack space needed by fat_rename and mkdir_uncached.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28576 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 15:41:18 +00:00
Michael Sparmann
a961798c2c
iPod Nano 2G: Post-mortem memory dumper stub (FS#11701)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28573 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 12:05:53 +00:00
Michael Sparmann
e872e9b913
iPod Nano 2G: Reduce popping noise during codec powerup, especially when driving high-impedance loads
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28572 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 11:38:38 +00:00
Michael Sparmann
2089a7dd7b
Remove redundant SOURCES entry for iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28571 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 11:15:42 +00:00
Michael Sparmann
a8e2bb361c
iPod Nano 2G FTL: Remove some meaningless code in ftl_init
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28570 a1c6a512-1295-4272-9138-f99709370657
2010-11-13 11:07:42 +00:00
Marcin Bukat
123bebeada
MPIO: move files a bit in preparation for HD300 port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28567 a1c6a512-1295-4272-9138-f99709370657
2010-11-12 21:52:29 +00:00
Thomas Martitz
0cf2cc1607
Android: Change how detecting call state (introduced in r27746) works, from polling to event based.
...
* For some reason, the polling methid is much more inefficient than I thought. According to htop it caused up to 15% CPU load on some phones (e.g. Galaxy S).
The event based causes no CPU load.
Rockbox' idle CPU load is now back to 0%, while it was previously dominated by polling the call state.
* Also stop on outgoing calls (no need to explicitely pause for making a call anymore).
* Factor out the detection mechanism to separate files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28564 a1c6a512-1295-4272-9138-f99709370657
2010-11-12 21:04:13 +00:00
Bertrik Sikken
de870b3ee0
Signal strength meter for FM radio - FS#8151 by Przemysław Hołubowski
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28559 a1c6a512-1295-4272-9138-f99709370657
2010-11-11 21:13:29 +00:00
Maurus Cuelenaere
b787c0dd05
Onda VX767: get some facts about the state of the current LCD driver straight
...
* Remove wrong comment in config
* Add a note to the LCD driver stating that it isn't complete and thus non-working atm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28558 a1c6a512-1295-4272-9138-f99709370657
2010-11-11 13:04:22 +00:00
Thomas Martitz
33af0dec28
Touchscreen: Improved scroll threshold
...
Remove the hardcoded (and way too small) scroll threshold (the distance moved in pixels before we think the users wants to scroll) and replace it with something based on the actual DPI of the screen.
On Android we call the API for that, on other touchscreens we reimplemented Android's formula (as of 2.2) and calculate it.
Flyspray: 11727
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28548 a1c6a512-1295-4272-9138-f99709370657
2010-11-10 15:25:15 +00:00
Marcin Bukat
a434a0de5c
MPIO HD200 manual - tex files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28544 a1c6a512-1295-4272-9138-f99709370657
2010-11-09 22:10:38 +00:00
Bertrik Sikken
19c048344d
Apply FS#11729 - Remove unneeded I2SIN clock configuration for AS3525 and AS3525v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28541 a1c6a512-1295-4272-9138-f99709370657
2010-11-09 21:53:44 +00:00