rockbox/firmware/target/coldfire/iaudio
Thomas Martitz c1bd9b0361 Rework powermgmt to enable code re-use on appliation and sims.
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application)
to break powermgmt.c's assumption about the ability to read battery voltage.
There's now additionally percentage (android) and remaining time measure
(maemo). No measure at all also works (sdl app). If voltage can't be measured,
then battery_level() is king and it'll be used for power_history and runtime
estimation.

* Implement target's API in the simulator, i.e. _battery_voltage(), so it
doesn't need to implement it's own powermgmt.c and other stubs. Now
the sim behaves much more like a native target, although it still
changes the simulated battery voltage quickly,

* Other changes include include renaming battery_adc_voltage() to
_battery_voltage(), for consistency with the new target functions and
making some of the apps code aware that voltage and runtime estimation
is not always available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:38 +00:00
..
m3 Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
m5 Smaller & faster greylib blitting on iriver H1x0 and iAudio M5, based on the ARM version but using mulu.l for the bit shuffling. ISR speedup is ~10%. 2010-05-31 19:56:21 +00:00
x5 Convert lcd_activation callbacks to use the event system to allow for multiple parallel callbacks (for custom statusbar). 2009-10-20 21:54:59 +00:00
adc-iaudio.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
adc-target.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
app.lds */app.lds: remove STUBOFFSET 2010-09-20 17:09:55 +00:00
ata-iaudio.c FS#12418 - Merge prototypes from ata-target.h files into new file ata-driver.h. After this change: 2011-12-08 21:23:53 +00:00
audio-iaudio.c Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio audio driver, fmradio i2c driver, and power driver (M5 + X5 only). 2009-06-12 18:53:44 +00:00
boot.lds Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289. 2011-06-19 17:23:18 +00:00
button-target.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
fmradio_i2c-iaudio.c Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio audio driver, fmradio i2c driver, and power driver (M5 + X5 only). 2009-06-12 18:53:44 +00:00
lcd-remote-as-iaudio.S Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lcd-remote-iaudio.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lcd-remote-target.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
pcf50606-iaudio.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
power-x5m5.c Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio audio driver, fmradio i2c driver, and power driver (M5 + X5 only). 2009-06-12 18:53:44 +00:00
powermgmt-iaudio.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
system-iaudio.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
usb-iaudio.c usb-target.h: remove 2011-12-31 18:44:55 +00:00