Michael Sevakis
d14f79dc7b
Gigabeat S: Ensure a few more clocks are stopped for things we aren't using at the moment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19654 a1c6a512-1295-4272-9138-f99709370657
2009-01-03 07:29:26 +00:00
Bertrik Sikken
32c2f455d1
static/const/#include/tab police on various files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19643 a1c6a512-1295-4272-9138-f99709370657
2009-01-02 21:43:52 +00:00
Björn Stenberg
9e3844db07
Updated Fuze button code. FS#9645 by Thomas Martitz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19629 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 21:02:56 +00:00
Maurus Cuelenaere
5bf0cf5910
Ingenic Jz4740:
...
* Fix compiling
* More USB work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19628 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 18:15:24 +00:00
Michael Sevakis
e25505daa4
Hehe. Broke it already in last-second sanitation. Put some bits back.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19620 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:54:26 +00:00
Michael Sevakis
2e99b3d931
Gigabeat S: Allow recording from FM. Give FM the same volume range as playback. NOTE: This bumps the si4700 output volume to -0dB so other players with that may need a minor adjustment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19619 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:38:44 +00:00
Maurus Cuelenaere
9ac7af749b
Ingenic players:
...
* Further implement USB driver
* Add preliminary clock setup
* Fix USB VID/PID
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19618 a1c6a512-1295-4272-9138-f99709370657
2008-12-31 01:11:04 +00:00
Björn Stenberg
5d3a035cb3
Implemented system_reboot().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19617 a1c6a512-1295-4272-9138-f99709370657
2008-12-30 23:53:35 +00:00
Björn Stenberg
f59724414b
Fixed m200v4 red build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19616 a1c6a512-1295-4272-9138-f99709370657
2008-12-30 21:56:23 +00:00
Björn Stenberg
93afe5297b
Cleaner usb detection.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19615 a1c6a512-1295-4272-9138-f99709370657
2008-12-30 21:17:43 +00:00
Björn Stenberg
f2d2b8c3c7
Added usb_detect() for Clip, Fuze, E200v2 and C200v2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19614 a1c6a512-1295-4272-9138-f99709370657
2008-12-29 23:32:11 +00:00
Björn Stenberg
9ad94b9c35
Use the same poweroff count for clip as for other AMS targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19609 a1c6a512-1295-4272-9138-f99709370657
2008-12-28 21:58:13 +00:00
Michael Sevakis
1fea6f6b22
Make si4700 tuner driver more sane with bit and field defines and entirely hide strange i2c interface from code with write/set/clear/masked functionality. On Gigabeat S use by-the-book busmode selection and GPIO lines. Implement some primitive station detection, debug registers in screen, and misc. changes to tie things together.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19600 a1c6a512-1295-4272-9138-f99709370657
2008-12-27 19:18:50 +00:00
Vitja Makarov
78d625f840
i7: set low-battery values and enable shutdown on low-battery
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19597 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 19:31:48 +00:00
Michael Sevakis
eaea11230a
imx31: Fix a couple small problems with the i2c driver that went unnoticed until FM. Reset addr_count always and stop resetting module before STOP is actually generated. Simplify a tiny bit and remove inactive preprocessor block.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19596 a1c6a512-1295-4272-9138-f99709370657
2008-12-26 16:06:40 +00:00
Michael Giacomelli
e25f1f9f2a
Hopefully fix read.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19586 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 03:23:22 +00:00
Michael Giacomelli
70e9c7aed3
Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
2008-12-25 01:46:16 +00:00
Michael Sevakis
f921f74873
Gigabeat S: Fix a divide by zero in runtime estimation caused by using actual charger current. Use default constant for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19584 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 23:54:57 +00:00
Michael Sevakis
4f2bc16f5c
Gigabeat S: Simplify and use a thermistor lookup table (ADC value => deg C) . Saves some binsize.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19583 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 23:36:33 +00:00
Michael Sevakis
377b42b63b
H10 can distinguish USB and MAIN charger input so return proper flags. H100s were misconfigured and should use CHARGING_SIMPLE. Comment more on what charging types mean in config.h.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19582 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 19:36:37 +00:00
Michael Sevakis
3157e13956
Simplify powermgmt thread loops so it calls functions turn (no more power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 16:58:41 +00:00
Michael Giacomelli
3e7bdb9c24
Fix mistake in c200v2 button driver noticed by Thomas Maritiz.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19577 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:53:45 +00:00
Michael Giacomelli
c97f640060
Commit FS#9679 by Thomas Martitz. Adds c200v2 to the target tree. Has some buttons defined, a bootloader, and stubs for most drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19574 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:10:18 +00:00
Mark Arigo
be26da8662
Remove some unused code in the Philips SA9200 port.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19573 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 03:45:32 +00:00
Michael Sevakis
491ed5ed6a
Gigabeat S: Make tuner_power have the expected behavior (return old state). Static i2c node structure and add fmradio_i2c_enable to the fmradio i2c API for those that can implement it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19550 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 19:39:11 +00:00
Vitja Makarov
19413fc806
iaudio7: add battery voltage monitoring
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19549 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 19:16:54 +00:00
Michael Sevakis
f6789a7d73
Fix red. Remove stale comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19548 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 18:27:59 +00:00
Michael Sevakis
5667682dd2
Gigabeat S: Implement charging and power control to charge from AC or USB. Hold MENU while plugging USB cable to charge from USB without connecting. Under Windows, plugging USB for charging only but not connecting still needs to be properly handled (driver popup issue) but it will charge when connected normally-- no issue under Linux. Some accomodating changes made to powermgmt.c will soon be made nicer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19547 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 18:10:36 +00:00
Frank Gevaerts
af805be6cb
revert accidental commit of unrelated files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19539 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 16:32:13 +00:00
Frank Gevaerts
c88cd20ab2
merge 19488 back from the 3.1 branch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19538 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 16:30:09 +00:00
Björn Stenberg
511a8690c6
Fixed compiler warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19512 a1c6a512-1295-4272-9138-f99709370657
2008-12-20 20:48:27 +00:00
Maurus Cuelenaere
e4c09799a0
Ingenic players:
...
* Enable clocks when needed
* Fix VX747+ button_hold()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19505 a1c6a512-1295-4272-9138-f99709370657
2008-12-20 13:10:04 +00:00
Maurus Cuelenaere
ec380a79d9
Ingenic players: disable LCD clock when unneeded
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19497 a1c6a512-1295-4272-9138-f99709370657
2008-12-20 01:57:55 +00:00
Maurus Cuelenaere
c983e3b1d2
Ingenic targets:
...
* LCD rework
* Dynamic DMA enabling
* PCM cleanup
* USB: replace printf() with logf()
* System: get rid of in_interrupt_mode()
* Backlight: add support for software PWM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19495 a1c6a512-1295-4272-9138-f99709370657
2008-12-20 01:48:46 +00:00
Michael Sevakis
ac5059b1b5
Use set/clr instead of mod functions where applicable.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19486 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 15:30:30 +00:00
Michael Sevakis
2b4290cc12
Add a couple useful shorthand atomic register write functions for imx31. Conversion to them where appropriate to make cleaner code to be done.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19485 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 13:46:49 +00:00
Maurus Cuelenaere
9da2456c26
Fix SVN properties
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19482 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 11:29:18 +00:00
Maurus Cuelenaere
40ec543052
* Add support for Onda VX747+ (FS#9674 by Olivier Barbut)
...
* Fix Onda VX767 support
* Small cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19481 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 11:13:58 +00:00
Mark Arigo
9bf93ba007
Working touchpad for the Philips HDD1630 using the Synaptics driver. Like the m:robe 100, the strip is divided into up, select, and down button regions. You can't swipe like in the OF. The keymap still needs some work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19480 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 03:31:26 +00:00
Bertrik Sikken
a6c62a218a
Renamed as3525-codec.c to ascodec-as3525.c to bring it in line with the naming convention of the other driver
...
files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19469 a1c6a512-1295-4272-9138-f99709370657
2008-12-17 20:16:20 +00:00
Mark Arigo
f2b66918e6
Move the Synaptics touchpad driver for the m:robe 100 to a common place. It will (soon) be used for the Philips HDD1630.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19465 a1c6a512-1295-4272-9138-f99709370657
2008-12-17 04:38:53 +00:00
Mark Arigo
a742c3cd56
Make the Philips SA9200 port build again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19464 a1c6a512-1295-4272-9138-f99709370657
2008-12-17 01:58:40 +00:00
Bertrik Sikken
c7c546cf59
AMS Sansa: add fmradio i2c support for e200v2 and the fuze, by Thomas Martitz and Michael Chicoine
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19463 a1c6a512-1295-4272-9138-f99709370657
2008-12-16 22:58:47 +00:00
Michael Giacomelli
4e79f8edc7
Commit updated FS#9569 by Michael Chicoine. Fixes a bug in lcd_update_rect on the e200v2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19453 a1c6a512-1295-4272-9138-f99709370657
2008-12-16 02:50:39 +00:00
Michael Giacomelli
f78bf7d9fc
Commit FS#9623 by Thomas Martitz. General LCD clean up. Removes needless delays, fixes some glitches, updates comments, and brings LCD updates closer to procedure found in OF.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19452 a1c6a512-1295-4272-9138-f99709370657
2008-12-16 02:42:38 +00:00
Michael Giacomelli
8493da0974
Commit FS#9652 by Thomas Martitz. Enable microSD on e200v2 and fix initialization for the fuze and e200v2.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19451 a1c6a512-1295-4272-9138-f99709370657
2008-12-16 02:04:08 +00:00
Frank Gevaerts
66b97219fc
Actually set sd_enabled (again by Thomas Martitz)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19450 a1c6a512-1295-4272-9138-f99709370657
2008-12-15 23:49:43 +00:00
Frank Gevaerts
f9fb52b933
fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19449 a1c6a512-1295-4272-9138-f99709370657
2008-12-15 23:47:17 +00:00
Frank Gevaerts
9f37f04619
Apply FS#9650 (by Thomas Martitz). This adds hotswap and microSD support for the Fuze. It doesn't seem to work for all cards yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19447 a1c6a512-1295-4272-9138-f99709370657
2008-12-15 23:37:16 +00:00
Dominik Wenger
a654946622
correct battery readout for m200v4. Percentage is still uncalibrated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19420 a1c6a512-1295-4272-9138-f99709370657
2008-12-13 15:57:41 +00:00
Dominik Wenger
90bcf9be5e
m200v4: rename Keys, so they match better other targets with similar key-layout. Enable plugins, add keymaps for plugins. More keymap improvements needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19405 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 19:50:49 +00:00
Michael Sevakis
4f81ee65fa
Argh. Being stupid. Missed one. Nap time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19403 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 13:08:35 +00:00
Michael Sevakis
b6e78acc5e
Get rid of some pcm_apply_settings cruft at the low level I somehow missed. Move the ones in pcm.c around to better spots. Remove a variable from pcm-pnx0101.c that should no longer be there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19402 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 12:46:57 +00:00
Michael Sevakis
4bbaef6fd5
Fix-m the ruddiness.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19401 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 11:20:58 +00:00
Michael Sevakis
e69d567d9e
Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 11:01:07 +00:00
Mark Arigo
08585e417b
FS#9591 by Anton Veretenenko for the Philips GoGear HDD1620/1630 (with a few changes by me). Fixes boot problem, pixel format, sound, and a few other things.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19395 a1c6a512-1295-4272-9138-f99709370657
2008-12-12 04:56:25 +00:00
Michael Sevakis
2e8266df12
Fix a PortalPlayer PCM bug that made keyclick malfunction. Should fix FS#8836. Move FIQ banked register init out of crt0-pp.S and into pcm-pp.c to keep setups local to PCM driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19388 a1c6a512-1295-4272-9138-f99709370657
2008-12-11 01:48:31 +00:00
Michael Sevakis
f2f394793c
Fix red and a couple other things I somehow missed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19378 a1c6a512-1295-4272-9138-f99709370657
2008-12-10 09:11:43 +00:00
Michael Sevakis
8cfbd3604f
Use cookies for thread identification instead of pointers directly which gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
2008-12-10 08:57:10 +00:00
Nils Wallménius
65f61d6cce
FS#9609 FM radio support for the Gigabeat S, seeking/scanning is not yet
...
implemented but manual tuning works nicely. Thanks to Rafaël Carré,
Bertrik Sikken and Robert Menes for suggestions and debugging help.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19372 a1c6a512-1295-4272-9138-f99709370657
2008-12-09 20:48:04 +00:00
Dominik Wenger
02184a242e
make fmradio-i2c code from clip more generic, so it works for m200v4 and hopefully all other as3525 targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19370 a1c6a512-1295-4272-9138-f99709370657
2008-12-09 17:21:16 +00:00
Michael Sevakis
cb06108024
Meg-FX: Enable a real tick in the bootloader. Do cleanups before switching to firmware and cache handling. Put proper main return address in lr.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19368 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 23:31:05 +00:00
Michael Sevakis
ea929a3e45
Have drivers merged for WM8711/21/31 since they are so similar but respect all register differences between codecs. Change minis to #define the actual codec type. If anything breaks check if OSCPD and CLKOUTPD need to be clear for the target- H10 is fine. A nice naming convention suggestion for WM codec multidrivers would be welcome rather than naming for a specific chip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19367 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 21:09:56 +00:00
Bertrik Sikken
ed96b2a4dd
Sansa Clip: implement the fmradio_i2c interface using generic_i2c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19366 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 19:32:05 +00:00
Rafaël Carré
9856a37de3
Sansa Clip: revert 19353
...
If we don't set pin B6 to 1, display can go off at random times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19364 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 16:39:55 +00:00
Michael Sevakis
528ec2a555
Meg F/X: Radically changing divider settings messed up the fake sleep in the bootloader. They aren't reset even after powering off. Make sure they are always specified. Move that code to target tree as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19358 a1c6a512-1295-4272-9138-f99709370657
2008-12-07 17:48:42 +00:00
Michael Sevakis
89da4328a0
Meg F/X can beep and click using a hardware timer so let us try it out. To match things up better, fix PCM beeping to give correct frequency (and get a pointer wrap bug too). Do some minor adjustments to compensate for corrections.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19355 a1c6a512-1295-4272-9138-f99709370657
2008-12-07 00:07:47 +00:00
Frank Gevaerts
3648e87054
Add small delays before lcd_write_data() and lcd_write_command(). This seems to be needed on some clips (i.e. mine)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19354 a1c6a512-1295-4272-9138-f99709370657
2008-12-06 16:39:49 +00:00
Rafaël Carré
8956f2b7f5
Sansa Clip: No need to use GPIO pin B6 in LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19353 a1c6a512-1295-4272-9138-f99709370657
2008-12-06 01:30:46 +00:00
Rafaël Carré
68be3b15a5
Sansa Clip: No need to use GPIO pin B5 in LCD - it's likely used in FM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19352 a1c6a512-1295-4272-9138-f99709370657
2008-12-05 21:57:49 +00:00
Rafaël Carré
ab64424598
Sansa AMS: use vectored interrupts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19351 a1c6a512-1295-4272-9138-f99709370657
2008-12-05 17:10:11 +00:00
Rafaël Carré
f07aa65117
Sansa AMS: correct VIC registers usage
...
* Do not use |= on write only registers
* Do use it in when setting kernel tick timer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19350 a1c6a512-1295-4272-9138-f99709370657
2008-12-05 14:37:28 +00:00
Rafaël Carré
e3a970f4eb
Sansa AMS "High Mem" : fix main binary linking broken by r19342
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19346 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 23:03:05 +00:00
Bertrik Sikken
894dbfac18
pcm-as3525.c : don't use |= on a write-only register (VIC_INT_EN_CLEAR).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19345 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 22:56:11 +00:00
Rafaël Carré
e97191faa7
Sansa AMS: Disable DMA clocks when not in use
...
Add dma_retain() and dma_release() to reference count the users
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19344 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 22:54:06 +00:00
Rafaël Carré
3e4f3fe70e
Sansa AMS: disable I2SOUT clocks when playback is stopped
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19343 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 22:54:02 +00:00
Rafaël Carré
6aa807d321
Sansa AMS: PCM driver (FS#9592)
...
Note that on low memory targets (Clip/m200v4 tested) you will encounter
random crashes. Applying FS#9332 seems to help a lot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19342 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 22:27:48 +00:00
Rafaël Carré
38e97057a9
Sansa AMS: Don't allocate stack in irq_handler
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19338 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:55:20 +00:00
Rafaël Carré
8e19a739be
Sansa AMS SD driver: don't check non fatal flags of MCI_STATUS
...
Correct the logic when enabling interrupt line (multivolume)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19337 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:55:09 +00:00
Maurus Cuelenaere
9f76f23ca5
Oops, logic error! Interrupts enabled != in interrupt mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19336 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:35:47 +00:00
Maurus Cuelenaere
203722136c
Implement in_interrupt_mode() properly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19334 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:06:52 +00:00
Rafaël Carré
1ab08e6879
Sansa AMS: updates DMA API
...
* Adds a callback to be called on end of transfer
* Add a function to disable a channel
* Services the 2 channels if both are active in the isr
SD driver: panics on error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19333 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 20:48:19 +00:00
Rafaël Carré
76617c8f94
Sansa Clip: remove unused variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19332 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 20:37:23 +00:00
Rafaël Carré
45711ac286
Sansa AMS: centralize clock settings in clock-target.h
...
Reorder system_init() to initialize peripherals not only in bootloader
Use a 65MHz PCLK (and memclk) which will be needed for realtime decoding
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19330 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 20:04:31 +00:00
Maurus Cuelenaere
7ea9e31658
Ingenic targets:
...
* Get audio working (only noise atm)
* Clean up some stuff in USB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19329 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 19:44:03 +00:00
Maurus Cuelenaere
c848d2dd99
Fix warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19328 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 18:30:36 +00:00
Maurus Cuelenaere
a119c44c7e
Ingenic targets:
...
* Clean up codec & PCM + functional changes
* LCD: Don't wait on DMAC in lcd_unlock()
* SADC: add battery mutex + other changes
* NAND: add mutex
* USB rework (still not working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19327 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 18:26:19 +00:00
Michael Sevakis
a1ab7a55ff
Meg-FX: s3c register definitions really should be unsigned. Switch from 'int' to 'unsigned long' like other targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19325 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 15:06:48 +00:00
Michael Sevakis
1616e66e55
Gigabeat S: Turn off backlight LED supply after a 2-second delay and save a little power. Hardware fading required keeping supply enabled during fade out. Let fade happen at poweroff (might as well~~~).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19322 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 04:16:53 +00:00
Michael Sevakis
add677fca8
Fix some red. The stubs in bootloaders are giving some trouble.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19316 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 20:43:10 +00:00
Michael Sevakis
58eb784a5d
Straighten out some powermanagement stuff. Give target complete control over how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 19:54:25 +00:00
Dominik Wenger
0d0cc039f8
fix hold-button handling for m200v4.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19314 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 18:41:02 +00:00
Rafaël Carré
874f4376ff
Sansa AMS: ignore buttons when hold switch is on
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19311 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 11:30:18 +00:00
Maurus Cuelenaere
815998c669
Jz4740 targets: make sure you don't yield when in interrupt mode
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19309 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 00:20:24 +00:00
Maurus Cuelenaere
18787b15df
Fix compiling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19305 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 21:41:28 +00:00
Bertrik Sikken
d9116da5de
Move Clip specific power management stuff (specifically the battery discarge curve) to powermgmt-clip.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19303 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 19:50:31 +00:00
Rafaël Carré
6840cd1277
Sansa Clip: Do not return HOLD status in button_read_device()
...
It is read separately, and so backlight/buttonlight can be disabled
while hold switch is on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19302 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 17:37:23 +00:00
Michael Sevakis
c96c2f476d
Meg-FX: Do a bit of LED service simplification and save a tiny bit of code size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19300 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 12:43:20 +00:00
Michael Sevakis
8c442b6b12
Oops. Should subtract one from actual default value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19299 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 03:15:02 +00:00
Michael Sevakis
cd8c87e74a
Fix another bug spotted in LED service. Default setting should also use log_brightness values.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19298 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 03:08:47 +00:00