summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2009-08-11rework new time handling functions a bit to be more memory efficientFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22257 a1c6a512-1295-4272-9138-f99709370657
2009-08-11Fix "statement with no effect" warningFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22256 a1c6a512-1295-4272-9138-f99709370657
2009-08-11Add support for setting the clock using a special SCSI command. This is the ↵Frank Gevaerts
same method that itunes uses, and there are host-side tools for it (e.g. libgpod) Flyspray: FS#10514 Author: Laurent Papier and myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22255 a1c6a512-1295-4272-9138-f99709370657
2009-08-11Fix logf() multilines handlingRafaël Carré
Each line (of MAX_LOGF_ENTRY characters) would be marked with LOGF_TERMINATE_CONTINUE_LINE, but still be padded with a '\0' This also reverts r22250 which worked around the problem in logfdump() Flyspray: FS#10513 Author: Amaury Pouly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22253 a1c6a512-1295-4272-9138-f99709370657
2009-08-11Sansa AMS: identify interrupts with no source setRafaël Carré
They would previously appear like coming from the (disabled) watchdog module git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22251 a1c6a512-1295-4272-9138-f99709370657
2009-08-11FS#10506. Don't compile various crossfade only functions in pcmbuf.c on low ↵Michael Giacomelli
memory targets (mainly AMS) to save memory. Some crossfade related items remain in the code, but they're not worth cluttering the code with ifdefs over. Also, introduce HAVE_CROSSFADE define for neatness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22248 a1c6a512-1295-4272-9138-f99709370657
2009-08-10Remove the comment also, Thanks to Rafaël Carré for spotting.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22245 a1c6a512-1295-4272-9138-f99709370657
2009-08-10Fix FS#10486 - "fuze screen not drawn correctly on backlight turn-on if ↵Thomas Martitz
playlist ends while the backlight is off" by adding a lcd_update() to lcd_enable() as other targets do. Remove the delay as it seems unneeded nowadays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22244 a1c6a512-1295-4272-9138-f99709370657
2009-08-10Fix yellows (the reds on mono are caused by this, again, stupid typo).Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22243 a1c6a512-1295-4272-9138-f99709370657
2009-08-10panicf: Clear backdrop and print with black font on white background to ↵Thomas Martitz
prevent possible difficulties with reading it (especially on cabbiev2). Also start printing in the second row and column. This fixes the second part of FS#10503 - "Menu and WPS backdrop not cleared when shutting down or during panic" (the first part is not a bug imo), git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22242 a1c6a512-1295-4272-9138-f99709370657
2009-08-10M:Robe 500: Get MPEGPlayer running at 320x240. Screen is zoomed so larger ↵Karl Kurbjun
videos than 320x240 will only show center. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22233 a1c6a512-1295-4272-9138-f99709370657
2009-08-09Samsung YP-S3: add beginning of a low-level NAND driver and update ↵Bertrik Sikken
bootloader demo program to display the NAND ids. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22221 a1c6a512-1295-4272-9138-f99709370657
2009-08-09Fix ZVMKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22218 a1c6a512-1295-4272-9138-f99709370657
2009-08-09M:Robe 500: Start Building at 640x480 by default.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22216 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-08-08Samsung yp-s3: clean up the lcd and button driver (making things static, ↵Bertrik Sikken
rename variables etc.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22203 a1c6a512-1295-4272-9138-f99709370657
2009-08-07Samsung YH925: Battery calibration for charging and dischharging.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22195 a1c6a512-1295-4272-9138-f99709370657
2009-08-07Samsung YH925: Support for battery monitoring and charging. Discharge curve ↵Thomas Martitz
not yet calibrated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22194 a1c6a512-1295-4272-9138-f99709370657
2009-08-06Revert static-ing of iim_prod_rev, this function is never used so it causes ↵Bertrik Sikken
a compiler warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22185 a1c6a512-1295-4272-9138-f99709370657
2009-08-06Various files: make functions static if they're local or make sure there is ↵Bertrik Sikken
a proper #include if not git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
2009-08-05Samsung YP-S3: allow player to stay powered up without the USB cable plugged ↵Bertrik Sikken
and implement power_off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22175 a1c6a512-1295-4272-9138-f99709370657
2009-08-04Fix for:Thomas Martitz
FS#10031 - "improper sorting of names with underscores when Interpret numbers when sorting is used" and FS#10200 - "Incorrect sorting of roman numerals when whole numbers selected" a) By using tolower instead of toupper for case-insensitive sorting b) By not ignoring spaces (which isn't really what we aimed for anyway). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22153 a1c6a512-1295-4272-9138-f99709370657
2009-08-03Samsung YP-S3: update bootloader demo app with test code for the wmcodec ↵Bertrik Sikken
(volume control of fm radio) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22138 a1c6a512-1295-4272-9138-f99709370657
2009-08-03Remove various ABS() definitions with a single one using typeof (if using ↵Thomas Martitz
gcc) to avoid multiple evaluations of the input expressions. Speex still uses its own as I didn't want to change this imported code too much. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22129 a1c6a512-1295-4272-9138-f99709370657
2009-08-02Samsung YP-S3: update backlight brightness curve again (can't go all the way ↵Bertrik Sikken
down to 1/256 brightness) and update yp-s3 bootloader demo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22117 a1c6a512-1295-4272-9138-f99709370657
2009-08-02Pluginlib: Add support for general buttons. Add menu and quit buttons to ↵Karl Kurbjun
Reversi. MRobe 500: Modify touch handler to return the previous data always rather than 0 when there is no touch. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22110 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Fix red: only use SW_VOLUME_MIN if HAVE_SW_VOLUME_CONTROL is definedMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22107 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 * Move DSP_CALLBACK_* enum to sound.hMaurus Cuelenaere
* Add software based volume control for a certain range (SW_VOLUME_MIN -> SW_VOLUME_MAX) * Make Onda VX747 use it * Don't change volume or frequency in Ingenic Jz4740 codec driver when they're already set git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22106 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Samsung YP-S3: update backlight brightness curve so backlight is still on at ↵Bertrik Sikken
the minimum brightness setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22103 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Meizu: update backlight brightness curve so backlight is still on at the ↵Bertrik Sikken
minimum brightness setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22102 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Philips SA9200: initialize i2c, i2s, and as3514 as the OF does. Fixes ↵Mark Arigo
clicks/pops heard when reading the adc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22101 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Samsung YP-S3: implement button lightsBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22100 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Samsung YP-S3: implement headphones detectionBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22099 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Ingenic Jz4740 timer driver: fix stupid mistakeMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22096 a1c6a512-1295-4272-9138-f99709370657
2009-08-01M:Robe 500/M66591: Add support for full-speed USB transfers, and fix the ↵Karl Kurbjun
UART interrupt clearing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22095 a1c6a512-1295-4272-9138-f99709370657
2009-08-01Samsung YP-S3: implement button driver for the touch keys (and the ↵Bertrik Sikken
hold/power switch) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22093 a1c6a512-1295-4272-9138-f99709370657
2009-07-30Meizu M3: check LCD_STATUS in the lcd driver instead of using delay loopsBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22090 a1c6a512-1295-4272-9138-f99709370657
2009-07-29Start of a Rockbox port to the Samsung YP-S3.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29Onda VX7x7: fix error when compiling with USB_BOOT definedMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22080 a1c6a512-1295-4272-9138-f99709370657
2009-07-29Fix FS#5230 - reinit the opto-i2c after disabling hold so the buttons work againJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22078 a1c6a512-1295-4272-9138-f99709370657
2009-07-27Meizu: fix mask for GPIO function selection used for fmradioBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22076 a1c6a512-1295-4272-9138-f99709370657
2009-07-27Jz4740 timer driver: only init timer in timer_set() when start is trueMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22075 a1c6a512-1295-4272-9138-f99709370657
2009-07-27Jz4740 PCM driver: do 32-bit or 16-bit burst sizes if 16-byte ones won't fit ↵Maurus Cuelenaere
(improves PDBox) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22074 a1c6a512-1295-4272-9138-f99709370657
2009-07-27Jz4740 PCM driver: check whether pcm_callback_for_more isn't NULL (fixes ↵Maurus Cuelenaere
metronome) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22072 a1c6a512-1295-4272-9138-f99709370657
2009-07-26Re-work D2 power off behaviour.Rob Purchase
* Inhibit PCF timeout during shutdown and while charging * Power off the player using the same mechanism as the OF (GPIO) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22056 a1c6a512-1295-4272-9138-f99709370657
2009-07-26initial commit of remote support for m:robe 100 courtesy of lowlight; ↵Robert Kukla
simulator support including small fixes for the m:robe 500 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
2009-07-26Ingenic Jz4740 targets: turn backlight on when an exception occurs and ↵Maurus Cuelenaere
EXTENDED_EXCEPTION_DESC is defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22052 a1c6a512-1295-4272-9138-f99709370657
2009-07-26Onda VX747: don't fully init the LCD when not doing an USB_BOOT compile ↵Maurus Cuelenaere
(fixes flashes when booting up) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22051 a1c6a512-1295-4272-9138-f99709370657
2009-07-25D2: Fix the POWER button check after an exception/panic. Make this power the ↵Rob Purchase
player off, since we don't know how to force a reboot yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22036 a1c6a512-1295-4272-9138-f99709370657
2009-07-25Revert r22034 since the backlight handling functions are not consistently ↵Rob Purchase
named between targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22035 a1c6a512-1295-4272-9138-f99709370657