summaryrefslogtreecommitdiff
path: root/firmware/export
AgeCommit message (Collapse)Author
2007-06-30Change unsigned long to uint32_t and long to int32_t to fix a crash in Nils Wallménius
64 bit sims. Make a couple of private functions 'static'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13743 a1c6a512-1295-4272-9138-f99709370657
2007-06-30Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis
some tweaks. All testers have given the green light. (Now for the RED ?? ;). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
2007-06-29Shutdown and powermanagement cleanup: * Use the proper function for ↵Jens Arnold
determining whether the battery level is safe, and get rid of the extra one. Low battery warning now appears at 10% or less. * Don't delay shutdown artificially by 3 seconds due to low/critical battery warning. * Shutdown at critical battery level: Skip all disk-hitting housekeeping, make sure dircache stops, and don't mark disk as clean in eeprom. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13734 a1c6a512-1295-4272-9138-f99709370657
2007-06-28FS#7361 by Rhino Tanga: Move the id3 tag buffer size into a #defineNicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13730 a1c6a512-1295-4272-9138-f99709370657
2007-06-25current_tick really does need to be volatile since gcc can optimize away ↵Michael Sevakis
checking the value otherwise - found out the hard way. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13715 a1c6a512-1295-4272-9138-f99709370657
2007-06-22Fix FS#7336 - scrolling lines don't stay coloured.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13682 a1c6a512-1295-4272-9138-f99709370657
2007-06-17Give color targets the ability to display each LCD line a different color ↵Brandon Low
and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
2007-06-17add missing defineMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13650 a1c6a512-1295-4272-9138-f99709370657
2007-06-17PP5024 (e200): There's more than one HI IRQ bit for enabling GPIO IRQs. Port ↵Michael Sevakis
A uses bit 32 and port F,H use bit 33. Please add futher GPIOx_IRQ/MASK defines and associations to pp5024.h as they are discovered. I guess the SD card patch will need a small update to properly detect insertion. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13647 a1c6a512-1295-4272-9138-f99709370657
2007-06-13Accept FS#7264 'Build with -Os switch for coldfire targets'.Nils Wallménius
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers functions to a plugin to make plugins link correctly when gcc calls mem* functions directly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
2007-06-13fix redChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13623 a1c6a512-1295-4272-9138-f99709370657
2007-06-13* changed pararmeter of audiohw_mute from int to boolChristian Gmeiner
* unification of init and close NOTE: audiohw_init is a void function now, because it never (can) fail okay from JdGordon@irc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13622 a1c6a512-1295-4272-9138-f99709370657
2007-06-11some little more work on audio codec driver unification - more will followChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13620 a1c6a512-1295-4272-9138-f99709370657
2007-06-08Straighten out some audio path APIs and misc. audio stuff. Having recording ↵Michael Sevakis
is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657
2007-06-06Assumption about there being MPEG1-only samplerates available and therefore ↵Michael Sevakis
MPEG1-only bitrates for recording is no longer valid. Fix that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13579 a1c6a512-1295-4272-9138-f99709370657
2007-06-06Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed ↵Michael Sevakis
integration work into recording and the AS3514 audio driver. Do a little AS3514 fiq_record tweak to have it all work nicely from the start. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13573 a1c6a512-1295-4272-9138-f99709370657
2007-06-05Initial commit of Monkey's Audio (.ape/.mac) support. Note that Monkey's is ↵Dave Chapman
an extremely CPU-intensive codec, and that the decoding speed is directly related to the compression level (-c1000, -c2000, -c3000, -c4000 or -c5000) used when encoding the file. Current performance is: -c1000 to -c3000 are realtime on a Gigabeat, -c1000 is realtime on Coldfire targets (H100, H300 and Cowon), and nothing is realtime on PortalPlayer targets (iPods, H10, Sansa). Hopefully this can be improved. More information at FS #7256. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13562 a1c6a512-1295-4272-9138-f99709370657
2007-06-05e200: Add recording. Just from MIC right now and FM integration will happen ↵Michael Sevakis
soon. Most every bit of weirdness is nescessary and no problems seem to exist that the retailos doesn't exhibit too (namely noise when LCD is on when recording from MIC). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13557 a1c6a512-1295-4272-9138-f99709370657
2007-06-04Bring back rolo for mi4-based targets (H10 and Sansa).Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
2007-06-03e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 ↵Michael Sevakis
afterall and verified independently. There shouldn't now be a need to add tick tasks to monitor GPIO level status in other code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13538 a1c6a512-1295-4272-9138-f99709370657
2007-05-30Revert changes to id3.h, removing those members from the struct made binsize ↵Nils Wallménius
increase almost 1KB on some targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13528 a1c6a512-1295-4272-9138-f99709370657
2007-05-30Remove unused struct members and ifdef some for SWCODECNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13527 a1c6a512-1295-4272-9138-f99709370657
2007-05-28Accept FS#7228 by Dagni McPhee enable pitchscreen on sansaNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13505 a1c6a512-1295-4272-9138-f99709370657
2007-05-23ATA driver: * Support for drives with large physical sectors and no support ↵Jens Arnold
for partial access in the firmware (i.e. Toshiba MK8010GAH - iPod G5.5/80GB). Sequential writes with a single 512-byte buffer to that disk are really slow, so this is an intermediate solution that allows to adjust the FAT driver and the file system gradually. * Assume multisectors = 16 if the value reported by the drive is invalid (also MK8010GAH). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13480 a1c6a512-1295-4272-9138-f99709370657
2007-05-22make audiohw.h include the DAC header filesMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13473 a1c6a512-1295-4272-9138-f99709370657
2007-05-22red freeChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13466 a1c6a512-1295-4272-9138-f99709370657
2007-05-22* move audio settings into audio codec driversChristian Gmeiner
* add mas35xx driver for all mas35xx targets. Later mas35xx code from sound.c will move to this new driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13464 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Use bitmasks to define which inputs are available. Makes it easier to remove ↵Michael Sevakis
old assumptions of which are available. Inspired by e200 being unique in having FM Radio and Mic but no Line. Doesn't remove the assumption that Mic is available or that one of Mic and/or Line is available just to avoid excessive #ifdef'ing until needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13448 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Increase sansa volume range at the lower end. This seems to be necessary Antonius Hellmann
now after the audio improvement: -40.5dB ... +6dB => -73.5 ... +6dB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13447 a1c6a512-1295-4272-9138-f99709370657
2007-05-17Change i2c config on e200. Seems to speed things up somewhat.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13403 a1c6a512-1295-4272-9138-f99709370657
2007-05-15Make it possible to select the correct battery capacity on ipod video, ↵Nils Wallménius
default is the 30GB models 400mAh, discharge curve and runtime estimation is still no calibrated. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13395 a1c6a512-1295-4272-9138-f99709370657
2007-05-15Gigabeat LCD driver cleanup: Revert the DMA optimisations to the gigabeat ↵Dave Chapman
LCD driver - they are both buggy (the wrong background colour was often seen, e.g. in the USB screen after using a plugin) and significantly slower than the standard implementations (which use the ARM-optimised mem* functions) in lcd-16bit.c. lcd_clear_update was 4.5 times slower with DMA when a backdrop is in use, and 12 times slower with DMA when no backdrop is in use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13392 a1c6a512-1295-4272-9138-f99709370657
2007-05-12Messages queues must be guarded on both ends or else it's a race between ↵Michael Sevakis
detecting a message present and missing a wakeup on thread about to wait. Keeping IRQs from interacting with the scheduler would be preferable but this should do at the moment. Add more detailed panic info regarding blocking violations so we know who. Make panicf function well enough on Gigabeat and PortalPlayer targets. Move the core sleep instructions into a CPU-specific inline to keep thing organized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13374 a1c6a512-1295-4272-9138-f99709370657
2007-05-11GPIO IRQ ready button driver for e200 series. Can't actually use them yet ↵Michael Sevakis
but their status is polled. Easy to switch over once that works. Cheapo acceleration added or else it would be too fast for selecting items. Too much scrolling might cause the PCM buffer to empty out - beware. ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13371 a1c6a512-1295-4272-9138-f99709370657
2007-05-08Add in buttonlight brightness setting for the Gigabeat, and setup the ↵Karl Kurbjun
framework for future players that have adjustable button light brightness settings. Also fixed a bug in the backlight code when the brightness was set to 0. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13356 a1c6a512-1295-4272-9138-f99709370657
2007-05-07Basic gigabeat buttonlight support outside of debug menu FS#7112. Also ↵Karl Kurbjun
disables USB PLL and the USB device clock (uneeded to connect to computer) - May offer some power savings. Changed how some pins are initialized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13346 a1c6a512-1295-4272-9138-f99709370657
2007-05-04Default HW_SAMPR_CAPS should be SAMPR_CAP_44, not 0.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13323 a1c6a512-1295-4272-9138-f99709370657
2007-05-04Gigabeat: Remove the 8kHz for now because it doesn't seem to work too well. ↵Michael Sevakis
Also, HW_SAMPR_CAPS should always be defined for sim and target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13321 a1c6a512-1295-4272-9138-f99709370657
2007-05-03No more ear doctor visits after powering/unpowering the Gigabeat. Cleanup a ↵Michael Sevakis
little too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13312 a1c6a512-1295-4272-9138-f99709370657
2007-05-02Gigabeat: Separate driver for audio codec. Tweak pcm driver to comply with ↵Michael Sevakis
intended interface. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13307 a1c6a512-1295-4272-9138-f99709370657
2007-04-25Add backdrop support for LCD remotes with depth > 1-bit. Only WPS backdrops, ↵Nicolas Pennequin
but the groundwork is laid for main backdrops too (all that's really needed are menus to set/clear them). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13263 a1c6a512-1295-4272-9138-f99709370657
2007-04-25Make recording complain about every little file I/O problem (error on ↵Michael Sevakis
close() failure and fsync() failure). Why? I guess we will find out the disk is full about 1/2 sector sooner on average when the file APIs actually detect this correctly. :/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13262 a1c6a512-1295-4272-9138-f99709370657
2007-04-23FS#7036: Power saving improvements for Sansa. Shutdown LCD controller when ↵Barry Wardell
backlight is off and shutdown ATA controller when the disk isn't being accessed. Frequency scaling is not enabled yet as it was apparently causing some problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13250 a1c6a512-1295-4272-9138-f99709370657
2007-04-22e200: Make the wheel light timeout configurable (under settings > system) ↵Jonathan Gordon
(FS#7067) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13244 a1c6a512-1295-4272-9138-f99709370657
2007-04-22Fix some very probable typo's.Barry Wardell
CPU_INT_STAT is at 0x60004000, not 0x64004000. CPU_HI_INT_STAT is at 0x60004100, not 0x64004100. Fix wrong IRQ CLR addresses being used by system_init(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13238 a1c6a512-1295-4272-9138-f99709370657
2007-04-21Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and ↵Karl Kurbjun
myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
2007-04-16Customizable icons for all bitmap targets. (FS#7013)Jonathan Gordon
http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657
2007-04-15Moved SH1 ADC to target tree.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13174 a1c6a512-1295-4272-9138-f99709370657
2007-04-15adapt some valuesChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13167 a1c6a512-1295-4272-9138-f99709370657
2007-04-15* save more power, as we dont need the mixer (yet)Christian Gmeiner
* clean up headers and other clean ups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13166 a1c6a512-1295-4272-9138-f99709370657