summaryrefslogtreecommitdiff
path: root/firmware/export/config/sansaclip.h (follow)
Commit message (Collapse)AuthorAge
* AMS: power off while charging enabledMihail Zenkov2016-04-07
| | | | Change-Id: Icddf1ea0a03f0426e0cf9b99f05ea065f532fed5
* usb: finally get rid of USE_ROCKBOX_USB in Sansa bootloader, use bootloader usbAmaury Pouly2015-01-08
| | | | | | | | For some reason, the bootloader and config files didn't define HAVE_BOOTLOADER_USB_MODE, also remove the special cases in usb.c which they implied. Change-Id: I68c29be7d03627e64cac4ff7678e0c211e087a8c
* Get rid of USE_ROCKBOX_USBAmaury Pouly2015-01-08
| | | | | | | | | | | Except for unfinished or experimental ports, it isthe case that USE_ROCKBOX_USB and HAVE_USBSTACK are both defined or both undefined. Furthermore, it is a leftover of some early developments on the USB stack and doesn't make sense anymore. Change-Id: Ic87a865b6bb4c7c9a8d45d1f0bb0f2fb536b8cad Reviewed-on: http://gerrit.rockbox.org/1091 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Implement lcd_get_dpi() for all bitmap targets.Thomas Martitz2014-03-03
| | | | | | | DPI values are autogenerated from the resolution and collected display size values. These values are inserted as comments as well. Change-Id: Id03aedf9af18348f773dfce002805e480f6751e8
* Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROLNils Wallménius2012-05-09
| | | | | | | | Also move the definition to config.h Change-Id: I36bb5020c5e06b2344292bc05e8c13ccc7a6a1ff Reviewed-on: http://gerrit.rockbox.org/234 Reviewed-by: Nils Wallménius <nils@rockbox.org>
* TARGET_TREE is not needed anymoreRafaël Carré2012-01-07
| | | | | | spotted by jhMikeS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31597 a1c6a512-1295-4272-9138-f99709370657
* Rework powermgmt to enable code re-use on appliation and sims.Thomas Martitz2012-01-03
| | | | | | | | | | | | | | | | | | | | | * 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
* AS3525v1/v2:Michael Sevakis2011-12-08
| | | | | | | | | | | | | | | | | | Fix problems with volume of recorded material by converting 14-bit samples to 16-bit. Remove duplicate samples from recorded data and support proper samplerate since ADC runs 1/2 the codec clock. Support monitoring mono on both output channels by feeding data manually to I2SOUT under the right conditions. DMA is no longer used for recording since frames must be processed as described above but it does allow full-duplex audio. Miscellaneous change includes a proper constant (HW_SAMPR_DEFAULT) to reset the hardware samplerate when recording is closed. PP5024 and AS3525 have different default recording rates (22kHz and 44kHz respectively) but both have half-speed ADC. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31180 a1c6a512-1295-4272-9138-f99709370657
* FS#11597 : decrease FCLK frequency when unboostedRafaël Carré2010-09-05
| | | | | | | | | | | FCLK is unused because we use fastbus clocking: CPU clock = PCLK Base PCLK off PLLA and use the lowest frqeuency for FCLK (24MHz source, maximum divider) Save a bit of power, adjust Clipv1/e200v2/Fuzev1 current usage accordingly Note: the power saving (in mA) is a bit less on e200v2/Fuzev1 than on Clipv1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28000 a1c6a512-1295-4272-9138-f99709370657
* powermgmt.h: include config.hRafaël Carré2010-09-03
| | | | | | | | AMS*: define CURRENT_MAX_CHG to give more correct estimation of recharge time The amount of current each target draws from the charger is defined in powermgmt-target.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27994 a1c6a512-1295-4272-9138-f99709370657
* AB_REPEAT_ENABLE was never defined to 2Rafaël Carré2010-07-18
| | | | | | There's only 2 possibilities: defined or undefined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27483 a1c6a512-1295-4272-9138-f99709370657
* Enable HID support, clean up usb-drv-as3525.c a bit, add a workaround for ↵Tobias Diedrich2010-06-28
| | | | | | weird Linux behaviour (don't have Windows to test with), we don't need to set up USB_PHY_EPx_INFO (OF doesn't bother either). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27164 a1c6a512-1295-4272-9138-f99709370657
* Enable USE_ROCKBOX_USB on all AS3525v1, confirmed to work on C200v2 and ↵Tobias Diedrich2010-06-22
| | | | | | E200v2, I'm confident it should work on the others too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27055 a1c6a512-1295-4272-9138-f99709370657
* as3525*: enable USB stack in bootloader (but not USE_ROCKBOX_USB yet)Rafaël Carré2010-06-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26927 a1c6a512-1295-4272-9138-f99709370657
* Clipv1 battery capacity is 330mAhRafaël Carré2010-05-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26261 a1c6a512-1295-4272-9138-f99709370657
* Build overlay plugins for all targets with PLUGIN_BUFFER <= 0x10000 bytesRafaël Carré2010-05-18
| | | | | | | | | Bring Clipv1 & m200v4 plugin buffer down to this limit zxbox, chessbox and rockboy build on the clip rockboy doesn't build on m200v4 due to not enough buttons to make a keymap Some gameboy roms won't run on Clipv1: tetris does but not pokemon for example git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26144 a1c6a512-1295-4272-9138-f99709370657
* plugins: changes for targets with small plugin buffer (Clipv1)Rafaël Carré2010-05-18
| | | | | | | | | | | | | | | | | | | | | | | - only enable overlays for targets with very small plugin buffer (<= 0x10000 bytes, i.e. archos) - change the condition for rockboy to reflect exactly why it can be built or not - Some plugins need a large plugin buffer, only enable them if the buffer is big enough (sizes measured on Clipv1) - disable MIDI if we have 2MB (or less), we won't be able to load the instruments in the audio buffer - remove unusable lua overlay loader - sokoban code is bigger on clipv1 than on SH, assume it code is 20kB on anything but SH so it builds with buffer smaller than 192kB - reduce the Clipv1 plugin buffer size from 288kB to 96kb, disabling zxbox, chessbox, and fft zxbox and chessbox have overlays which run on archos, we just need to enable them on other targets. We'll also be able to run rockboy. fft won't run as it needs a large plugin buffer for greylib git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26141 a1c6a512-1295-4272-9138-f99709370657
* Enable recording on clipv1/m200v4/c200v2Rafaël Carré2010-05-14
| | | | | | | | | | | | Use smaller recording buffer and watermarks on these models with 2MB of ram Rearrange watermark calculation expressions so we can use fractional numbers of seconds but still with integer results Only enable spinup time adjustement for ATA targets Flash targets (sansas and ondiofm) should still work fine, but they were not tested git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26014 a1c6a512-1295-4272-9138-f99709370657
* as3525(v1) : correct CPU_FREQRafaël Carré2010-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25932 a1c6a512-1295-4272-9138-f99709370657
* Update current usage for Fuzev1/e200v2/Clipv1Rafaël Carré2010-05-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25912 a1c6a512-1295-4272-9138-f99709370657
* FS#11081 - Hotkey patch. Many targets supported, but some keymaps need work ↵Jeffrey Goode2010-04-01
| | | | | | before they can be switched on git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25414 a1c6a512-1295-4272-9138-f99709370657
* Clipv1 & m200v4 : reduce plugin buffer size to strict minimumRafaël Carré2010-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25219 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: reduce current consumption for more correct battery life ↵Rafaël Carré2010-03-07
| | | | | | estimation after r25030 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25049 a1c6a512-1295-4272-9138-f99709370657
* Clipv1: estimate current use with battery_bench resultsRafaël Carré2010-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24381 a1c6a512-1295-4272-9138-f99709370657
* Rename targets to be consistent in all places. (FS #10819). Take 2.Björn Stenberg2009-12-07
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23883 a1c6a512-1295-4272-9138-f99709370657