Commit graph

1921 commits

Author SHA1 Message Date
Bertrik Sikken
743dcf7f69 Implement PWM backlight driver for the Meizus. Update Meizu M3 bootloader to control brightness with the touch strip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21478 a1c6a512-1295-4272-9138-f99709370657
2009-06-23 18:11:03 +00:00
Rafaël Carré
a98c54f5f1 Do not use lcd_blit_yuv() if MEMORYSIZE <= 2, since mpegplayer won't run anyway (and won't build)
Only affected target: Sansa c200v2

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21453 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 14:09:48 +00:00
Jens Arnold
b76faecd60 Make ATA poweroff an advanced build option for the Player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21409 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 18:37:29 +00:00
Bertrik Sikken
f81ce592e5 Enable charging on the Sansa Fuze (charging/discharging curves are still uncalibrated)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21394 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 14:29:21 +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
Mark Arigo
a61196fd3a Philips SA9200: Working touchpad and button lights! Also, improvements to the keymap (still needs work).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21346 a1c6a512-1295-4272-9138-f99709370657
2009-06-19 03:23:38 +00:00
Mark Arigo
4c58ad26ba Clean up the Synaptics touchpad driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21344 a1c6a512-1295-4272-9138-f99709370657
2009-06-19 02:48:15 +00:00
Rafaël Carré
4070f035cf Confirm USB VID/PID of Samsung YH920
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21334 a1c6a512-1295-4272-9138-f99709370657
2009-06-18 20:36:11 +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
Rafaël Carré
0181bc42c9 Sansa c200v2 : support more hardware
Don't read the buttons from GPIOC but from DBOP_DIN (all directional buttons + select)
Still missing hold, rec, volume up and volume down
Read microsd
Tuner is a si4700 but seems to suffer from the same problem than e200v2
Sound works

TODO: missing buttons, lcd yuv, test lcd performance (the c200v1 lcd performance has decreased since r21321 : needs to be investigated)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21330 a1c6a512-1295-4272-9138-f99709370657
2009-06-18 15:05:59 +00:00
Rafaël Carré
3520d8e90e Sansa c200v2 : lcd & backlight support, using the c200v1 lcd driver
The LCD driver is unified and lcd_send_command now takes 2 arguments : the command and its argument.
    If there is no argument, it's set to 0 and a NOP command is issued
    If there is more than one argument (set X/Y address), the 2nd argument is sent as a 2nd command, and a NOP command is issued after it.
    Benefit : c200v2 transfers the command and the argument in one 16 bits transfer
    Performance should not be affected since commands without argument are only used in lcd_init() and lcd_enable()

lcd_send_data() now transfers whole lines (or columns) instead of single pixels
yuv is disabled for c200v2 for now

Some buttons can be read, including left button (bit 6 of DBOP_DIN), but for some reason they have no effect in rockbox: to be investigated

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21321 a1c6a512-1295-4272-9138-f99709370657
2009-06-17 19:55:27 +00:00
Maurus Cuelenaere
b8435f5446 Touchscreen targets: add calibration screen + rewrite calibration driver (FS#10295)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21312 a1c6a512-1295-4272-9138-f99709370657
2009-06-16 17:04:47 +00:00
Jens Arnold
81b87fe13d Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio audio driver, fmradio i2c driver, and power driver (M5 + X5 only).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21264 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 18:53:44 +00:00
Maurus Cuelenaere
b11131f60e Onda VX747: support FAT16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21245 a1c6a512-1295-4272-9138-f99709370657
2009-06-10 17:43:51 +00:00
Maurus Cuelenaere
b91ebdd600 Properly implement backlighting on Onda VX7x7 (using PWM).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21235 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 17:19:43 +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
Rafaël Carré
f504153857 FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed up
- cache IRAM and DRAM
- map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize
- tweak delays in Fuze button code
- tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on)

