summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2011-12-08FS#12418 - Merge prototypes from ata-target.h files into new file ↵Boris Gjenero
ata-driver.h. After this change: - ata.h is for users of ata.c - ata-driver.h is for functions implemented by target-specific code and used by ata.c - ata-target.h is for target-specific defines git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31182 a1c6a512-1295-4272-9138-f99709370657
2011-12-08Fix sim errors in r31180.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31181 a1c6a512-1295-4272-9138-f99709370657
2011-12-08AS3525v1/v2:Michael Sevakis
Fix problems with volume of recorded material by converting 14-bit samples to 16-bit. Remove duplicate samples from recorded data and support proper samplerate since ADC runs 1/2 the codec clock. Support monitoring mono on both output channels by feeding data manually to I2SOUT under the right conditions. DMA is no longer used for recording since frames must be processed as described above but it does allow full-duplex audio. Miscellaneous change includes a proper constant (HW_SAMPR_DEFAULT) to reset the hardware samplerate when recording is closed. PP5024 and AS3525 have different default recording rates (22kHz and 44kHz respectively) but both have half-speed ADC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31180 a1c6a512-1295-4272-9138-f99709370657
2011-12-06Fix FS#12423 : Rockbox access to /.rockbox/fonts after usb_enable(true). ↵Boris Gjenero
This fixes entry into USB mode on the Archos Recorder V2 and possibly also other targets using a USB to IDE bridge chip. Fred Bauer found this removes the need for a workaround in glyph_cache_save(). I'm including his patch which removes the workaround. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31155 a1c6a512-1295-4272-9138-f99709370657
2011-12-05Use a macro for aligning PCM chunks instead of explictly coding it each time.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31152 a1c6a512-1295-4272-9138-f99709370657
2011-12-05Try $RBROOT before $HOME when looking for the sdl apps rockbox root dirJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31151 a1c6a512-1295-4272-9138-f99709370657
2011-12-05Sansa Connect: Revise codec initialization/shutdown.Tomasz Moń
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31149 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Don't define str(n,i)cmp(i): we don't use thoseRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31148 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Compile fix for mingw-w64Rafaël Carré
Don't build str(n)casecmp as functions if they are already defined by preprocessor git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31147 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Collect the 16-bit signed range sample clipping routines scattered about, ↵Michael Sevakis
which can be optimized on armv6 and create firmware/export/dsp-util.h (for lack of better place right now). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31142 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Reduce stack allocation for remote screendump. The screendump filename is ↵Frank Gevaerts
generated and known, so we don't need MAX_PATH. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31140 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Power management is to be kept in target tree due to being target specific.Tomasz Moń
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31136 a1c6a512-1295-4272-9138-f99709370657
2011-12-04Sansa Connect: Add TPS65021 (Power Management) driver.Tomasz Moń
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31135 a1c6a512-1295-4272-9138-f99709370657
2011-12-03HDD6330: introduce a new button (BUTTON_TAP), based on the hardware support ↵Szymon Dziok
for gestures. From now on some things are accessible by tapping on the vertical scroll strip. Reorganize, fix and remap some of the keymaps, add missing keymap for the recording. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31132 a1c6a512-1295-4272-9138-f99709370657
2011-12-03lcd-16bit: move lcd_bitmap and lcd_bitmap_transparent to common codeRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31131 a1c6a512-1295-4272-9138-f99709370657
2011-12-03lcd-16bit: move common code to lcd-16bit-common.cRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31130 a1c6a512-1295-4272-9138-f99709370657
2011-12-03lcd_blit_yuv: move to lcd-16bit-common.cRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31129 a1c6a512-1295-4272-9138-f99709370657
2011-12-03Clip Zip: fix yuv playbackRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31128 a1c6a512-1295-4272-9138-f99709370657
2011-12-03lcd_blit_yuv: move from sdl driver to lcd16bit-commonRafaël Carré
Declare as weak, so it can be overridden by targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31127 a1c6a512-1295-4272-9138-f99709370657
2011-12-03imx233: add control for more clocks, add debug clock debug screenAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31121 a1c6a512-1295-4272-9138-f99709370657
2011-12-03Sansa Connect: Fix yellowTomasz Moń
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31120 a1c6a512-1295-4272-9138-f99709370657
2011-12-03Sansa Connect: Fix GIO initialization and screen wakeup.Tomasz Moń
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31119 a1c6a512-1295-4272-9138-f99709370657
2011-12-01Sansa Connect: Make simulator compile. UI-sansaconnect.bmp by Martin ↵Tomasz Moń
Sägmüller (based on press image). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31102 a1c6a512-1295-4272-9138-f99709370657
2011-12-01Address some weaknesses and bugs of buflib_compact() and make the code ↵Thomas Martitz
prettier. Thanks to Boris Gjenero for his great investigation. Flyspray: FS#12409 Author: myself git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31101 a1c6a512-1295-4272-9138-f99709370657
2011-11-30imx233: add power debug screenAmaury Pouly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31100 a1c6a512-1295-4272-9138-f99709370657
2011-11-30fuze+: update keymap and touchpad driver based on FS#12405 with minor ↵Amaury Pouly
modifications. Thanks to Jean-Louis Biasini. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31098 a1c6a512-1295-4272-9138-f99709370657
2011-11-29FS#12412 : Delete old buffer allocation code which has been replaced by ↵Boris Gjenero
core_alloc, and move buffer setup code to core_alloc.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31088 a1c6a512-1295-4272-9138-f99709370657
2011-11-28dm320: call storage idle notifys on in sdmmc threadTomasz Moń
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31086 a1c6a512-1295-4272-9138-f99709370657
2011-11-27If Rockbox never turns off ATA power, don't compile code for turning it back ↵Boris Gjenero
on. Note that ATA power may still need to be turned on when starting, so that code in ata_init() always remains. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31079 a1c6a512-1295-4272-9138-f99709370657
2011-11-27remove stray debugging lineFred Bauer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31078 a1c6a512-1295-4272-9138-f99709370657
2011-11-27Guard font functions against invalid font ids. These arguably should never ↵Frank Gevaerts
be passed, but this prevents freezes. Fixes FS#12400 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31075 a1c6a512-1295-4272-9138-f99709370657
2011-11-27Actually make glyph_cache_save static instead of just claiming it should beFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31074 a1c6a512-1295-4272-9138-f99709370657
2011-11-27glyph_cache_save should be staticFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31073 a1c6a512-1295-4272-9138-f99709370657
2011-11-27PortalPlayer: Loading of stack munge value into r4 was moved in r30741 to ↵Michael Sevakis
after the idle stack init loop, breaking the usage readout. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31068 a1c6a512-1295-4272-9138-f99709370657
2011-11-27Add STORAGE_INIT_ATTR to static ata.c functions that are only called via ↵Boris Gjenero
ata_init(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31067 a1c6a512-1295-4272-9138-f99709370657
2011-11-27In buflib_buffer_shift(), properly update handle->alloc values, which are ↵Boris Gjenero
char * and not union buflib data * git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31066 a1c6a512-1295-4272-9138-f99709370657
2011-11-27Sansa AMSv2 USB: Simplify union around struct usb_ctrlrequest and remove ↵Bertrik Sikken
duplicate alignment attribute git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31065 a1c6a512-1295-4272-9138-f99709370657
2011-11-27AMSv2: remove stray ; from USB_DEVBSS_ATTRRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31064 a1c6a512-1295-4272-9138-f99709370657
2011-11-26Sansa AMSv2: potential USB fix from FS#11664 by funman:Bertrik Sikken
* make sure that the buffer for struct usb_ctrlrequest can fit a full 64-byte packet * align struct usb_ctrlrequest to a cacheline (32-byte alignment) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31063 a1c6a512-1295-4272-9138-f99709370657
2011-11-25fix up font_cache/LRU boundry errors from r30763Fred Bauer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31050 a1c6a512-1295-4272-9138-f99709370657
2011-11-24Fix battery meter on Sansa Connect.Tomasz Moń
Use the battery capacity percents reported by AVR. Internally fake linear voltage scale is used (1 mV = 1%). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31049 a1c6a512-1295-4272-9138-f99709370657
2011-11-22FS#12378 : Removal of Archos HWCODEC unused code and data. Several large ↵Boris Gjenero
hardware-specific functions are kept for reference or future use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31043 a1c6a512-1295-4272-9138-f99709370657
2011-11-22FS#12397 : On targets which load .data directly into its final location and ↵Boris Gjenero
lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31041 a1c6a512-1295-4272-9138-f99709370657
2011-11-20Add INIT_ATTR to storage_init() when possibleRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31036 a1c6a512-1295-4272-9138-f99709370657
2011-11-20Fix typo in commentRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31034 a1c6a512-1295-4272-9138-f99709370657
2011-11-20Fix parameter order in font_load_in_memory(). FS#12395.Fred Bauer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31033 a1c6a512-1295-4272-9138-f99709370657
2011-11-19FS#12293 Global default glyph setting in System > Limits > Glyphs To Cache. ↵Fred Bauer
Defaults to 250. This saves a lot of RAM while still allowing non-English users to have adequate glyph coverage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31031 a1c6a512-1295-4272-9138-f99709370657
2011-11-19Sansa clip zip: increase communication speed with the OLED controllerBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31030 a1c6a512-1295-4272-9138-f99709370657
2011-11-19Sansa clip zip: workaround for wisechip display - always copy an entire ↵Bertrik Sikken
horizontal strip in lcd_update_rect git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31029 a1c6a512-1295-4272-9138-f99709370657
2011-11-19Update some missed pointers when moving the dircache allocationFred Bauer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31028 a1c6a512-1295-4272-9138-f99709370657