summaryrefslogtreecommitdiff
path: root/firmware
AgeCommit message (Collapse)Author
2010-07-26FM tuner region code cleanup - FS #11492 by me.Bertrik Sikken
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
2010-07-26Factor out opening and removing DIRCACHE_FILE into separate functions.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27575 a1c6a512-1295-4272-9138-f99709370657
2010-07-25bootchart.h doesn't need _ansi.h, especially not in a relative pathRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27553 a1c6a512-1295-4272-9138-f99709370657
2010-07-25strncpy.c / assert.h : need to include _ansi.hRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27549 a1c6a512-1295-4272-9138-f99709370657
2010-07-25Move some gcc extensions to new gcc_extensions.h headerRafaël Carré
- 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
2010-07-23Define CONFIG_REMOTE_KEYPAD for iaudio x5/m5 and add a keymap for that ↵Nils Wallménius
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
2010-07-22lcd-clip.h: mentions clipv2Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27523 a1c6a512-1295-4272-9138-f99709370657
2010-07-22Sansa clip+: fix display brightness for players with newer OLED controller ↵Bertrik Sikken
type (and reorganise the variant detection a bit in the process) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27522 a1c6a512-1295-4272-9138-f99709370657
2010-07-22Correction to previous commit: fix condition to include backlight-target.h ↵Bertrik Sikken
(not needed for clip+) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27521 a1c6a512-1295-4272-9138-f99709370657
2010-07-22Sansa Clip+: detect AMSv2 variant (just like was already done for fuze v2), ↵Bertrik Sikken
this makes SD transfers work for newer clip+ players ("COMBO4E" type). Variable fuzev2_variant has been renamed to amsv2_variant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27520 a1c6a512-1295-4272-9138-f99709370657
2010-07-22as3525v1 USB: remove stubs if !defined(USE_ROCKBOX_USB)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27519 a1c6a512-1295-4272-9138-f99709370657
2010-07-22CCU_BASE+0x20 is specific to AMSv2 -> move to as3525v2.hRafaël Carré
Rename to simply 'CCU_USB' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27518 a1c6a512-1295-4272-9138-f99709370657
2010-07-20The new Fuzev2 use the same FM chip than some Clip+Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27502 a1c6a512-1295-4272-9138-f99709370657
2010-07-20buttonlight for new fuzev2Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27501 a1c6a512-1295-4272-9138-f99709370657
2010-07-20Revert r26290Rafaël Carré
If the card is not actively deselected on newer Fuzev2, frequent switches between internal storage and µSD will lock up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27500 a1c6a512-1295-4272-9138-f99709370657
2010-07-19newer Fuzev2 doesn't seem to use B5 for button lightRafaël Carré
playing from µSD now works to some degree database update or copy between the 2 drives lock up git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27496 a1c6a512-1295-4272-9138-f99709370657
2010-07-19sd-as3525.c: disable widebus again, it causes read corruptionsRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27495 a1c6a512-1295-4272-9138-f99709370657
2010-07-19as3525*: use atomic bit manipulation for CCU_IORafaël Carré
fuzev2 button_read_device() runs in interrupt context so writes are atomic git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27494 a1c6a512-1295-4272-9138-f99709370657
2010-07-19as3525*: disable_irq in system_reboot()Rafaël Carré
make sure CGU_PERI write is atomic git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27493 a1c6a512-1295-4272-9138-f99709370657
2010-07-19Support new Fuzev2 revisions (fuzev2_variant == 1)Rafaël Carré
- Revert BUTTON_HOME - Modifications to SD driver (µSD not working yet) TODO: µSD and FM radio git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27492 a1c6a512-1295-4272-9138-f99709370657
2010-07-19sd-as3525v2: remove unneeded prototypesRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27488 a1c6a512-1295-4272-9138-f99709370657
2010-07-18AB_REPEAT_ENABLE was never defined to 2Rafaël Carré
There's only 2 possibilities: defined or undefined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27483 a1c6a512-1295-4272-9138-f99709370657
2010-07-18Revert accidental commit of "%z" support in r26071 (the implementation ↵Frank Gevaerts
assumed size_t==long, which is not always the case in hosted environments) Remove four remaining uses of %z, three of which were in DEBUGF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27479 a1c6a512-1295-4272-9138-f99709370657
2010-07-17HD200: Add timeout in usb_enable(false) to prevent infinite loop when ↵Marcin Bukat
something goes wrong. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27468 a1c6a512-1295-4272-9138-f99709370657
2010-07-16rtc_as3514.c: make alarm struct static and reorder fields to save some binsizeBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27448 a1c6a512-1295-4272-9138-f99709370657
2010-07-16Fix failing AMSv2 power-down when the wake-up alarm timer is set - FS #11453 ↵Bertrik Sikken
by me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27447 a1c6a512-1295-4272-9138-f99709370657
2010-07-16HD200: Change move.w -> move.b in lcd-as-hd200.S when doing transfers to lcd ↵Marcin Bukat
to explicity show that lcd bus is 8bits wide. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27445 a1c6a512-1295-4272-9138-f99709370657
2010-07-16MPIO HD200 grey blitting: Use line reads for the pixel values as well. ↵Jens Arnold
Almost doubles the ISR speed (47% -> 24% load), giving 42% faster greylib framebuffer updates. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27444 a1c6a512-1295-4272-9138-f99709370657
2010-07-15Don't duplicate byteswap code. Invent system where NEED_GENERIC_BYTESWAPS is ↵Nils Wallménius
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
2010-07-15Properly fix warning by copying the swap16 and swap32 inline functions from ↵Nils Wallménius
system.h to mips/ingenic_jz47xx/system-target.h to replace the defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27433 a1c6a512-1295-4272-9138-f99709370657
2010-07-14Fuze*/e200v2: remove unused lcd_set_contrast()Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27413 a1c6a512-1295-4272-9138-f99709370657
2010-07-11strstr(): cosmeticsRafaël Carré
remove extra ';' replace tabs by spaces git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27396 a1c6a512-1295-4272-9138-f99709370657
2010-07-11D2: Fix another timing loop that broke when we switched to the EABI ↵Rob Purchase
compiler, this time in the LCD driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27395 a1c6a512-1295-4272-9138-f99709370657
2010-07-11strstr: replace GPLv2-only implementation from Linux by LGPLv2.1 from uclibcRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27393 a1c6a512-1295-4272-9138-f99709370657
2010-07-11fat.c: fix format specifier in DEBUG buildRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27386 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Fix red in app buildsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27375 a1c6a512-1295-4272-9138-f99709370657
2010-07-10Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz
SIMVER was really only used to detect a simulator build. With APP_TYPE you can now differentiate between simulator, application, checkwps and database builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
2010-07-10SDL: fix typoRafaël Carré
BUTTON_LEFT is a rockbox define, we must use SDL_BUTTON_LEFT git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27367 a1c6a512-1295-4272-9138-f99709370657
2010-07-10SDL enhancements:Rafaël Carré
- remove infinite loop after exit() - make sure picture_surface is initialized, and free it - split gui_message_loop() in 3 functions and change prototype - some code is only used in simulator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27366 a1c6a512-1295-4272-9138-f99709370657
2010-07-08HD200 - calibrate battery indicator based on measurements and battery_benchesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27350 a1c6a512-1295-4272-9138-f99709370657
2010-07-07HD200 - fix misleading comment in system-hd200.cMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27328 a1c6a512-1295-4272-9138-f99709370657
2010-07-06HD200 - turn off charging IC by defaultMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27315 a1c6a512-1295-4272-9138-f99709370657
2010-07-06Rockbox as an application: Add an 320x240 SDL application target.Thomas Martitz
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
2010-07-06HD200 - Fix GPIO setup in button_init_device()- this change fixes sound ↵Marcin Bukat
output broken in r27258. Slightly adjust main buttons reading routine so key reading is more reliable with and without remote present git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27307 a1c6a512-1295-4272-9138-f99709370657
2010-07-06HD200 - more work on remote handlingMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27306 a1c6a512-1295-4272-9138-f99709370657
2010-07-04sim: add spdif_measure_frequency() stub for HAVE_SPDIF_INRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27281 a1c6a512-1295-4272-9138-f99709370657
2010-07-04Simulator: build recording codeRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27280 a1c6a512-1295-4272-9138-f99709370657
2010-07-04hdd6330: Enable buttonlights.Szymon Dziok
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27276 a1c6a512-1295-4272-9138-f99709370657
2010-07-04hdd6330: enable full touchpad support - code cleanup, all buttons should ↵Szymon Dziok
work now correctly, scrollstrip should work like in the OF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27274 a1c6a512-1295-4272-9138-f99709370657
2010-07-04hdd6330: change the synaptics-mep driver in a few places according to the ↵Szymon Dziok
touchpad behavior. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27273 a1c6a512-1295-4272-9138-f99709370657