Tomer Shalev
d5b076b64a
RTL: Cosmetic changes, no functional change - Rename constants
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 20:15:22 +00:00
Michael Sparmann
b729a7d75e
iPod Nano 2G PMU rework, added backlight brightness setting and USB charging speed setting
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23114 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 18:20:56 +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
Dave Chapman
29310705dd
Correct the charging/power #defines for the Nano2G. This now enables you to hold MENU when inserting the USB cable to stop Rockbox entering disk mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23108 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 13:23:43 +00:00
Thomas Martitz
a79dc87761
Add a center flag, next to the rtl flag, for viewports. That results in any text being drawn centered. It overrides the RTL flag if set.
...
Simplify splashes and time menu by using it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23105 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 12:21:27 +00:00
Michael Sparmann
e171294c1d
Correct some iPod Nano 2G defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23104 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 12:11:11 +00:00
Michael Sparmann
e6c8a185e5
Implement NAND power management for iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23099 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 10:10:49 +00:00
Dave Chapman
7f836fd869
Nano2G - remove HAVE_RECORDING from config-ipodnano2g.h as it's not implmented yet, and properly #ifdef audio-nano2g.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23095 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 09:17:12 +00:00
Karl Kurbjun
173d854e7f
M:Robe 500: Add support for more audio frequencies, initialize and set the touchscreen PWD pin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23089 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 06:08:14 +00:00
Rob Purchase
16ada4cb81
Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23078 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:35:02 +00:00
Dave Chapman
3c362fa8c6
Nano2G - implement "Pause on headphone unplug" feature
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23072 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 15:37:05 +00:00
Dave Chapman
8c078f34ff
Nano2G - reboot into disk mode when USB is inserted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23070 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 15:26:38 +00:00
Dave Chapman
4fe2ee0221
Add crypt_firmware plugin for Nano2G - this uses the hardware crypto unit to encrypt (or decrypt) a firmware image for writing to a Nano 2G's firmware partition with ipodpatcher (patch for ipodpatcher is at FS#10609). Also introduce BOOTFILE_EXT2 define for an alternative firmware file extension and add .ipodx for the Nano 2G (.ipod is for unencrypted images, similar to older ipods, and .ipodx is for encrypted images and include the 2KB hash block and modelname 'nn2x').
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23068 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 11:46:23 +00:00
Michael Sparmann
f0a96580ae
Core changes to allow storage drivers to do cleanup on shutdown, and iPod Nano 2G shutdown code rework (FS#10668)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23057 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 20:36:09 +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
Karl Kurbjun
5c86f8a832
M:Robe 500: Enable Vertical stride for main build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23025 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 03:55:14 +00:00
Rob Purchase
292a53da4b
D2: Use a common function for reading ADC values from the PMU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23007 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 15:47:43 +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
Nils Wallménius
d1a9e0c588
fix checkwps breakage caused by r229900
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22993 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 22:02:06 +00:00
Nils Wallménius
dcc49194ac
Once again fix building of the database tool that gets broke over and over
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22990 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 21:08:59 +00:00
Tomer Shalev
a092b9ce92
Use macro to test viewport's RTL flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22978 a1c6a512-1295-4272-9138-f99709370657
2009-10-06 08:07:30 +00:00
Tomer Shalev
58221fc38d
Implement RTL as a viewport's bit-field
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22968 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:22:02 +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
Tomer Shalev
a39be4b307
Fix red: Invert buttons in RTL mode
...
- Revert renaming of button_set_flip()
- Moved rtl flipping logic to apps/actions.c as a static function
- Joined rtl_button_flip_needed() and button_flip_horizontally()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22962 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 17:53:45 +00:00
Tomer Shalev
f7bd7252e1
Invert buttons in RTL mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22961 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 17:17:30 +00:00
Michael Sparmann
271c67e802
Fix the user timer on iPod Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22959 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 16:01:26 +00:00
Tomer Shalev
0c379b4b2e
Add USB HID mouse support for H10
...
- Protect mouse keymaps with #ifdef HAVE_USB_HID_MOUSE
- Add preliminary support for remote mouse mode in iPods, pending P#10623
- Use ACTION_USB_HID_MOUSE_WHEEL_SCROLL_UP/DOWN instead of standard INC/DEC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22940 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 06:42:39 +00:00
Karl Kurbjun
fb50f46866
Button Driver: Add button_status support with data - allows for reading the /immediate/ value of the touchscreen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22933 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 02:09:00 +00:00
Dave Chapman
a7ea270e9c
Read/write Nano2G FTL/NAND driver by Michael Sparmann (FS#10633).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22918 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 15:02:40 +00:00
Dave Chapman
82970fda2e
CONFIG_NAND is not a bitfield
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22906 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 02:17:54 +00:00
Dave Chapman
97cc27411d
Prefix the USB controller registers with USB_ to avoid name clashes with plugins/codecs (e.g. SSR, IR and FAR were already used)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22904 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 02:02:01 +00:00
Dave Chapman
2b7bc42deb
Patch #2 from FS#10633 (Nano 2G developments) by Michael Sparmann - Some hardware define corrections for the S5L8701, needed for the FTL.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22875 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 16:53:26 +00:00
Dave Chapman
14eb02d347
Patch #1 from FS#10633 (Nano 2G developments) by Michael Sparmann - Allows targets to set a different sector size than 512 for the storage system. Should not affect any other target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22874 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 16:41:55 +00:00
Tomer Shalev
4221a7f22f
FS#9157 - Tidy up some MAS35XX constants
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22865 a1c6a512-1295-4272-9138-f99709370657
2009-10-01 05:25:20 +00:00
Tomer Shalev
8c5141b32e
Commit "FS#10468 - USB HID: Show keypad mode on screen"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22852 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 10:06:04 +00:00
Nils Wallménius
c8b87d76eb
FS#10569 RTC driver cleanup
...
Change the RTC drivers so that the rtc_(read|write)_datetime functions now deal directly with the tm struct instead of passing a string of bcd digits to/from (set|get)_time .
This simplifies drivers for rtc's that do not use a bcd representation internally and cleans up some target specific code and #ifdefs in generic code. Implement simple stubs for the sim to avoid #ifdefing for that too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22839 a1c6a512-1295-4272-9138-f99709370657
2009-09-26 14:58:32 +00:00
Bertrik Sikken
a738e5f3a0
FS#9824: Fix FM channel spacing for Europe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22822 a1c6a512-1295-4272-9138-f99709370657
2009-09-24 22:05:07 +00:00
Marianne Arnold
8048b116cf
Remove dead or useless defines: HAVE_ONDIO_IC was replaced by CONFIG_I2C but just added not replaced for the OndioFM in errr... r5675. The creativezv* and the m200v4 config files defined CONFIG_I2C twice.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22736 a1c6a512-1295-4272-9138-f99709370657
2009-09-19 09:37:14 +00:00
Dave Chapman
43ec944e3c
TIMERB is in a different location on the S5L8701
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22716 a1c6a512-1295-4272-9138-f99709370657
2009-09-17 08:05:19 +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
Thomas Martitz
c0f1c49178
Get rid of some of the code duplication from checkwps, it still duplicates a lot though.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22695 a1c6a512-1295-4272-9138-f99709370657
2009-09-13 13:40:58 +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
Jonathan Gordon
9f4f5dbc26
Make the e200 compile the vled for the sim... other targets are probably doing the same thing so find out which.. commit will be immediatly followed to fixd red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22642 a1c6a512-1295-4272-9138-f99709370657
2009-09-06 16:54:04 +00:00
Alexander Levin
3c3d39e836
Fix typos in the comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22625 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 22:00:30 +00:00
Nils Wallménius
0cb6803227
Const police raid\!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22621 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 16:04:02 +00:00
Karl Kurbjun
067172ae54
Explain the stride and fix the player.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22616 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 01:28:50 +00:00
Karl Kurbjun
25123570c7
Fix STRIDE macro for multiscreen and add stride support for picture lib.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 00:46:24 +00:00
Rob Purchase
19a5dfea28
D2: Enable ARM cache coherency functions (eg. during codec load), which should eliminate data aborts/freezes on track changes. NOTE: The linker script reserves space at the end of DRAM for the TTB, but this is not currently used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22595 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 21:35:37 +00:00
Björn Stenberg
ffaf24674d
Fixed checkwps build warnings. Updated checkwps makefile to be closer to main.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22593 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 14:53:37 +00:00
Thomas Martitz
7dd548c697
Speed up the Fuze's LCD by a factor of ~2.1 (lcd_update()) by using 32bit transfers when possible.
...
Unaligned (to 4byte boundary) and odd (where the amount of data is not an integer multiple of 32bit) are still supported. Even those still have a speedup of >2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22574 a1c6a512-1295-4272-9138-f99709370657
2009-08-31 15:54:25 +00:00