Commit graph

266 commits

Author SHA1 Message Date
Amaury Pouly
e5caf93e23 Commit FS#10889: detect file handles leaks in plugins and automatically close them on exit and warn the user.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24598 a1c6a512-1295-4272-9138-f99709370657
2010-02-11 19:15:37 +00:00
Rafaël Carré
12af2926e5 Make Clip+ bootloader build
Now making the Fuzev2 bootloader build should be pretty easy

TODO:
    - write button driver (FlynDice found all buttons already)
    - find button light
    - decide if lcd-ssd1303.c must be modified for Clip+ using SSP or forked
    - check if backlight code works (I copied Clipv2 code)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24520 a1c6a512-1295-4272-9138-f99709370657
2010-02-05 12:40:25 +00:00
Torne Wuff
c4e051bed7 Align addresses in the buffering code to STORAGE_ALIGN_MASK if the target has one.
The PP502x DMA controller can only deal with doing DMA to 16-byte-aligned
addresses because we have inadequate control over the cache to prevent
interference. Other targets may also *prefer* cacheline aligned DMAs to
reduce the number of cache operations required. Almost all disk reads in
buffering.c will now be suitably aligned, allowing DMA to be used on PP502x.

Original change from FS#9708 by Boris Gjenero (dreamlayers).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24440 a1c6a512-1295-4272-9138-f99709370657
2010-02-01 17:16:39 +00:00
Rafaël Carré
2910f91804 Add a config file for zenvision (which includes zvm30gb config file)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24328 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 19:33:51 +00:00
Rafaël Carré
e7723841cc ondavx777 : use own config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24327 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 19:28:52 +00:00
Rafaël Carré
52a7626bbc zenvision.h -> zenvision30gb.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24325 a1c6a512-1295-4272-9138-f99709370657
2010-01-24 19:21:51 +00:00
Thomas Martitz
6915340f2d Fix FS#10867 and a few more potential issues by imitate target scrollwheel behavior more (although that behavior is suboptimal imo). Also, default for maximum backlight brightness in the sim and move stuff into sim.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24289 a1c6a512-1295-4272-9138-f99709370657
2010-01-19 22:07:28 +00:00
Frank Gevaerts
553626a958 Add initial Packard Bell Vibe 500 port, by Szymon Dziok
Author: Szymon Dziok 
Flyspray: FS#10912


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 19:05:20 +00:00
Rafaël Carré
2392bb4199 FS#10047 : Clipv2
Reuse some code from Clip (LCD) and a lot of code from AS3525
Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs)
SD code still not working
For an unknown reason LCD doesn't work anymore (to be investigated)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
2009-12-31 19:15:20 +00:00
Alexander Levin
ccb6441913 Fix a typo in comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24128 a1c6a512-1295-4272-9138-f99709370657
2009-12-30 19:10:22 +00:00
Mark Arigo
6908cc5235 Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 04:05:01 +00:00
Maurus Cuelenaere
665bdd5638 Don't do fading in simulator on targets with BACKLIGHT_FADING_PWM or BACKLIGHT_FADING_TARGET (should fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24045 a1c6a512-1295-4272-9138-f99709370657
2009-12-17 14:22:15 +00:00
Maurus Cuelenaere
b7879ad742 Only do BACKLIGHT_FADING_SW_SETTING in simulator (fixes red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24044 a1c6a512-1295-4272-9138-f99709370657
2009-12-17 14:06:26 +00:00
Maurus Cuelenaere
5d96c3ba71 Enable backlight brightness in simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24042 a1c6a512-1295-4272-9138-f99709370657
2009-12-17 13:44:09 +00:00
Tomer Shalev
47ddbaa47b Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, and
to target naming conventions in general


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-15 20:51:41 +00:00
Robert Kukla
2d722a17ec make tpj1022 bootloader compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23892 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 16:12:49 +00:00
Björn Stenberg
c0740440ac Rename targets to be consistent in all places. (FS #10819). Take 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23883 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 12:19:08 +00:00
Laurent Gautier
0260852771 Add support for the ipod FM remote to the 4G, Color, 5G, nano 1G with RDS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23805 a1c6a512-1295-4272-9138-f99709370657
2009-12-01 17:54:40 +00:00
Jeffrey Goode
b8793f85a5 Fix HAVE_CROSSFADE definition in config to apply only to swcodec targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23620 a1c6a512-1295-4272-9138-f99709370657
2009-11-12 05:04:23 +00:00
Karl Kurbjun
d5092a864f Everything passed - disable viewport clipping.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23555 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 19:09:55 +00:00
Karl Kurbjun
b7cbe64dc5 Just a test to make sure all targets build with viewport clipping enabled - will disable once all builds pass
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23554 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 19:02:04 +00:00
Nils Wallménius
109f182b0c Introduce new config header 'config-sim.h' that takes care of undefining things that shouldn't be defined for sims so that the target configs no longer need to have #ifndef SIMULATOR sections and to bring some consistency for what is and is not included for sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23547 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 10:48:05 +00:00
Frank Gevaerts
ad29c35d7b Don't selecu any usb class drivers for a simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23295 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 18:33:23 +00:00
Michael Sparmann
9fa0f79c06 Fix some iPod Nano 2G config defines to make USB HID work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23288 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 09:54:08 +00:00
Dominik Wenger
41c497025f Initial mini2440 port.
Flyspray: FS#10627
Author: Bob Cousins

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23265 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 18:14:27 +00:00
Rob Purchase
6170f01642 D2: The RTC chip needs to be runtime detected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23112 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 17:46:00 +00:00
Tom Ross
f5b312e043 Fix compilation of simulators on Mac OS X 10.6. Tested on 10.5.8 and 10.6.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23051 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 17:55:46 +00:00
Frank Gevaerts
6e11572e07 Make the database tool buildable from configure.
Also update the checkwps makefile to make checkwps builds not break


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22998 a1c6a512-1295-4272-9138-f99709370657
2009-10-07 16:54:15 +00:00
Michael Sparmann
be25469b9b Reworked iPod Nano 2G PMU code, added RTC and battery ADC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22967 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:21:33 +00:00
Dave Chapman
d67c4d2f6b Add PLL2 definitions for the S5L8701, plus some config file tweaks for the Nano2G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22715 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 07:36:09 +00:00
Jonathan Gordon
3fa1684301 move the CONFIG_LED #define out into config.h as all but 3 targets actually have a real one (and apparently lots had it #defined in a !SIMULATOR block! )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22644 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 17:12:09 +00:00
Karl Kurbjun
7bb7c5f0cc Add stride defines to support vertical strides
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22546 a1c6a512-1295-4272-9138-f99709370657
2009-08-29 19:31:29 +00:00
Thomas Martitz
3f7f860bc5 Enable dircache for targets with 8MB RAM too (AMS Sansas, modded Archoses).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22443 a1c6a512-1295-4272-9138-f99709370657
2009-08-20 20:30:35 +00:00
Michael Giacomelli
6469926b88 FS#10506. Don't compile various crossfade only functions in pcmbuf.c on low memory targets (mainly AMS) to save memory. Some crossfade related items remain in the code, but they're not worth cluttering the code with ifdefs over. Also, introduce HAVE_CROSSFADE define for neatness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22248 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 02:05:38 +00:00
Bertrik Sikken
2fb73842a9 Start of a Rockbox port to the Samsung YP-S3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 20:42:02 +00:00
Frank Gevaerts
c0a5a67387 Commit FS#9545, storage cleanup and multi-driver support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +00:00
Karl Kurbjun
c97a3bf180 M:Robe 500: Start of interrupt support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21913 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 03:44:01 +00:00
Dave Chapman
0d484bad5e Introduce S5L8701 CONFIG_CPU definition for Nano2G and a new CPU_S5L870X "family" define - the 8700 and 8701 are proving to be different. Also move all the cpu-specific defines earlier in config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21886 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 21:34:31 +00:00
Robert Keevil
eea149bd13 FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 21:09:39 +00:00
Dave Chapman
afe43d3fcb Basic changes to add nano 2g to the build system, based on the Meizu M3 port. The bootloader builds, but does nothing due to lack of any drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21828 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:16:51 +00:00
Bertrik Sikken
9ecde3d75c S5L8700: Implement ADC driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21734 a1c6a512-1295-4272-9138-f99709370657
2009-07-09 20:17:47 +00:00
Maurus Cuelenaere
582942016b * Commit a modified FS#10354 (thanks to Davide Quarta) - add support the VX747+ in scramble and configure
* Add support for the VX777
* Remove the touchscreen mode switching combo from the button driver



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21379 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 10:54:13 +00:00
Maurus Cuelenaere
2fb6396f5a Ingenic Jz4740: enable IRAM (only core, without ibss)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21331 a1c6a512-1295-4272-9138-f99709370657
2009-06-18 18:16:15 +00:00
Thomas Martitz
174b910664 Alright, revert r21229 for now. Stupid me forgetting about the inclusion sequence :(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21231 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 01:44:19 +00:00
Thomas Martitz
3b0fca3c6c Use the AMS_LOWMEM define to indicate memory size as the .lds files do in config.h too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21229 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 23:54:56 +00:00
Karl Kurbjun
4a483bb1bf M:Robe 500: Mostly complete USB driver, supports BULK mode currently and gets about 2 MB/s writes vs 1.1 MB/s on the OF. Mostly tested against Linux, preliminary testing in Windows appears to work. There is currently a bug in the attach process where it only works once per boot that needs to be fixed. There are a few other minor M:Robe 500 changes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21208 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 00:19:16 +00:00
Magnus Holmgren
3651319d45 Fix typo. Not sure how it will affect targets with that CPU though...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21146 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 15:55:27 +00:00
Mark Arigo
758bb3bc62 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:10:45 +00:00
Frank Gevaerts
47a3b73de7 don't disable usb storage by accident
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21060 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:50:22 +00:00
Frank Gevaerts
7a8c615de3 swap bootloader and non-bootloader cases around to avoid an ugly #ifndef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21058 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:19:11 +00:00