summaryrefslogtreecommitdiffstats
path: root/firmware
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08Fix tabs in .c and .h files in firmware/ Bertrik Sikken6-18/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29832 a1c6a512-1295-4272-9138-f99709370657
2011-05-05Fix whitespace errors aka tabs.Dominik Riebeling1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29826 a1c6a512-1295-4272-9138-f99709370657
2011-05-04fuze+: move defines from .c to .h; implement button reading for volume ↵Amaury Pouly4-26/+45
up/down and power git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29822 a1c6a512-1295-4272-9138-f99709370657
2011-05-03AMSv2 USB: Write usb_delay() in assemblyRafaël Carré1-6/+8
Ensure no changes when we use different versions of gcc (USB used to panic with gcc 4.6.0) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29818 a1c6a512-1295-4272-9138-f99709370657
2011-05-02fuze+: use mdelay and not udelay in lcd sequencesAmaury Pouly1-34/+35
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29816 a1c6a512-1295-4272-9138-f99709370657
2011-05-02iap: pass length and data pointer to iap_handlepkt functions, this prepares ↵Bertrik Sikken2-11/+14
for iap large packet support. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29815 a1c6a512-1295-4272-9138-f99709370657
2011-05-01Sansa Fuze+: initial commit (bootloader only, LCD basically working)Amaury Pouly26-3/+2062
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29808 a1c6a512-1295-4272-9138-f99709370657
2011-04-27Get rid of a committed #define from kernel.h that didn't make the final cut. ↵Michael Sevakis1-1/+0
Put voice_wait in voice_thread.h where it ought. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29787 a1c6a512-1295-4272-9138-f99709370657
2011-04-27Commit FS#12069 - Playback rework - first stages. Gives as thorough as ↵Michael Sevakis2-42/+183
possible a treatment of codec management, track change and metadata logic as possible while maintaining fairly narrow focus and not rewriting everything all at once. Please see the rockbox-dev mail archive on 2011-04-25 (Playback engine rework) for a more thorough manifest of what was addressed. Plugins and codecs become incompatible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29785 a1c6a512-1295-4272-9138-f99709370657
2011-04-23iap: reduce code duplication in iap autobaud codeBertrik Sikken1-36/+26
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29769 a1c6a512-1295-4272-9138-f99709370657
2011-04-23Split off target-specific parts from firmware/drivers/serial.cBertrik Sikken5-218/+304
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29768 a1c6a512-1295-4272-9138-f99709370657
2011-04-22ipod6g: make functions and variables static where possibleBertrik Sikken4-33/+37
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29767 a1c6a512-1295-4272-9138-f99709370657
2011-04-22Fix issues with iPod nano 2G displays reported on the forums. The voltage ↵Andree Buschmann1-1/+1
supply seems to be too low for several LCDs. The buzz of the display is still significantly lower than with OF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29764 a1c6a512-1295-4272-9138-f99709370657
2011-04-18AMS: consistently use bitclr32/bitset32/bitmod32 for register CCU_IO ↵Bertrik Sikken3-7/+6
(instead of using |= or &= ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29748 a1c6a512-1295-4272-9138-f99709370657
2011-04-18AMSv1 sd: work-around for detection problem with some sd cards (delay after ↵Bertrik Sikken1-1/+1
switching to high-speed) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29746 a1c6a512-1295-4272-9138-f99709370657
2011-04-16Define LCD dpi for n900, n8xx and the pandoraThomas Jarosch1-0/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29728 a1c6a512-1295-4272-9138-f99709370657
2011-04-16Fix premature idle shutdown on RaaA after last track finished playingThomas Jarosch1-3/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29721 a1c6a512-1295-4272-9138-f99709370657
2011-04-09AMS sd: use defines instead of direct values for drive numberBertrik Sikken1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29696 a1c6a512-1295-4272-9138-f99709370657
2011-04-08Sansa Clip v2: there's no need to use |= or &= to manipulate a GPIO for the ↵Bertrik Sikken1-2/+2
button light git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29695 a1c6a512-1295-4272-9138-f99709370657
2011-04-02Sansa clip+: do not set GPIO B7 in the display driver, it's already used for ↵Bertrik Sikken1-4/+11
FM radio I2C git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29668 a1c6a512-1295-4272-9138-f99709370657
2011-04-01AMSv2: fix dependency between button light and sd card control for fuze v2 ↵Bertrik Sikken2-21/+7
variant 0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29667 a1c6a512-1295-4272-9138-f99709370657
2011-03-29AMSv2 sd: do not try to switch sd cards into high-speed mode.Bertrik Sikken1-29/+0
High-speed mode is only half implemented (sd controller still uses normal speed) and causes card detection problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29660 a1c6a512-1295-4272-9138-f99709370657
2011-03-28AMSv2 sd: correct CLKENA settings (to stop sd clock when idle) for AMSv2 ↵Bertrik Sikken1-1/+1
variant 1 players git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29657 a1c6a512-1295-4272-9138-f99709370657
2011-03-28AMSv2 sd: do sd slot switching with GPIO B5 only for AMSv2 variant 1Bertrik Sikken1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29656 a1c6a512-1295-4272-9138-f99709370657
2011-03-27Skin variables for touchscreen targets (origional implementation by Jens Theeß)Jonathan Gordon1-0/+2
%vs(name, [set|inc|dec], value [,max]) - name is the id, set sets the value, inc increments by value, dec decrements by value %vg(name) - get the current value %vl(name [,timeout]) - 'has it changed in [timeout]'? values start at 1 and are all reset to 1 on skin load git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29655 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: use INTERNAL_AS3525 and SD_SLOT_AS3525 defines instead of a direct ↵Bertrik Sikken1-2/+2
value git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29652 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: wait for response to command SD_STOP_TRANSMISSION instead of ↵Bertrik Sikken1-3/+3
ignoring the response git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29651 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: reorganise code to select 4-bit mode data transfer mode a bit and ↵Bertrik Sikken1-5/+6
add comments git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29648 a1c6a512-1295-4272-9138-f99709370657
2011-03-26AMSv2 SD: sd card communication speed can be changed back to full speed ↵Bertrik Sikken1-3/+3
after CMD3 (SEND_RCA) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29647 a1c6a512-1295-4272-9138-f99709370657
2011-03-26use correct define for gigabeat fx to enable lineout (was broken in r29588)Robert Kukla1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29646 a1c6a512-1295-4272-9138-f99709370657
2011-03-24iPod Classic storage driver: Fix some implicit casts, typos, ...Michael Sparmann1-5/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29640 a1c6a512-1295-4272-9138-f99709370657
2011-03-24fix warning, use unsigned variableRafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29638 a1c6a512-1295-4272-9138-f99709370657
2011-03-24SD AMSv2: fix r29625Rafaël Carré1-8/+15
The number of blocks could have been checked while the card was not initialized yet. See FS#11870 for details git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29637 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: send 80 idle clocks before sending initial CMD0 (go idle state)Bertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29630 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: receive sd card command responses during initialisation instead of ↵Bertrik Sikken1-6/+5
ignoring them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29629 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: wait for previous data transfer completion before sending a commandBertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29628 a1c6a512-1295-4272-9138-f99709370657
2011-03-21AMSv2 SD: use a sleep instead of a udelay for 100 ms delayBertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29627 a1c6a512-1295-4272-9138-f99709370657
2011-03-20SD AMSv2: fix r29169Rafaël Carré1-6/+6
Restore access to the last AMS_OF_SIZE == 0xF000 sectors of internal drive Mostly visible when using USB (or database?) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29625 a1c6a512-1295-4272-9138-f99709370657
2011-03-20SD amsv2: remove double assignementRafaël Carré1-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29624 a1c6a512-1295-4272-9138-f99709370657
2011-03-20Add another delay in the AMSv2 sd controller driver as a work-around for SD ↵Bertrik Sikken1-1/+7
initialisation problems, see FS#11870 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29619 a1c6a512-1295-4272-9138-f99709370657
2011-03-17No need to save irq again after thread wakeup in queue_wait(_w_tmo), just ↵Michael Sevakis1-2/+2
disable it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29608 a1c6a512-1295-4272-9138-f99709370657
2011-03-16Android: Implement app shutdown and thus, sleep timer.Thomas Martitz2-6/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29602 a1c6a512-1295-4272-9138-f99709370657
2011-03-16Android: Partly revert r29569 and only call the new getJavaEnvironment() ↵Thomas Martitz7-39/+42
when needed. The environment is fine to share in general, just not across OS threads, so it's only needed for functions which are possibly called from multiple OS threads (only 1 currently). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29601 a1c6a512-1295-4272-9138-f99709370657
2011-03-15WM8750/51: properly apply recording gainMarcin Bukat1-33/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29594 a1c6a512-1295-4272-9138-f99709370657
2011-03-15MPIO HD300: Enable line-in recording. Thanks Andriej Azariev for pointing ↵Marcin Bukat2-1/+4
out such capability of this DAP. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29590 a1c6a512-1295-4272-9138-f99709370657
2011-03-14fix redMarcin Bukat2-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29589 a1c6a512-1295-4272-9138-f99709370657
2011-03-14WM8750/51 driver:Marcin Bukat2-50/+74
1) Set prescaler correctly when 3d enhancement in use. 2) Implement sound_val2phys so gains in recording screen are correct. 3) Minor cleanups. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29588 a1c6a512-1295-4272-9138-f99709370657
2011-03-14Listen to and follow external Android volume changes. (Based on FS#11914 by ↵Björn Stenberg4-0/+33
Maurus Cuelenaere) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29586 a1c6a512-1295-4272-9138-f99709370657
2011-03-14slightly modified FS#11531 by me: WM8750/51 driver reworkMarcin Bukat3-285/+331
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29584 a1c6a512-1295-4272-9138-f99709370657
2011-03-13Fix FS#11894 - Sansa Clip+ Volume Buttons don't switch when Upside Down is ↵Bertrik Sikken1-2/+2
activated git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29577 a1c6a512-1295-4272-9138-f99709370657