summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c (follow)
Commit message (Collapse)AuthorAge
...
* GSoC/Buflib: Enable compaction in buflib.Thomas Martitz2011-08-30
| | | | | | | | | | | | | | | | | | | This enables the ability to allocate (and free) memory dynamically without fragmentation, through compaction. This means allocations can move and fragmentation be reduced. Most changes are preparing Rockbox for this, which many times means adding a move callback which can temporarily disable movement when the corresponding code is in a critical section. For now, the audio buffer allocation has a central role, because it's the one having allocated most. This buffer is able to shrink itself, for which it needs to stop playback for a very short moment. For this, audio_buffer_available() returns the size of the audio buffer which can possibly be used by other allocations because the audio buffer can shrink. lastfm scrobbling and timestretch can now be toggled at runtime without requiring a reboot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30381 a1c6a512-1295-4272-9138-f99709370657
* GSoC/Buflib: Add buflib memory alocator to the core.Thomas Martitz2011-08-30
| | | | | | | | | | | | | | | | | The buflib memory allocator is handle based and can free and compact, move or resize memory on demand. This allows to effeciently allocate memory dynamically without an MMU, by avoiding fragmentation through memory compaction. This patch adds the buflib library to the core, along with convinience wrappers to omit the context parameter. Compaction is not yet enabled, but will be in a later patch. Therefore, this acts as a replacement for buffer_alloc/buffer_get_buffer() with the benifit of a debug menu. See buflib.h for some API documentation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30380 a1c6a512-1295-4272-9138-f99709370657
* ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTATBertrik Sikken2011-07-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30204 a1c6a512-1295-4272-9138-f99709370657
* Move dbg_hw_info() into target tree. FS#11735 by meMarcin Bukat2011-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29964 a1c6a512-1295-4272-9138-f99709370657
* Do not show IRMax/IWMax in the disk info debug screen for sd cards with CSD ↵Bertrik Sikken2011-04-11
| | | | | | version > 1.0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29703 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 500: Clean up warning.Karl Kurbjun2011-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29217 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 500 TSC2100 Debug: Use hex values instead of binary.Karl Kurbjun2011-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29214 a1c6a512-1295-4272-9138-f99709370657
* Better boost calculation for multifrequency CPUs. Frequencies between ↵Michael Sevakis2011-01-22
| | | | | | minimum and maximum count as fractional boost. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29115 a1c6a512-1295-4272-9138-f99709370657
* i.MX31: Add a debug menu to play around with DVFS/DPTC settings for fun, ↵Michael Sevakis2011-01-22
| | | | | | testing or benchmarking purposes. Can set the CPU frequency working point, whether DPTC voltage scaling is enabled and change the software-programmable load tracking weights. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29113 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#11776 by Jonas Haggqvist. Enables option to log building the ↵Michael Giacomelli2010-12-11
| | | | | | database in order to trouble shoot crashes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28789 a1c6a512-1295-4272-9138-f99709370657
* MPIO HD300 - initial commitMarcin Bukat2010-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28680 a1c6a512-1295-4272-9138-f99709370657
* iPod Nano 2G: Show all PLLPMS and CLKCON values in the battery debug screenMichael Sparmann2010-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28586 a1c6a512-1295-4272-9138-f99709370657
* fix sdl RaaA buildMarcin Bukat2010-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28533 a1c6a512-1295-4272-9138-f99709370657
* move dbg_ports() from apps/menu_debug.c to target tree. FS#11712 by me.Marcin Bukat2010-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28522 a1c6a512-1295-4272-9138-f99709370657
* Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. ↵Marcin Bukat2010-10-31
| | | | | | FS#11189 by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28425 a1c6a512-1295-4272-9138-f99709370657
* HDD6330: Try to adapt the keys for the new touchpad code, remove the non ↵Szymon Dziok2010-10-18
| | | | | | existing buttons, enable morse input. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28306 a1c6a512-1295-4272-9138-f99709370657
* iap: make variable serbuf non-globalBertrik Sikken2010-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28128 a1c6a512-1295-4272-9138-f99709370657
* Unify 32mb and 64mb ipod video builds - FS#11580Frank Gevaerts2010-08-31
| | | | | | | | Since memory on 32mb ipod videos is mapped twice, a 64mb build still has codecs and plugins mapped in a usable area. This means that all that needs to be done to support 32mb and 64mb boards with the same build is to adjust audiobufend to avoid using more than the actually present RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27960 a1c6a512-1295-4272-9138-f99709370657
* archos player debug menu: factorize and use lcd_putsfRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27932 a1c6a512-1295-4272-9138-f99709370657
* Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G.Marcin Bukat2010-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27865 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Fix a few yellowsThomas Martitz2010-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27558 a1c6a512-1295-4272-9138-f99709370657
* Beautify view_battery() graph in debug menu. FS#11324 by meMarcin Bukat2010-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27467 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Add an 320x240 SDL application target.Thomas Martitz2010-07-06
| | | | | | | It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR. It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz2010-06-21
| | | | | | | | | | | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
* debug menu: avoid using constant variables in array initializationRafaël Carré2010-06-21
| | | | | | gcc fails to consider indexes as constant when building with -O0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27002 a1c6a512-1295-4272-9138-f99709370657
* The mystery FM chip in some Sansa Clip+ players has been identified as a ↵Bertrik Sikken2010-06-16
| | | | | | RDA5802, so rename files and functions. Also fix several bugs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26871 a1c6a512-1295-4272-9138-f99709370657
* Support for mystery FM chip in some Sansa Clip+, FS #11403 by meBertrik Sikken2010-06-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26864 a1c6a512-1295-4272-9138-f99709370657
* Add the GPIO output-enable bits to the debug screen on PP502xTorne Wuff2010-06-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26614 a1c6a512-1295-4272-9138-f99709370657
* remane hotswap.* to sdmmc.*. The contents have nothing at all to do with ↵Frank Gevaerts2010-06-05
| | | | | | hotswapping things git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26598 a1c6a512-1295-4272-9138-f99709370657
* New USB charging system, part 1 - API rework and user-visible setting updateTorne Wuff2010-06-05
| | | | | | | | | | | | | | | 1) "Charge during USB connection" option is now tristate: off/on/force. Currently "force" behaves just like "on", but in future it will allow charging even when it was not possible to positively identify a charger. 2) The H300 code has been adjusted to use the new system but there should be no functional differences, it already had the USB charging option and its USB/charging support is hardware controlled. 3) The Gigabeat S code has been adjusted to use the new system: the player now has the USB charging option, which wasn't previously available. The player will only charge at full speed when allowed to do so by a working USB host, so USB AC adapters won't work very well; however, they didn't work before either, so this is not a change in functionality. 4) The iPod Nano 2G code has been adjusted to use the new system: it already had the USB charging option. Using a USB AC adapter won't charge at full speed any more (it did before) - the old implementation was equivalent to the not-yet-implemented "force" option in the new system. No other target should be affected. Support for the "force" mode and support for at least some other iPod models will come in a future commit :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26570 a1c6a512-1295-4272-9138-f99709370657
* Add charging/discharging indication to battery debug menu if CONFIG_CHARGING ↵Marcin Bukat2010-05-19
| | | | | | >= CHARGING_MONITOR git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26162 a1c6a512-1295-4272-9138-f99709370657
* as3514/as3543 fixesRafaël Carré2010-05-17
| | | | | | | | | | | | | | | | | | | | | | | - Enable end of charge monitoring once, it doesn't need to be disabled - Acknowledge the first (wrong) end of charge interrupt on charger enable (this had been broken in r25299) - Centralize reads to ENRD* registers and cache the results when needed - on PP it is not needed because reads are atomic, we only check for end of charge when the charging, and for charger presence when discharging as3525v2 (using as3543) specifics - I got the datasheet today from AMS, thanks to them for being so fast and not require me to sign tons of papers! - USB detection now works on as3525v2 using the as3543. Clip+ won't reboot to OF yet, it needs mkamsboot support first (usbstack disabled) - Charging should work, the CHARGER register is at a different place, it is an extended PMU register -> use ascodec_read/write_charger() to access it - real interrupts are not used yet for ENRD, we get thousands of interrupts per second, apparently only limited by the i2c clock. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26116 a1c6a512-1295-4272-9138-f99709370657
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
| | | | | | | | directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
* Make creat() posix compliant API-wise. Shouldn't affect the core as it's ↵Thomas Martitz2010-05-06
| | | | | | wrapped via a static inline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
* Stop scrolling when exiting the CPU boost log menuMaurus Cuelenaere2010-05-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25795 a1c6a512-1295-4272-9138-f99709370657
* HD200 - fix compile warning in debug_menu.cMarcin Bukat2010-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25751 a1c6a512-1295-4272-9138-f99709370657
* Add MPIO HD200 port - changed filesMarcin Bukat2010-04-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
* fix yellowJonathan Gordon2010-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25713 a1c6a512-1295-4272-9138-f99709370657
* Make the buffering screen use the multiscreen API (FS#11143)Jonathan Gordon2010-04-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25712 a1c6a512-1295-4272-9138-f99709370657
* Add drive's reported physical sector size to disk debug screen for ATA devicesTorne Wuff2010-04-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25552 a1c6a512-1295-4272-9138-f99709370657
* Fix red.Andree Buschmann2010-03-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25276 a1c6a512-1295-4272-9138-f99709370657
* Only show PP502x GPIOx_ENABLE on displays with appropriate height.Andree Buschmann2010-03-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25275 a1c6a512-1295-4272-9138-f99709370657
* Add GPIOx_ENABLE to debug screen for PP502x.Andree Buschmann2010-03-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25272 a1c6a512-1295-4272-9138-f99709370657
* Add the raw battery voltage to the Nano2G battery debug screenMichael Sparmann2010-03-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25102 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: show I/O ports in debug menuRafaël Carré2010-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24856 a1c6a512-1295-4272-9138-f99709370657
* as3525v2: build normal firmware properly (Clipv2/+)Rafaël Carré2010-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
* Add more information to the battery debug screen for Nano2GMichael Sparmann2010-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24723 a1c6a512-1295-4272-9138-f99709370657
* Add initial Packard Bell Vibe 500 port, by Szymon Dziok Frank Gevaerts2010-01-18
| | | | | | | | Author: Szymon Dziok Flyspray: FS#10912 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
* Sansa c200v2: enable battery chargingBertrik Sikken2010-01-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24257 a1c6a512-1295-4272-9138-f99709370657
* Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 ↵Mark Arigo2009-12-25
| | | | | | port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657