summaryrefslogtreecommitdiff
path: root/firmware/export (follow)
Commit message (Collapse)AuthorAge
...
* tcc77x targets: various minor cleanupsBertrik Sikken2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27913 a1c6a512-1295-4272-9138-f99709370657
* change get_glyph_size() to font_glyphs_to_bufsize(). fixes a bug when font ↵Fred Bauer2010-08-27
| | | | | | glyph buffer < font header git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27911 a1c6a512-1295-4272-9138-f99709370657
* Use system headers a bit more: use host's fcntl.h for O_RDONLY etc.Thomas Martitz2010-08-27
| | | | | | | | Removes the need to fix up those in the simulator. Also work around some posix-mingw incompatibilities (e.g. getcwd()). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27904 a1c6a512-1295-4272-9138-f99709370657
* 2nd try: Introduce a small api for loading code (codecs,plugins) from ↵Thomas Martitz2010-08-27
| | | | | | | | | | disk/memory. It's a used by codec/plugin loading and vastly reduces code duplication. It's also a step forward in getting rid of libuisimulator in the application ports. Apparently sh needs linker symbols prefixed with _ even if they're referenced without from C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27902 a1c6a512-1295-4272-9138-f99709370657
* Revert "Introduce a small api for loading code (codecs,plugins) from ↵Thomas Martitz2010-08-27
| | | | | | | | disk/memory." I don't understand the build error at all, plugin_bss_start is clearly defined in plugin.lds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27901 a1c6a512-1295-4272-9138-f99709370657
* Introduce a small api for loading code (codecs,plugins) from disk/memory.Thomas Martitz2010-08-26
| | | | | | It's a used by codec/plugin loading and vastly reduces code duplication. It's also a step forward in getting rid of libuisimulator in the application ports. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27900 a1c6a512-1295-4272-9138-f99709370657
* Move to a proper sdl key config instead of using the d2 pad. make the mouse ↵Jonathan Gordon2010-08-26
| | | | | | wheel work, middle click is "select" and right click is "back" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27891 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#11567 by Fred Bauer - better memory management for the skin fontsJonathan Gordon2010-08-25
| | | | | | %Fl now takes an optional 3rd param which is the number of glyphs to cache (default to 256). the smaller the number, the less ram will be used (i.e using 15 for a font which only shown numbers is a good idea) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27882 a1c6a512-1295-4272-9138-f99709370657
* ipod fm remote: some static/const fixes from FS #11266 by meBertrik Sikken2010-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27867 a1c6a512-1295-4272-9138-f99709370657
* Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G.Marcin Bukat2010-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27865 a1c6a512-1295-4272-9138-f99709370657
* Enable wheel acceleration and repeats for iPod 1st/2nd Gen, using the same ↵Jens Arnold2010-08-20
| | | | | | settings as on iPod 3rd Gen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27849 a1c6a512-1295-4272-9138-f99709370657
* Android port: add support for hardware keysMaurus Cuelenaere2010-08-16
| | | | | | | * Forward Java KeyEvents to C layer and translate them to Rockbox BUTTON_*. * Add a basic Android keymap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27832 a1c6a512-1295-4272-9138-f99709370657
* Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this ↵Thomas Martitz2010-08-12
| | | | | | and a bit further cleanup in main gets rid of a warning when compiling for android. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
* Fix red: Revert the const correctness part, which opened a can of worms.Michael Sparmann2010-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27780 a1c6a512-1295-4272-9138-f99709370657
* emBIOS backports part one: Fix an annoying race condition in the Synopsys ↵Michael Sparmann2010-08-12
| | | | | | OTG driver, and a bit of const correctness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27779 a1c6a512-1295-4272-9138-f99709370657
* Delete useless #ifndef #endif pair.Nils Wallménius2010-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27771 a1c6a512-1295-4272-9138-f99709370657
* Android port: handle incoming calls.Thomas Martitz2010-08-07
| | | | | | Stop explicitely if a call comes in, and resume playback (if it was playing before the call) upon hang up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27746 a1c6a512-1295-4272-9138-f99709370657
* Implement HAVE_LCD_ENABLE and lcd_update_rect(). When Rockbox runs in the ↵Thomas Martitz2010-08-04
| | | | | | | | | | | background this greatly reduces CPU load. lcd_update_rect shoves a bit as well. CPU usage with Rockbox in background is between 3% (with a 200kbps vbr mp3) and 12% (320kbps cbr mp3), so it's low but still dependent on codecs and even particular files. Driving a WPS with peakmeter, e.g. the builtin one, adds about 30% cpu usage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27689 a1c6a512-1295-4272-9138-f99709370657
* android: declare audiohw_set_volume()Rafaël Carré2010-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27681 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Commit current Android port progress.Thomas Martitz2010-08-02
| | | | | | | | | | | | | | | | General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too). Problems: - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now. - no cabbiev2 (only some preliminary files for it), no other default theme. - screen flickers sometimes if the updates are too frequent - no multi screen apk/package - strange behavior when a phone call comes in The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder. I've put a small README in there for instructions. There are some steps needed after the make part, which are described there, and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: add get_user_file_path().Thomas Martitz2010-08-01
| | | | | | | | | | | For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox). This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local. On the DAPs it's a no-op, returing /.rockbox directly. Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
* Fix condition for compiling audiohw_set_monitor (should fix red)Bertrik Sikken2010-07-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27638 a1c6a512-1295-4272-9138-f99709370657
* Add optional CURRENT_ATA in runcurrent(). On MPIO HD200 powering ata takes ↵Marcin Bukat2010-07-27
| | | | | | ~100mA which is sagnificant contribution to the total power consumption. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27589 a1c6a512-1295-4272-9138-f99709370657
* HD200: comment out CURRENT_REMOTE as remote doesn't draw additional current ↵Marcin Bukat2010-07-27
| | | | | | (no lcd) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27588 a1c6a512-1295-4272-9138-f99709370657
* WM8750 - add ALC and NGAT related low level functions (disabled now by default)Marcin Bukat2010-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27587 a1c6a512-1295-4272-9138-f99709370657
* FM tuner region code cleanup - FS #11492 by me.Bertrik Sikken2010-07-26
| | | | | | | This removes the tuner-specific region structs and makes each driver use the common one (which is now extended with a deemphasis field) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27579 a1c6a512-1295-4272-9138-f99709370657
* bootchart.h doesn't need _ansi.h, especially not in a relative pathRafaël Carré2010-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27553 a1c6a512-1295-4272-9138-f99709370657
* Move some gcc extensions to new gcc_extensions.h headerRafaël Carré2010-07-25
| | | | | | | | | | | | - Move ATTRIBUTE_PRINTF/ATTRIBUTE_SCANF from _ansi.h They are not related at all to this file, and this broke compilation with Code Sourcery GCC which ships its own _ansi.h - Move LIKELY/UNLIKELY from system.h There is likely a lot more GCC extensions used everywhere in the source, conditionally on __GNUC__ or unconditionally git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27548 a1c6a512-1295-4272-9138-f99709370657
* Define CONFIG_REMOTE_KEYPAD for iaudio x5/m5 and add a keymap for that ↵Nils Wallménius2010-07-23
| | | | | | remote to the logo plugin. Fixes a warning when building with gcc 4.4.4. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27533 a1c6a512-1295-4272-9138-f99709370657
* CCU_BASE+0x20 is specific to AMSv2 -> move to as3525v2.hRafaël Carré2010-07-22
| | | | | | Rename to simply 'CCU_USB' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27518 a1c6a512-1295-4272-9138-f99709370657
* The new Fuzev2 use the same FM chip than some Clip+Rafaël Carré2010-07-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27502 a1c6a512-1295-4272-9138-f99709370657
* AB_REPEAT_ENABLE was never defined to 2Rafaël Carré2010-07-18
| | | | | | There's only 2 possibilities: defined or undefined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27483 a1c6a512-1295-4272-9138-f99709370657
* Don't duplicate byteswap code. Invent system where NEED_GENERIC_BYTESWAPS is ↵Nils Wallménius2010-07-15
| | | | | | set if the generic functions from system.h are needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27440 a1c6a512-1295-4272-9138-f99709370657
* HD200 - calibrate battery indicator based on measurements and battery_benchesMarcin Bukat2010-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27350 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Add an 320x240 SDL application target.Thomas Martitz2010-07-06
| | | | | | | It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR. It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
* hdd6330: change the synaptics-mep driver in a few places according to the ↵Szymon Dziok2010-07-04
| | | | | | touchpad behavior. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27273 a1c6a512-1295-4272-9138-f99709370657
* HD200 - Setup codec as I2S master and enable recordingMarcin Bukat2010-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27250 a1c6a512-1295-4272-9138-f99709370657
* Remove atomic register bit manipulation functions from i.MX and s3c target ↵Michael Sevakis2010-06-30
| | | | | | code and introduce generic functions for ARM (bitmod32, bitset32, and bitclr32). Multiprocessor support is possible but just not implemented at the moment, only interrupt lockout. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27188 a1c6a512-1295-4272-9138-f99709370657
* Enable HID support, clean up usb-drv-as3525.c a bit, add a workaround for ↵Tobias Diedrich2010-06-28
| | | | | | weird Linux behaviour (don't have Windows to test with), we don't need to set up USB_PHY_EPx_INFO (OF doesn't bother either). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27164 a1c6a512-1295-4272-9138-f99709370657
* Should clear up rest of red. Add a required #define in the config for c200. ↵Michael Sevakis2010-06-26
| | | | | | Fix up some preprocessing directives. Hope it's all taken care of now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27141 a1c6a512-1295-4272-9138-f99709370657
* Fix red. Thought I had REC_SAMPR_DEFAULT covered if not otherwise specified ↵Michael Sevakis2010-06-26
| | | | | | as different than 44. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27140 a1c6a512-1295-4272-9138-f99709370657
* e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below ↵Michael Sevakis2010-06-26
| | | | | | are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27139 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#11364 by me. Increases the A3525v2 volume range by 7.5dB. Each ↵Michael Giacomelli2010-06-24
| | | | | | volume setting gets 7.5dB louder (if you listened before at 0dB, you would have to set it to about -7.5dB to get the same volume). As a result, the new 0dB actually is pretty close to max line level for a full scale voltage, so positive dB may clip, whereas before they did not because the scale was off. Thanks to dfkt and Tim Graf for help figuring this out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27101 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: define number of enpoints correctly, write interrupt handlerAmaury Pouly2010-06-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27098 a1c6a512-1295-4272-9138-f99709370657
* playback.c: don't assume cacheline size is 16 bytesRafaël Carré2010-06-23
| | | | | | | | | | ideally all targets should define CACHEALIGN_BITS, for now we default it to 16 bytes if it's not specified Since the buffer is already aligned in playback.c no need to align it again in buffering.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27073 a1c6a512-1295-4272-9138-f99709370657
* Enable USE_ROCKBOX_USB on all AS3525v1, confirmed to work on C200v2 and ↵Tobias Diedrich2010-06-22
| | | | | | E200v2, I'm confident it should work on the others too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27055 a1c6a512-1295-4272-9138-f99709370657
* usb_storage seems to be working now, enable USE_ROCKBOX_USB on C200v2, other ↵Tobias Diedrich2010-06-22
| | | | | | AMSv1 untested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27039 a1c6a512-1295-4272-9138-f99709370657
* Apply FS #11423 - Use udelay in AMS driver for FM radio I2CBertrik Sikken2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27035 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz2010-06-21
| | | | | | | | | | | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
* Also define STORAGE_ALIGN_ATTR if STORAGE_WANTS_ALIGN isn't definedMichael Sparmann2010-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26984 a1c6a512-1295-4272-9138-f99709370657