Commit graph

5424 commits

Author SHA1 Message Date
Dominik Wenger
415c46ed54 add sansa m200v2 support to mkamsboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18840 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 19:51:42 +00:00
Dave Chapman
184d0dab74 Oops, MI4_FORMAT shouldn't be here...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18839 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 15:57:40 +00:00
Dave Chapman
08c41d42bb Add e200v2 and m200v2 targets. Move the telechips lcd-ssd1815.c (currently used by Logik DAX and m200v1 ports) driver up in the target tree and share with the m200v2 - as2525 parts contributed by Rafael Carre. Includes the start (but is still very incomplete) of an LCD driver for the e200v2. m200v2 is not yet fully supported by mkamsboot - that will come soon. Also some minor cleanups for the Clip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18836 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 14:11:01 +00:00
Dave Chapman
14ee31865e The GPIO registers are 8-bit, so define them as such.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18835 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 12:47:58 +00:00
Nils Wallménius
2f50cd58b9 Codec memory reorganization
Based on a patch by Tomasz Malesinski
* Merge Codec buffer and Malloc buffer into one large buffer.
* The new merged buffer is now 1MB on targets with lots of memory.
* Renamed codec_get_memory to codec_get_buffer and made it behave more. 
like plugin_get_buffer.
* Bumped Codec api and min api versions.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18834 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 12:35:53 +00:00
Frank Gevaerts
ae7391b187 code police : fix some multiply defined variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18830 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 23:31:29 +00:00
Peter D'Hoye
695c39bc9c Remove the audiohw_set_nsorder() function since it is not used, only implemented on WM8731 and not wanted/used there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18829 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 22:37:41 +00:00
Frank Gevaerts
49ec9ea190 Make the meizu m3 load from flash, so interrupts work. More work is needed to get the m6sl "working" again
(patch by Denes Balatoni, FS#9499)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18827 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 22:28:59 +00:00
Peter D'Hoye
d8b2645a64 Accept FS #9496 by Przemysław Hołubowski: disable deemphasis in WM8731. This fixes FS #9489 (nonlinear frequency response). Verified on H10-5gb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18826 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 21:57:43 +00:00
Jens Arnold
546083c784 Merge the necessary changes for the new archos firmware flash images back to the trunk, including the related optimisations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18821 a1c6a512-1295-4272-9138-f99709370657
2008-10-16 16:42:37 +00:00
Jonathan Gordon
71898e5c54 Accept FS#9480 - centralise and organise the events in the apps/ layer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18819 a1c6a512-1295-4272-9138-f99709370657
2008-10-16 10:38:03 +00:00
Frank Gevaerts
9e0ebcc4e6 Simplify preprocessor symbols a bit (FS#9457). Thanks to Alexander Levin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18816 a1c6a512-1295-4272-9138-f99709370657
2008-10-15 19:05:00 +00:00
Björn Stenberg
51b45d5602 Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. Moved mp3data.c/h from firmware to apps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18814 a1c6a512-1295-4272-9138-f99709370657
2008-10-15 06:38:51 +00:00
Björn Stenberg
9cf024c5a8 Red build fix: Moved PCM #defines from pcm_record.h to pcm.h. Added necessary #includes to statusbar.c and s1a0903x01.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18808 a1c6a512-1295-4272-9138-f99709370657
2008-10-14 11:43:32 +00:00
Björn Stenberg
9558c4956d Moved pcm_record from firmware to apps. Cleaned up some. Now all code using struct mp3entry is in apps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18807 a1c6a512-1295-4272-9138-f99709370657
2008-10-14 11:12:20 +00:00
Vitja Makarov
91b9c6139b telechips usb: not ready for use but, something is working, needs improvement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18806 a1c6a512-1295-4272-9138-f99709370657
2008-10-14 05:13:21 +00:00
Rob Purchase
14a6fd9bbe Hopefully fix the D2s 'cut and repeated LCD lines' bug (fix suggested by Francesco Rigoni).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18801 a1c6a512-1295-4272-9138-f99709370657
2008-10-13 20:25:16 +00:00
Rob Purchase
142ac2a35a Fix a couple of factual inaccuracies in the M200 build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18790 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 21:14:08 +00:00
Dave Chapman
80cdc34a54 Rename the clip directory to sansa-clip to be consistent with the first (PortalPlayer) Sansa ports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18786 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 18:07:23 +00:00
Frank Gevaerts
b69e8bb539 make colours look right
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18785 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 17:54:35 +00:00
Frank Gevaerts
2cc85bc346 Fix LCD timings on the older meizu M3 variant, so it works with a fast clock.
(FS#9484, by Denes Balatoni)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18784 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 16:55:57 +00:00
Dave Chapman
da8bff107e Commit FS#9467 - initial work on port to Sansa Clip by Rafaël Carré and François Dinel. A few cosmetic changes were made by me prior to committing: 1) TAB policing in button-clip.c; 2) Add François Dinel to CREDITS; 3) Add François Dinel as (C) holder in button-target.h (it was previously blank); 4) Add Rockbox header to bootloader/sansa_as3525.c with Rafaël Carré as (C) holder; 5) Change target_id to 50 (next available number) in tools/configure and fixed indentation; 6) Change MODEL_NUMBER in config-clip.h to 50 (next available number); 7) Remove unused in/out macros from system-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18782 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 16:46:01 +00:00
Jens Arnold
0f933f6210 Bootloaders don't need special handling in sys_poweroff() for recording targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18780 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 12:28:41 +00:00
Frank Gevaerts
b56b0a37f4 remove dead code from firmware/target/arm/crt0.S, and conditionalise bits of it
make the meizu builds compile with the new crt0.S location


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18776 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 18:32:17 +00:00
Dave Chapman
e0f8c31216 Move the S5L8700 (Meizu) crt0.S file up one level - it can be used as a generic ARM crt0.S (the uncommitted patch for the Sansa V2s uses it).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18775 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 18:15:42 +00:00
Björn Stenberg
e76c69f3e4 Moved id3.c, mpeg.c and replaygain.c from firmware/ to apps/. This is the first step in separating the generic metadata code and the id3-specific code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18760 a1c6a512-1295-4272-9138-f99709370657
2008-10-10 13:12:28 +00:00
Peter D'Hoye
528fe442fc New recording setting to configure how mono recordings are made. Previously, this was always L+R, which was kinda silly if your signal was on L only. This setting allows for L, R or L+R. SWCODEC only for now, to be added for HWCODEC (although that will only be L and L+R probably)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18745 a1c6a512-1295-4272-9138-f99709370657
2008-10-08 22:18:16 +00:00
Frank Gevaerts
68d9fb95de lcd now shows things on the old-style Meizu M3.
It needs to be re-tested on the new-style, colours are wrong, and timing loops need to be reviewed



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18740 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 21:12:03 +00:00
Maurus Cuelenaere
d07ac657a4 Forgot one ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18738 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 20:24:41 +00:00
Maurus Cuelenaere
9003c116ca Fix TABs and get rid of HAVE_BUTTON_HOLD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18737 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 20:23:56 +00:00
Frank Gevaerts
46573019a5 add HAVE_DISK_STORAGE, and use that instead of HAVE_FLASH_STORAGE when checking for an actual disk (i.e. related to spindown, skipping,...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18735 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 19:37:33 +00:00
Maurus Cuelenaere
23b7e95770 Correct HAS_BUTTON_HOLD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18734 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 19:07:33 +00:00
Robert Keevil
2c170356f3 FS#9139 - support for ver 1.1 scrobbler log files. Upload any old files first - uploading software may need updating, see the LastFMLog wiki page
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18732 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 18:39:44 +00:00
Vitja Makarov
2f84f699c0 IAUDIO67_PAD: Add keymaps for most of the plugins, they are not all tested yet.
IAUDIO7: Define MODEL_NAME in config


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18730 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 16:38:28 +00:00
Vitja Makarov
c4fdd2e788 Fill some ata_identify fields, e.g model name, firmware, block count
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18725 a1c6a512-1295-4272-9138-f99709370657
2008-10-07 05:04:11 +00:00
Frank Gevaerts
2d5e6e1a87 LCD driver for meizu M3, new type (older M3s are not yet supported)
Thanks to Denes Balatoni


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18719 a1c6a512-1295-4272-9138-f99709370657
2008-10-05 20:01:25 +00:00
Frank Gevaerts
e12005e9c0 set output format correctly
decrease stack size a bit, as it made bss overflow the available RAM
Thabks to Denes Balatoni


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18717 a1c6a512-1295-4272-9138-f99709370657
2008-10-05 19:52:48 +00:00
Frank Gevaerts
d16fe2d36a implement usb_drv_release_endpoint() and usb_drv_request_endpoint() (a.k.a. fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18705 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 23:08:11 +00:00
Frank Gevaerts
20e704ba78 disable logf again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18704 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 22:49:36 +00:00
Frank Gevaerts
478fc5baed reorganise the USB stack a bit to allow for easier integration of non-ARC controller drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18703 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 22:43:16 +00:00
Frank Gevaerts
7fc446263f fix yellow. Don't do the spindown/usb things in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18696 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 11:56:01 +00:00
Nils Wallménius
c42f22cb87 Correct test to avoid drawing outside display, fixes a problem in sim with spacerocks, could possibly fix things on target too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18691 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 08:10:38 +00:00
Frank Gevaerts
fcdffd68af Accept FS#8943, allow disk spindown during USB connection for software usb
Implementation by Linus Nielsen Feltzing


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18685 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 20:51:14 +00:00
Dave Chapman
6d5b54081a Change the MODEL_NUMBER for various new ports so that it is unique again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18684 a1c6a512-1295-4272-9138-f99709370657
2008-10-02 18:08:41 +00:00
Peter D'Hoye
66f5eec8f0 Fix samplerate setting for mini 1g/2g
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18673 a1c6a512-1295-4272-9138-f99709370657
2008-09-30 20:26:25 +00:00
Peter D'Hoye
f60c1ae050 More samplerates for playback for ipod 1g/2g, and fix the ipod mini 1g/2g which also use WM8721.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18669 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 21:41:38 +00:00
Peter D'Hoye
b297eb9d9d Codepolice: the patch I accepted contained some tabs. Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18668 a1c6a512-1295-4272-9138-f99709370657
2008-09-29 20:50:26 +00:00
Peter D'Hoye
11ef4ce1f9 Accept FS #9394 by Christian Lees and extend it to all PP targets with a WM8731: More samplerates for playback and recording. Only tested on H10 but should work on the others too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18662 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 23:25:07 +00:00
Karl Kurbjun
3ef51c5cbb Add the shutdown routine necessary when bootloader is flashed. Normal build/bootloader still operate as expected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18651 a1c6a512-1295-4272-9138-f99709370657
2008-09-26 03:08:19 +00:00
Karl Kurbjun
143b8f1c30 More Gigabeat F flash work. This sets the bootloader up for dual boot functionality and allows the player to shutdown cleanly (with the help of the OF). This does not effect the normal build or non-flash bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18650 a1c6a512-1295-4272-9138-f99709370657
2008-09-26 02:54:29 +00:00