Commit graph

33 commits

Author SHA1 Message Date
Michael Sevakis
9e8fe0e4c6 General: changed local adc to voltage conversions in several places to use battery_voltage. Added battery_read_info function for unfiltered battery information. x5: removed adc_read as a distinct function. Removed adc tick task. adc_init is empty inline. Adjusted battery scale, voltage to level array and read 10 bits from the ADC for battery since 255 levels is not enough for true centivolt resolution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11396 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 11:33:38 +00:00
Jens Arnold
f40f0debcb Adapted more Makefiles to the more efficient info printing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11390 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 01:40:20 +00:00
Jens Arnold
0dd1f8ec11 Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Jens Arnold
6643b0dd62 Use cvs uclpack for bootbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9009 a1c6a512-1295-4272-9138-f99709370657
2006-03-11 22:53:03 +00:00
Linus Nielsen Feltzing
dc9e201671 Support for a colon-separated path in APPEXTRA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Jörg Hohensohn
977aa614ba we have to use the new ROMbox link address here, too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7437 a1c6a512-1295-4272-9138-f99709370657
2005-08-31 23:50:40 +00:00
Jörg Hohensohn
02cfd6a6e9 forgot to commit these improvements to the bootbox charging info, since quite a while
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7387 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 07:24:21 +00:00
Jens Arnold
204814f338 Clean .ucl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7110 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 20:55:31 +00:00
Jens Arnold
5d9f67d37c Added missing dependencies.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7108 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 20:36:12 +00:00
Jens Arnold
8831a0a1c6 Postfix for bootbox: charging screen reacts on ON press not release as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7105 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:16:14 +00:00
Jens Arnold
7c7dd43ccf Fixed a long-standing bug in the charging screen. The charging screen froze when OFF was pressed. The intention was to powerdown, but this cannot work on archos, so the charging screen must not react on OFF. Made the charging screen react on the ON press instead of the release for better feedback. Bootbox uses SYS_POWEROFF for powering down.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7104 a1c6a512-1295-4272-9138-f99709370657
2005-07-11 19:14:26 +00:00
Jörg Hohensohn
1a7f1f44c7 improvements suggested by Jens: prompt for USB in case of problems, handle power off button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7089 a1c6a512-1295-4272-9138-f99709370657
2005-07-10 05:11:07 +00:00
Jörg Hohensohn
7de0905fbf I though I removed this unnecessary line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6982 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 07:52:15 +00:00
Jörg Hohensohn
6aa8525f24 fix for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 07:19:55 +00:00
Jörg Hohensohn
a0add0c97f Rolo problem fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6787 a1c6a512-1295-4272-9138-f99709370657
2005-06-21 08:30:23 +00:00
Jörg Hohensohn
9cfa47a226 "Bootbox" is a minimalistic rescue firmware for Archos models. Not working yet (Rolo problems). Created by configure script as bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6786 a1c6a512-1295-4272-9138-f99709370657
2005-06-21 00:11:14 +00:00
Jörg Hohensohn
431be7f597 now can compose images with ROMbox, too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5509 a1c6a512-1295-4272-9138-f99709370657
2004-12-23 20:15:13 +00:00
Jens Arnold
78acda25b3 Player: Correctly probe the ability of the box to control HD power. This is not determined by the ROM version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5486 a1c6a512-1295-4272-9138-f99709370657
2004-12-16 22:24:57 +00:00
Jens Arnold
6173ef4359 Removed dupe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5479 a1c6a512-1295-4272-9138-f99709370657
2004-12-03 21:44:05 +00:00
Jens Arnold
4b3501f2f6 Code policed (removed tab chars, no C++ comments, line length); all register manipulation hex values match register width. No code change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5478 a1c6a512-1295-4272-9138-f99709370657
2004-12-03 21:43:21 +00:00
Jörg Hohensohn
6fa25709d1 checksum calculation was wrong (must be the sum of unscrambled), thanks Jens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5462 a1c6a512-1295-4272-9138-f99709370657
2004-11-24 00:11:18 +00:00
Jens Arnold
b7638be390 Fix: read the correct registers for player HD spindown
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5447 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 01:21:53 +00:00
Jens Arnold
cbf9da4b60 Added make clean
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5445 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 00:37:40 +00:00
Jens Arnold
b8b94f171a Adjustments for player bootloader: (1) Correct HD power pin polarity. (2) Only power on HD if not started by charger insertion. (3) Changed button read to use port C instead of ADC. This allows for 3 buttons as on the other platforms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5442 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 23:49:21 +00:00
Jörg Hohensohn
0044a04c22 the -t test option now does no memory test, but enables 38400 baud on players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5441 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 23:04:40 +00:00
Jörg Hohensohn
50d363f32f HD spindown for Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5440 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 22:46:19 +00:00
Jens Arnold
c519e6365e Makefile and adjustments for compiling uart_boot under cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5439 a1c6a512-1295-4272-9138-f99709370657
2004-11-19 22:44:45 +00:00
Jörg Hohensohn
4e4231069a Ondio support for flash boot loader (yes, I have flashed my Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5131 a1c6a512-1295-4272-9138-f99709370657
2004-09-29 21:54:29 +00:00
Jörg Hohensohn
3b6cc1c3c2 option to hold power, for FM+V2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4366 a1c6a512-1295-4272-9138-f99709370657
2004-03-11 18:02:53 +00:00
Jörg Hohensohn
44298163ba No more spinning disk while charging flashed FM+V2 (you need the new bootloader to utilize it). ToDo: remove now false voltage reading from charging screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4095 a1c6a512-1295-4272-9138-f99709370657
2003-12-03 01:03:54 +00:00
Jörg Hohensohn
a64e84e3e9 index file for source tarball
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4085 a1c6a512-1295-4272-9138-f99709370657
2003-12-01 08:10:00 +00:00
Jörg Hohensohn
6a4e4c87c2 source code for all my flash stuff, now finally in cvs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4083 a1c6a512-1295-4272-9138-f99709370657
2003-11-30 11:37:43 +00:00
Björn Stenberg
5164180054 Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4078 a1c6a512-1295-4272-9138-f99709370657
2003-11-28 23:48:20 +00:00