summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-01-16SD driver cleanup by Thomas Martitz. Removes various magic numbers in favor ↵Michael Giacomelli
of defines, increases a timeout in hopes of improving support for various SD cards, adds descriptive panic messages, and adds volatile were needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19774 a1c6a512-1295-4272-9138-f99709370657
2009-01-14Do penance. Fix yellow.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19769 a1c6a512-1295-4272-9138-f99709370657
2009-01-14Gigabeat S has no need for a USB tick. Put in a simple framework that allows ↵Michael Sevakis
USB monitoring by event. Also add a couple missed usb_enable calls when the connection is not for 'slave mode'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19768 a1c6a512-1295-4272-9138-f99709370657
2009-01-13Fixed broken boost on AMS.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19766 a1c6a512-1295-4272-9138-f99709370657
2009-01-13Fix more red. Missed one other place it needed #ifdef HAVE_USB_POWER.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19764 a1c6a512-1295-4272-9138-f99709370657
2009-01-13Fix red. Forgot to add a #ifdef HAVE_USB_POWER in one spot.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19763 a1c6a512-1295-4272-9138-f99709370657
2009-01-13USB retweaking: Take out the USB_REQUEST/RELEASE_DISK scheme and simply ask ↵Michael Sevakis
the USB core whether or not any drivers require exclusive access at the moment of connect. Doing anthing else just produces nasty effects on Windows because it expects some communication just for enabling the PHY and not allowing it to mount volumes if a thread doesn't ack causes annoying error message boxes. Make behavior of each USB type identical from the system perspective. Some miscellaneous changes (simplify, ata->storage naming, define only used USB_* enums values were possible). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19762 a1c6a512-1295-4272-9138-f99709370657
2009-01-13Reverting parts of r19760 that was mistakenly committed.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19761 a1c6a512-1295-4272-9138-f99709370657
2009-01-13Minor Clip button changes: UP|REPEAT no longer goes to wps. Volume ↵Björn Stenberg
adjustment activated in list + tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19760 a1c6a512-1295-4272-9138-f99709370657
2009-01-13support pixel aspect ratio compensation in recalc_dimension, with PAR ↵Andrew Mahone
defined as 1:1 by default, and set to 4:5 for archos bitmap targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19759 a1c6a512-1295-4272-9138-f99709370657
2009-01-13remove align_buffer from firmare/general.c, replacing with ALIGN_BUFFER ↵Andrew Mahone
macro, and replace all uses of it (only resize.c in core, and pictureflow and mpegplayer plugins), remove it from plugin_api, and remove wrapper for it from plugin.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19758 a1c6a512-1295-4272-9138-f99709370657
2009-01-13Make the power button actually power off the Philips HDD1630Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19757 a1c6a512-1295-4272-9138-f99709370657
2009-01-12improve handling of unimplemented commandsFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19755 a1c6a512-1295-4272-9138-f99709370657
2009-01-12Onda VX7x7: commit working USB driverMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19754 a1c6a512-1295-4272-9138-f99709370657
2009-01-12Fix FS#9782 - lcd_bitmap_transparent_part clipping but keep smaller clipping ↵Michael Sevakis
code. The bitmap coordinates were not being adjusted when clipping left and top. Also fix for Gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19752 a1c6a512-1295-4272-9138-f99709370657
2009-01-11Remove tabs.Antoine Cellerier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19749 a1c6a512-1295-4272-9138-f99709370657
2009-01-11c200v1/e200v1: Add battery charging. This should be usable on v2 players but ↵Michael Sevakis
those should be evaluated for current, endpoint voltage and whether or not accurate battery readings may always be obtained (which determines algorithm setup and behavior). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19748 a1c6a512-1295-4272-9138-f99709370657
2009-01-10Dual boot for the Philips HDD1630.Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19741 a1c6a512-1295-4272-9138-f99709370657
2009-01-10Gigabeat S: Make sure USB battery maintenece is engaged if fully charged ↵Michael Sevakis
from Main (charger off), USB is configured and Main is unplugged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19740 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Replace some nasty hard-coded offsets with labelsDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19730 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Fix red.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19717 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Clean up panicf and introduce system_exception_wait to do further target ↵Michael Sevakis
tasks and wait for a button when an unrecoverable error has occurred (panic, UIE, etc.). Returning from that function should reboot or don't return from it. Move UIE and __div0 for ARM to its own file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19716 a1c6a512-1295-4272-9138-f99709370657
2009-01-08Sansa AMS : use SD controller status to notify end of data transferRafaël Carré
Retry blocks transfer if a problem happened Remove unneeded blocking API from DMA code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19714 a1c6a512-1295-4272-9138-f99709370657
2009-01-08AS3514: Simplify as there isn't a need to track the current source and sync ↵Michael Sevakis
mixer levels. Gang them when adjusting volume. Any inputs not currently in use will be muted or off anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19713 a1c6a512-1295-4272-9138-f99709370657
2009-01-07Removed the sim_ prefix from the plugin api.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
2009-01-05Unless I'm severely mistaken, we can drop a thread slot now since mpegplayer ↵Michael Sevakis
creates one less thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19686 a1c6a512-1295-4272-9138-f99709370657
2009-01-05redo how the statusbar updates are done. send the EVENT_GUI_ACTIONUPDATE ↵Jonathan Gordon
event every time get_action() is called. The event wont be as realiable (timewise) as before, but seems to work better This also fixes FS#9761. Also set the lcd font back to the ui font from the debug screens which use sysfont git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19681 a1c6a512-1295-4272-9138-f99709370657
2009-01-05Update copyright headers for 2009 since they're new files.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19677 a1c6a512-1295-4272-9138-f99709370657
2009-01-05Gigabeat S: Get timer API working. metronome will work now.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19676 a1c6a512-1295-4272-9138-f99709370657
2009-01-04Group source files common to all current as3525 targets under '#if ↵Bertrik Sikken
CONFIG_CPU == AS3525'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19668 a1c6a512-1295-4272-9138-f99709370657
2009-01-03Gigabeat S: Ensure a few more clocks are stopped for things we aren't using ↵Michael Sevakis
at the moment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19654 a1c6a512-1295-4272-9138-f99709370657
2009-01-02static/const/#include/tab police on various filesBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19643 a1c6a512-1295-4272-9138-f99709370657
2009-01-02Speed up Player build a bit by not building a useless sysfont.o.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19642 a1c6a512-1295-4272-9138-f99709370657
2009-01-02Small binsize optimization and likely a tiny speedup tooNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19641 a1c6a512-1295-4272-9138-f99709370657
2009-01-02Add very rough battery life estimateion for iPod minis. Also, update ↵Michael Giacomelli
Sansav1 estimation while I'm at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19637 a1c6a512-1295-4272-9138-f99709370657
2009-01-01Fix (USB) serial logf()Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19634 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Updated Fuze button code. FS#9645 by Thomas Martitz.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19629 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Ingenic Jz4740:Maurus Cuelenaere
* Fix compiling * More USB work git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19628 a1c6a512-1295-4272-9138-f99709370657
2008-12-31correct wrong logfFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19627 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Fix off-by-oneMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19626 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Commit FS#9733 (multiline logf) by Yoshihisa UchidaMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19625 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Decouple the statusbar drawing from the rest of the screen drawing. it is ↵Jonathan Gordon
not drawn roughly 4x per second automatically. viewport_Set_defaults() will setup the given viewport with the correct "full screen" dimensions (so start at 0,0 if statusbars are disabled or 0,8 if they are enabled.) All screens should keep the statusbar enabled, but if you really want to ignore the user setting you can disbaled it with viewportmanager_set_statusbar(false). This commit also includes some menu/list viewport cleanups from kugel in FS#9603 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19622 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Ingenic Jz4740:Maurus Cuelenaere
* Clean up header file a bit * Add information about the IPU * Add original license * Add Ingenic Media Extension Instruction Set header file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19621 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Hehe. Broke it already in last-second sanitation. Put some bits back.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19620 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Gigabeat S: Allow recording from FM. Give FM the same volume range as ↵Michael Sevakis
playback. NOTE: This bumps the si4700 output volume to -0dB so other players with that may need a minor adjustment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19619 a1c6a512-1295-4272-9138-f99709370657
2008-12-31Ingenic players:Maurus Cuelenaere
* Further implement USB driver * Add preliminary clock setup * Fix USB VID/PID git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19618 a1c6a512-1295-4272-9138-f99709370657
2008-12-30Implemented system_reboot().Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19617 a1c6a512-1295-4272-9138-f99709370657
2008-12-30Fixed m200v4 red build.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19616 a1c6a512-1295-4272-9138-f99709370657
2008-12-30Cleaner usb detection.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19615 a1c6a512-1295-4272-9138-f99709370657
2008-12-29Added usb_detect() for Clip, Fuze, E200v2 and C200v2.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19614 a1c6a512-1295-4272-9138-f99709370657