Andrew Ryabinin
b6252abb25
fix target id for HiFiMAN HM-801
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31001 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 16:07:06 +00:00
Tomasz Moń
e8a8a1be43
Sandisk Sansa Connect port (FS #12363 )
...
Included are drivers for buttons, backlight, lcd, audio and storage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 14:08:01 +00:00
Jonathan Gordon
ea2a3ee7a8
Fix the gpl notice in the previous commits new files, and fix the yelow gevearts naughtily ignored
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30996 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 10:37:48 +00:00
Jonathan Gordon
be716c0be8
Finally commit FS#5111 - piezo clicker for ipods!
...
Origional implementation by Robert Keevil with contributions from Frederik Vestre, Stoyan Stratev, Craig Elliott, Michael Sparmann, Thomas Schott, Rosso Maltese, and syncs from a bunch of other people!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30995 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 10:25:43 +00:00
Michael Giacomelli
3ba0e05ab5
Commit FS#12352 by Stanislav Chizhik. Add support for the PCF50635. Enables detection of USB power sources.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30992 a1c6a512-1295-4272-9138-f99709370657
2011-11-15 20:37:47 +00:00
Amaury Pouly
e7e4b131d0
imx233: fix prototype and battery conversion setup code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30989 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:47:59 +00:00
Amaury Pouly
9e4299f6f0
imx233: implement battery reading using power register (automatically updated & scaled by lradc delay)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30988 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:45:25 +00:00
Amaury Pouly
4359b40cf1
imx233: debug raw and mV battery output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30987 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:45:18 +00:00
Amaury Pouly
ea8570b48c
imx233: remove virtual 5V channel (value doesn't make sense), fix battery conversion (need to trigger delay)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30986 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:42:43 +00:00
Amaury Pouly
f791a81e87
imx233: add include for future use of adc to read battery
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30985 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:10:25 +00:00
Amaury Pouly
0cd832a6d4
imx233: fix comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30984 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:07:52 +00:00
Amaury Pouly
d8666336a7
imx233: add adc debug screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30983 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:07:48 +00:00
Amaury Pouly
e167c1d8d7
imx233: add automatic battery conversion using delay channel, make 5V a virtual channel since it has a builtin divider
...
fuze+: use 5V virtual channel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30982 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:05:14 +00:00
Amaury Pouly
a9d56ac5de
imx233: use generic code for both channels and delays arbiter code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30981 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:05:10 +00:00
Amaury Pouly
9a4213c8f3
imx233: cosmetic changes in adc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30980 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:48:45 +00:00
Amaury Pouly
1852dd89ed
imx233/fuze+: add a small delay before powering off to allow the user to release the power button
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30979 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:46:13 +00:00
Amaury Pouly
7fec08927b
fuze+: fix backlight to have a real zero
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30978 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:46:09 +00:00
Amaury Pouly
2a45f7772b
fuze+: fix backlight calculations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30977 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:14:34 +00:00
Andree Buschmann
169b3048e3
Use the timeout api for the gui boost implementation. This ensures that the CPU will be unboosted after the defined timeout, the former implementation could stay boosted in several situations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30975 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 18:00:28 +00:00
Bertrik Sikken
61f61c9773
Sansa clip zip: correct USB vendor/product id
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30970 a1c6a512-1295-4272-9138-f99709370657
2011-11-13 15:10:56 +00:00
Bertrik Sikken
fdc906743f
Sansa clip zip: update lcd_update_rect to even-align horizontal coordinates for the wisechip display type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30969 a1c6a512-1295-4272-9138-f99709370657
2011-11-12 20:14:44 +00:00
Andree Buschmann
f1ee740f2b
Finally submit GUI boost (FS#8668). With this change the CPU is boosted (with a 1 second timeout) on scrollwheel activity in the list, main menu, tree and std context. For now GUI boost is only enabled on scrollwheel targets. The code can easily be enhanced to work with other targets as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30967 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 19:40:32 +00:00
Thomas Martitz
312b2a2de7
Document the internal alpha channel format better, and fixes for 32bit alpha bitmaps.
...
For images, rows need to be even (this is not true for anti-aliased font files).
Fix stride and size calculation. This makes images that have odd pixel rows display properly and fixes buffer overflows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30966 a1c6a512-1295-4272-9138-f99709370657
2011-11-11 19:05:11 +00:00
Amaury Pouly
7aac4188d2
fuze+: fix typo (mdelay vs udelay) in register read (shouldn't change anything) and be sure lcdif is ready
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30958 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 17:29:57 +00:00
Michael Sparmann
6229d623b0
Rework FS#12310 fix (r30906) for better readability. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30953 a1c6a512-1295-4272-9138-f99709370657
2011-11-10 10:37:02 +00:00
Boris Gjenero
415f579bf3
Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30945 a1c6a512-1295-4272-9138-f99709370657
2011-11-09 19:20:33 +00:00
Boris Gjenero
32eb8275f4
Remove last_sleep when it's not needed because IDE power is never turned off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30943 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 23:29:25 +00:00
Thomas Martitz
1280f322ec
Fix build errors and warnings in the lcd drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30940 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 22:04:43 +00:00
Thomas Martitz
f443e7bbf7
Support for transparency in 32bit bitmaps on color targets.
...
This uses the alpha blending capabilities introduced with anti-aliased fonts
to draw bitmaps with transparency information. The bmp loader is extended to read
this information (pass FORMAT_TRANSPARENT in format). The alpha information will
be used when drawing the bitmap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30937 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:36:49 +00:00
Thomas Martitz
13209604c1
Add new lcd_bmp and lcd_bmp_part APIs.
...
This new APIs wrap around lcd_[mono|transparent]_bitmap/_part calls and
handle all kinds bitmaps. The intended use is to draw bitmaps that
come from read_bmp_fd/_file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30936 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 21:34:46 +00:00
Jonathan Gordon
f19f3efb07
Redo r30826 (and hopefully not reintroduce font issues) which cleans up the font API. FONT_UI is deprecated, use screens[screen].getuifont() instead (and .setuifont() to set it after a font has been loaded)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30932 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 10:09:33 +00:00
Jonathan Gordon
452a3ce274
Put icons on buflib:
...
Removes the max icon size limitation and doesnt waste RAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30931 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 09:36:35 +00:00
Michael Giacomelli
64c73c4751
Disable the clock the built in AS3525(v2) bootrom. This is only useful for reverse engineering purposes, so disable during normal operation in case it uses power.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30930 a1c6a512-1295-4272-9138-f99709370657
2011-11-08 02:07:26 +00:00
Amaury Pouly
bbbc2e8877
fuze+: fix typo in lcd init sequence for second lcd type
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30926 a1c6a512-1295-4272-9138-f99709370657
2011-11-07 09:18:24 +00:00
Torne Wuff
569285794b
Bulk convert all DOS line endings to UNIX.
...
For the git migration we want a nice clean repository with UNIX line
endings. git does not use svn:eol-style, we just need the file contents to be
sane.
Sorry everybody. I know this messes up blame.
Scumbag *NIX developer says migrating to git will make line ending issues go
away; commits giant change to svn which changes line endings anyway. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 22:44:25 +00:00
Jens Arnold
ae601954aa
Make usage of TALK_PARTIAL_LOAD actually Ondio specific. MMC is not always slow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30917 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 14:25:33 +00:00
Amaury Pouly
0407d92c65
imx233: don't include debug-imx233.c in bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30914 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 13:30:09 +00:00
Michael Sparmann
661311256a
Commit FS#12209 by Vencislav Atanasov: iPod 6g/classic usb product id
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30911 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 12:06:20 +00:00
Michael Sparmann
2ce48832d8
iPod Classic: Set LCD controller configuration register during initialization and don't rely on the bootloader doing that (closes FS#12233)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30908 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 11:35:21 +00:00
Michael Sparmann
33d6bd61b5
usb-s3c6400x.c: Fix memory corruption bug (closes FS#12310)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30906 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 00:56:26 +00:00
Michael Sparmann
052231748f
usb-s3c6400x.c: Remove an unused variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30905 a1c6a512-1295-4272-9138-f99709370657
2011-11-06 00:04:52 +00:00
Marcin Bukat
f4b74b269a
MPIO HD300: vastly improve sound quality. This unfortunately means reverting r28797 which introduced poping noise
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30904 a1c6a512-1295-4272-9138-f99709370657
2011-11-05 14:01:22 +00:00
Bertrik Sikken
9310fc0b4c
Sansa clip zip: do not enable display if it's already enabled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30903 a1c6a512-1295-4272-9138-f99709370657
2011-11-05 12:30:19 +00:00
Bertrik Sikken
2181ef3288
Sansa clip zip: swap RGB<>BGR for WiseChip display
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30898 a1c6a512-1295-4272-9138-f99709370657
2011-11-04 08:04:25 +00:00
Bertrik Sikken
e71750b7a3
Make local functions and variables static where possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30897 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 23:32:49 +00:00
Andrew Ryabinin
2164aab902
Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30891 a1c6a512-1295-4272-9138-f99709370657
2011-11-03 11:53:02 +00:00
Bertrik Sikken
50211e2054
Sansa clip zip: show AMSv2 variant in debug menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30890 a1c6a512-1295-4272-9138-f99709370657
2011-11-02 22:40:35 +00:00
Amaury Pouly
856fb705c2
fuze+: use macro and add a few static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30889 a1c6a512-1295-4272-9138-f99709370657
2011-11-02 17:48:04 +00:00
Bertrik Sikken
58543296c9
Sansa clip zip: attempt to fix the pixel format swappedness for good
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30873 a1c6a512-1295-4272-9138-f99709370657
2011-10-31 20:17:04 +00:00
Bertrik Sikken
d11e5201dc
Sansa clip zip: implement lcd_write_data function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30872 a1c6a512-1295-4272-9138-f99709370657
2011-10-30 20:35:03 +00:00