summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
AgeCommit message (Collapse)Author
2011-09-06rk27xx - enable debug screenMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30458 a1c6a512-1295-4272-9138-f99709370657
2011-09-01Fix the timeout so the selected item will scrollJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30402 a1c6a512-1295-4272-9138-f99709370657
2011-08-30GSoC/Buflib: Enable compaction in buflib.Thomas Martitz
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
2011-08-30GSoC/Buflib: Add buflib memory alocator to the core.Thomas Martitz
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
2011-07-24ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTATBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30204 a1c6a512-1295-4272-9138-f99709370657
2011-06-05Move dbg_hw_info() into target tree. FS#11735 by meMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29964 a1c6a512-1295-4272-9138-f99709370657
2011-04-11Do not show IRMax/IWMax in the disk info debug screen for sd cards with CSD ↵Bertrik Sikken
version > 1.0 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29703 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500: Clean up warning.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29217 a1c6a512-1295-4272-9138-f99709370657
2011-02-06M:Robe 500 TSC2100 Debug: Use hex values instead of binary.Karl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29214 a1c6a512-1295-4272-9138-f99709370657
2011-01-22Better boost calculation for multifrequency CPUs. Frequencies between ↵Michael Sevakis
minimum and maximum count as fractional boost. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29115 a1c6a512-1295-4272-9138-f99709370657
2011-01-22i.MX31: Add a debug menu to play around with DVFS/DPTC settings for fun, ↵Michael Sevakis
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
2010-12-11Commit FS#11776 by Jonas Haggqvist. Enables option to log building the ↵Michael Giacomelli
database in order to trouble shoot crashes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28789 a1c6a512-1295-4272-9138-f99709370657
2010-11-26MPIO HD300 - initial commitMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28680 a1c6a512-1295-4272-9138-f99709370657
2010-11-14iPod Nano 2G: Show all PLLPMS and CLKCON values in the battery debug screenMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28586 a1c6a512-1295-4272-9138-f99709370657
2010-11-08fix sdl RaaA buildMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28533 a1c6a512-1295-4272-9138-f99709370657
2010-11-06move dbg_ports() from apps/menu_debug.c to target tree. FS#11712 by me.Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28522 a1c6a512-1295-4272-9138-f99709370657
2010-10-31Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. ↵Marcin Bukat
FS#11189 by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28425 a1c6a512-1295-4272-9138-f99709370657
2010-10-18HDD6330: Try to adapt the keys for the new touchpad code, remove the non ↵Szymon Dziok
existing buttons, enable morse input. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28306 a1c6a512-1295-4272-9138-f99709370657
2010-09-20iap: make variable serbuf non-globalBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28128 a1c6a512-1295-4272-9138-f99709370657
2010-08-31Unify 32mb and 64mb ipod video builds - FS#11580Frank Gevaerts
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
2010-08-28archos player debug menu: factorize and use lcd_putsfRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27932 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G.Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27865 a1c6a512-1295-4272-9138-f99709370657
2010-07-25Rockbox as an application: Fix a few yellowsThomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27558 a1c6a512-1295-4272-9138-f99709370657
2010-07-17Beautify view_battery() graph in debug menu. FS#11324 by meMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27467 a1c6a512-1295-4272-9138-f99709370657
2010-07-06Rockbox as an application: Add an 320x240 SDL application target.Thomas Martitz
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
2010-06-21Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz
#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
2010-06-21debug menu: avoid using constant variables in array initializationRafaël Carré
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
2010-06-16The mystery FM chip in some Sansa Clip+ players has been identified as a ↵Bertrik Sikken
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
2010-06-15Support for mystery FM chip in some Sansa Clip+, FS #11403 by meBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26864 a1c6a512-1295-4272-9138-f99709370657
2010-06-06Add the GPIO output-enable bits to the debug screen on PP502xTorne Wuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26614 a1c6a512-1295-4272-9138-f99709370657
2010-06-05remane hotswap.* to sdmmc.*. The contents have nothing at all to do with ↵Frank Gevaerts
hotswapping things git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26598 a1c6a512-1295-4272-9138-f99709370657
2010-06-05New USB charging system, part 1 - API rework and user-visible setting updateTorne Wuff
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
2010-05-19Add charging/discharging indication to battery debug menu if CONFIG_CHARGING ↵Marcin Bukat
>= CHARGING_MONITOR git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26162 a1c6a512-1295-4272-9138-f99709370657
2010-05-17as3514/as3543 fixesRafaël Carré
- 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
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
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
2010-05-06Make creat() posix compliant API-wise. Shouldn't affect the core as it's ↵Thomas Martitz
wrapped via a static inline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-05-03Stop scrolling when exiting the CPU boost log menuMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25795 a1c6a512-1295-4272-9138-f99709370657
2010-04-28HD200 - fix compile warning in debug_menu.cMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25751 a1c6a512-1295-4272-9138-f99709370657
2010-04-26Add MPIO HD200 port - changed filesMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-25fix yellowJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25713 a1c6a512-1295-4272-9138-f99709370657
2010-04-25Make the buffering screen use the multiscreen API (FS#11143)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25712 a1c6a512-1295-4272-9138-f99709370657
2010-04-09Add drive's reported physical sector size to disk debug screen for ATA devicesTorne Wuff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25552 a1c6a512-1295-4272-9138-f99709370657
2010-03-21Fix red.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25276 a1c6a512-1295-4272-9138-f99709370657
2010-03-21Only show PP502x GPIOx_ENABLE on displays with appropriate height.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25275 a1c6a512-1295-4272-9138-f99709370657
2010-03-21Add GPIOx_ENABLE to debug screen for PP502x.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25272 a1c6a512-1295-4272-9138-f99709370657
2010-03-10Add the raw battery voltage to the Nano2G battery debug screenMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25102 a1c6a512-1295-4272-9138-f99709370657
2010-02-22as3525v2: show I/O ports in debug menuRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24856 a1c6a512-1295-4272-9138-f99709370657
2010-02-22as3525v2: build normal firmware properly (Clipv2/+)Rafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
2010-02-17Add more information to the battery debug screen for Nano2GMichael Sparmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24723 a1c6a512-1295-4272-9138-f99709370657
2010-01-18Add initial Packard Bell Vibe 500 port, by Szymon Dziok Frank Gevaerts
Author: Szymon Dziok Flyspray: FS#10912 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657