Before reporting any problem, please check your filesystem or format your player from the OF

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 23:05:33 +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
Andrew Mahone
c76d940c06 Replace 1UL in BIT_N with 1U to avoid turning it into a 64-bit operation on 64-bit sim targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21197 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:58:57 +00:00
Andrew Mahone
d2eb5d2901 Fix undefined BIT_N on non-SH targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21196 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:11:41 +00:00
Andrew Mahone
de7c5711c5 Add a system-wide BIT_N macro, implemented via an LUT on SH, and use it in the TAGCACHE_IS_* macros in place of per-set LUTs, removing duplication of data between those LUTs and the mask values used on other targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21195 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 00:00:58 +00:00
Maurus Cuelenaere
aa7d43f7a6 Fix reds & yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21162 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:21:29 +00:00
Maurus Cuelenaere
fd11471a3f Onda VX747: try at implementing FM tuner support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21160 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:00:31 +00:00
Thomas Martitz
0b6ff6660a Samsung YH*: Enable RTC on all, enable lcd contrast on 925.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21157 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 17:21:19 +00:00
Marc Guay
86ce407803 c100: Get a regular build compiling. Very little functionality.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21153 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 12:37:25 +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
Frank Gevaerts
dd742b72ff Remove an old safety making sure that people re-ran configure after the h120/h100 split. People now have had nearly four years to do so, which is probably enough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21129 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 18:27:48 +00:00
Marianne Arnold
74a22ff1a3 Make 'Backlight mod' an Advanced build option for the Ondios (largely inspired by the RTC mod related changes in r12555). Remove the defines in the config files as you won't need to 'hack' them anymore, just chose the right options while running 'configure'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21128 a1c6a512-1295-4272-9138-f99709370657
2009-05-29 13:36:12 +00:00
Marc Guay
64595105b1 Set up the c100 for dual-booting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21105 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 22:32:39 +00:00
Maurus Cuelenaere
56d721fda9 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21098 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 23:28:53 +00:00
Maurus Cuelenaere
a0458dac2b Fix audio on Onda VX747
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21097 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 22:57:49 +00:00
Thomas Martitz
29bbcebee4 Samsung YH*: enable bmp scaler and core jpeg support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21087 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 22:59:23 +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
Maurus Cuelenaere
aec37aa5fe * read_bmp_*(): add FORMAT_RETURN_SIZE
* Lua: add luaL_checkboolean() & luaL_optboolean()
* Lua: add read_bmp_file


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21074 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 11:12:27 +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
Frank Gevaerts
ee1b6aa237 Fix wrong #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21057 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:10:10 +00:00
Frank Gevaerts
c61a75173b Reorganise USB stack defines. Now config.h decides which class drivers get enabled instead of usb_core.h
Also enable HID, and use that as the dummy class instead of charging-only for controllers that have working interrupt transfers.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21053 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 14:30:20 +00:00
Rafaël Carré
1a4f330a35 Sansa AMS : remove misleading comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21030 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:44:09 +00:00
Bertrik Sikken
c0859f04be Move private #defines from i2c-pp.h to i2c-pp.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21014 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 14:31:47 +00:00
Bertrik Sikken
2dc2054319 Remove some unused declarations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21010 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 12:32:26 +00:00
Rafaël Carré
0f93ae5da0 Sansa AMS: move OF size declaration in model specific config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21008 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 11:46:52 +00:00
Thomas Martitz
4633446517 Sansa AMS: Centralise mapping of RAM and IRAM in as3525.h via #defines. This will hopefully make ongoing mmu work easier as less places need to be changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21000 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 21:09:53 +00:00
Maurus Cuelenaere
649671eae3 Get interrupt endpoints fully working on Ingenic Jz4740 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20978 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 15:41:05 +00:00
Bertrik Sikken
0023943439 Fix duplicate #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20977 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 14:50:19 +00:00
Frank Gevaerts
69a4117c1d Add working USB HID driver, by Tomer Shalev (part of his GSoC work).
This needs support for usb interrupt transfers, so there are some changes in various USB drivers as well (only usb-drv-arc supports it at this point, others won't have working HID yet).

HID is disabled for now, as the apps/ part is not included yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20962 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 15:30:09 +00:00
Alexander Levin
b98ac048df Remove the HAVE_RADIO_REGION from the platform config since it's already defined in the tuner driver's header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20926 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 16:38:21 +00:00
Maurus Cuelenaere
580b1a5c4b MIPS: don't save gp register when switching threads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20863 a1c6a512-1295-4272-9138-f99709370657
2009-05-06 19:51:34 +00:00
Andrew Mahone
20f76d61ae Make JPEG and BMP scaler optional with HAVE_JPEG and HAVE_BMP_SCALING, both defined for all targets that have HAVE_ALBUMART. Disable JPEG in PictureFlow and pluginlib album art search with 32KiB plugin buffer until PictureFlow
gets overlay support.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20851 a1c6a512-1295-4272-9138-f99709370657
2009-05-04 15:46:41 +00:00