Commit graph

24183 commits

Author SHA1 Message Date
Rafaël Carré
e4972b08f7 as3525: do not read i2c2_cpsr* registers because the clock might be disabled
The registers value does not change so we don't need to read them
This avoids dividing by 0

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25303 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 09:20:12 +00:00
Rafaël Carré
83fe35f4a1 fix r25297 : make ascodec-target.h empty when building sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25301 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 07:52:55 +00:00
Tobias Diedrich
62ff88b717 Implement software pwm to control c200v2 display brightness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25300 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 05:27:32 +00:00
Tobias Diedrich
47ab95904e Add handler for audio irq.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25299 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 05:02:37 +00:00
Tobias Diedrich
6550349835 Add $self to list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25298 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 04:48:22 +00:00
Tobias Diedrich
946d3d177e Rewrite ascodec_as3514.c to use interrupts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25297 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 04:40:38 +00:00
Jonathan Gordon
dafca1405e revert r25271 which caused more problems than it tried to fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25296 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 02:19:48 +00:00
Alex Parker
7e84cca441 Improve %pE description.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25295 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 20:41:14 +00:00
Alex Parker
be8a5afaa9 Fix c&p error for %pE in the manual. Thanks to Alexander Levin for pointing out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25294 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 17:27:31 +00:00
Rafaël Carré
7379718624 Clip+: arbitrary combo (home+select) for button lock
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25293 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 16:31:17 +00:00
Rafaël Carré
1657174561 sd-as3525v2: read cid & csd in the correct order, fix disk info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25292 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 12:12:09 +00:00
Yoshihisa Uchida
94fb09316a fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25291 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 10:47:09 +00:00
Amaury Pouly
a8137252a5 FS#11118: reduce the number of cached sector in FAT code because some are useless after a rewrite of LFN entries handling. Also makes LFN handling more robust.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25290 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 10:35:25 +00:00
Yoshihisa Uchida
7a3822c8b0 fix bug: WAV file playback does not resume (FS#11077)
Not only WAV but also Sun audio, SMAF, vox and WAV64 can resume.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25289 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 10:02:05 +00:00
Rafaël Carré
20fccd8489 mkamsboot: add Clipv2 OF v2.01.35
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25287 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 08:32:04 +00:00
Jack Halpin
beaa292199 sd-as3525v2.c We don't need to disable/enable MCI_CLKENA in send_cmd().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25286 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 06:09:19 +00:00
Jack Halpin
2a75da37ae sd-as3525v2.c Enable disk access icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25285 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 06:09:14 +00:00
Jack Halpin
d2a264e7da sd-as3525v2.c Use MCI_MASK instead of data_transfer flag to determine if data transfer is happening.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25284 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 06:09:08 +00:00
Jack Halpin
3ee301248d sd-as3525v2.c Add macros to distinguish between a CMD error and a DATA error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25283 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 02:30:00 +00:00
Jack Halpin
48b8080330 sd-as3525v2 Remove post transfer wait for state call and move pre transfer wait for state call inside the transfer loop.
We don't need the post transfer call this way.  We check on TRAN state before each partial transfer.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25282 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 02:29:53 +00:00
Jack Halpin
6357c5a085 sd-as3525v2.c Use SD_DESELECT_CARD instead of SD_SELECT_CARD to make the code easier to understand. There is no functional difference.
Add comment to explain why we need to do this.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25281 a1c6a512-1295-4272-9138-f99709370657
2010-03-22 02:29:40 +00:00
Dominik Riebeling
17f5637918 Rockbox Utility requires Qt 4.5 since a while; correct check in project file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25280 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 20:55:55 +00:00
Andree Buschmann
091fc75034 Update battery discharge curve and current consumption for iRiver h10 5GB. Thanks to Danny Attar for measuring.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25279 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 19:02:09 +00:00
Dominik Riebeling
bc8b9da4d0 Split source files out of project file.
Move the source files out of the project file into a project include, and
resort it a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25278 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 18:15:17 +00:00
Andree Buschmann
2064efbfcd Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25276 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 15:13:29 +00:00
Andree Buschmann
d5ac4c44e5 Only show PP502x GPIOx_ENABLE on displays with appropriate height.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25275 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 14:43:04 +00:00
Jens Arnold
be384e8451 Make multigcc.pl actually use more than one core on OS X and opensolaris.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25274 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 14:35:03 +00:00
Andree Buschmann
18e7c1f4af Use atomic operation for GPIOx_ENABLEs in ide_power_enable() for iPod Video. Thanks to Jens Arnold for this one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25273 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 13:50:38 +00:00
Andree Buschmann
7eafef09a6 Add GPIOx_ENABLE to debug screen for PP502x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25272 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 13:48:17 +00:00
Jonathan Gordon
4160fd91a7 there is a difference between viewports which shouldnt be cleared (the default viewport in the sbs) and viewports which should never be shown (%Vi viewport). so do this properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25271 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 13:27:55 +00:00
Alex Parker
165709b076 Add the %Lt and %Li tags to the manual. Closes FS#11061.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25270 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 10:20:24 +00:00
Alex Parker
0c1f3e6dc6 Add the %wi tag to the manual. Closes FS#11080.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25269 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 10:20:19 +00:00
Alex Parker
55c8b2b3b1 Add the %Sx tag to the manual. Closes FS#11116.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25268 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 10:20:14 +00:00
Alex Parker
bbb2dd526d Add %pS and %pE tags to the manual. Closes FS#11121.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25267 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 10:20:09 +00:00
Jack Halpin
da325b6270 sd-as3525v2.c: Correct SD_APP_OP_COND command to send full voltage range for v1 SD cards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25266 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 06:49:42 +00:00
Jack Halpin
f1d9491e9c sd-as3525v2.c: Only manipulate MCI_CLKENA for drive being used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25265 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 06:10:44 +00:00
Jack Halpin
eb1992b4bd SansaAMSv2 as3541.c Include key line from funman's patch to get sound on clip+ and have it only apply to as3525v2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25264 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 05:43:55 +00:00
Mustapha Senhaji
8043db130f Update the french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25263 a1c6a512-1295-4272-9138-f99709370657
2010-03-21 03:58:47 +00:00
Torne Wuff
3cd7f76094 Prevent accidental skipping to beginning/end of file in text viewer.
When the text viewer is not in wide mode, the buttons mapped to move the screen left and right instead jump to the top and bottom of the file. This is very easy to do by accident on most targets, causing you to lose your place. This change requires that the button be held for a long press before it jumps to the top/bottom; short presses simply trigger paging up and down by one page. There is no change in behaviour when wide mode is enabled.

Based on an idea from FS#2648 but implemented differently.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25262 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 21:09:01 +00:00
Rafaël Carré
7042c96b4a Clip+: enable sound on "as3514" (as3543 in fact)
as3525 comes with a as3517, as3525v2 with a as3543, rename specific
registers accordingly

Existing problems: FM (line out) doesn't work, volume can't go below a
certain point

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25260 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 17:09:44 +00:00
Andree Buschmann
0efbe23fe0 Add german translation for line-out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25259 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 15:41:49 +00:00
Andree Buschmann
d6aaa3331f Use consistent wording for line-in and -out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25258 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 15:35:12 +00:00
Andree Buschmann
b6c12a129e Submit FS#11065. Introduce a new system setting for en-/disabling the Line-out. For now only implemented on iPod Video. This allows to save power if the user does not use the player's Line-out. On iPod 5G the saving is ~0.5 mA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25257 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 15:02:29 +00:00
Jens Arnold
181e0e0878 Switch to using statvfs for simulated fat_size(). This makes io.c build on opensolaris, and also removes special ifdefing for freebsd and OS X.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25256 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 12:45:54 +00:00
Andree Buschmann
abce1b9927 Submit FS#9746 by Boris Gjenero. Set PP502x IDE pins low for iPod Video when IDE power is off. Done by OF the same way, might be used by other targets as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25255 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 12:30:18 +00:00
Jens Arnold
43f2382c3a Recognise (open)solaris as a valid simulator host OS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25254 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 08:57:47 +00:00
Jens Arnold
eef14e3b5b Filter out -g in PPCFLAGS. Some (older?) gcc versions add a comment when building dependency files and -g is present. The proper solution would be to make addtargetdir.pl handle (strip) comment lines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25253 a1c6a512-1295-4272-9138-f99709370657
2010-03-20 08:53:27 +00:00
Jens Arnold
2bc9b06702 Reset USB bridge properly when selecting bus powered mode. The bridge might have been set to self powered by the cowon loader, and switching the mode requires a reset. Makes USB work on X5s which were set to 'hub mode' in the OF for some reason.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25252 a1c6a512-1295-4272-9138-f99709370657
2010-03-19 23:39:00 +00:00
Dave Hooper
c28f56076e Revert r22171 (+r22186) for pacbox, given that it doesn't work, and causes crashes on COP targets, and we in fact already had an open unresolved issue against this app (FS#8226) that would need to be resolved before being able to do this
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25251 a1c6a512-1295-4272-9138-f99709370657
2010-03-19 23:24:22 +00:00
Alexander Levin
0d9eeffe34 Set the default character in 08-Atadore font to an existing glyph
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25250 a1c6a512-1295-4272-9138-f99709370657
2010-03-19 21:50:26 +00:00