summaryrefslogtreecommitdiffstats
path: root/firmware/export
AgeCommit message (Collapse)AuthorFilesLines
2020-10-09codecs: Add support for the 'VTX' ZX Spectrum chiptunes format.Solomon Peachy10-12/+14
This codec requires floating point. Original author: Peter Sovietov Ported to Rockbox: Roman Skylarov Further integration and bugfixes: Solomon Peachy Change-Id: I781ecd3592dfcdbbc694063334350342534f1d6c
2020-10-05FS13241: Get rid of the hacky hold switch emulation on the X3ii & X20Solomon Peachy2-6/+0
It doesn't work properly and interferes with the power button in the keymap. Rework WPS keymap a bit to make single-tap power emulate lock. Change-Id: I9d9b9b4adcea3764e6e427f484e051c9bab9d13b
2020-10-03imx233: Enable 96/192K playback for all imx233 targets that have roomSolomon Peachy11-26/+35
Change-Id: Ief00cc9243af3168f0c088520936137b64f3b581
2020-10-03Disable 88/96KHz from targets that lack the IRAM to hold the mix buffersSolomon Peachy8-42/+12
Change-Id: I67b15d4c517a74a23639f8659acbc89022c264b5
2020-10-03alsa: introduce AUDIOHW_MUTE_ON_PAUSE, and have rocker use it.Solomon Peachy1-0/+2
Change-Id: I1edbb8e71a9c73baaeecb01b66cbee6c3f7b5f8f
2020-10-02For backlights that have a wide control, support skipping steps.Solomon Peachy3-3/+6
the rocker, x3ii, and x20 now take advantage of this, and fades are far faster now. Change-Id: Iceb1a5a6c1d1389c3fdb859b32016b5114a80a22
2020-10-01xduoox3: Work out clocks for 176/192KHz support.Solomon Peachy1-1/+1
Note: PCM mix buffer sizes are _way_ too small for these high bitrates (We really need to make the mixer stuff use dynamic buffer sizes based on the bitrate. Maybe pre-allocate a max size based on upper bitrate limit, but use only part of it at lower bitrates? So we can have sane latency..) Change-Id: Id7b4afd73dba7f1ffb84b2e1c016859fae5d6835
2020-10-01xduoox3ii/x20: Proper lineout detection and volume mangling.Solomon Peachy5-11/+5
hotplugging hp and lineout works, without blowing out eardrums. Change-Id: I2df5c7a618bb2d1d77d416548d45dff9cfc619db
2020-10-01fix some of the red introduced in e43726dSolomon Peachy3-10/+2
Change-Id: Id1abb0dd11f8a8e79a80fc54e58a5a22706a03ad
2020-10-01hosted pcm-alsa improvementsSolomon Peachy7-20/+17
* xduoo x3ii/x20: Better line out support * less granular volume settings (too many steps before) * Better handling of swiching sample rates * Log actual sample rate in debug menu Most credit goes to Roman Stolyarov Additional integration [re]work by myself Change-Id: I63af3740678cf2ed3170f61534e1029c81826bb6
2020-09-30audio: Add support for 192 and 176KHz playbackSolomon Peachy29-77/+118
* SAMPR_CAPS_ALL -> SAMPR_CAPS_ALL_48/96/192 * All targets claiming SAMPR_CAPS_ALL now get appropriate subset * No need to explicitly define HAVE_PLAY_FREQ * Rates that are a multiple of 44 or 48KHz can be used for playback Inspired by a patch by Roman Stolyarov, but substantially rewritten by myself. Change-Id: Iaca7363521b1cb9921e047ba1004d3cbe9c9c23e
2020-09-30Leave HOME_DIR out of default recording and playlist pathsSolomon Peachy1-2/+2
The hosted filesystem code will automatically prepend HOME_DIR. Change-Id: I36a76e51637ab2bb68353f8eb9ffac25ca75bad1
2020-09-28xduoo: x3ii and x20 also have their CPUs clocked at 1008 MHz.Solomon Peachy2-2/+2
Change-Id: I59fbd1edc934a6e2b2323e13b4efc3cc1caad903
2020-09-28xduoox20: UI Simulator supportSolomon Peachy1-1/+1
Change-Id: I2a03cea07fbad9fb5862ca69e4cfca2e8ca6b17f
2020-09-29rocker: CPU is actually running at 1008MHz, not 532.Solomon Peachy1-1/+1
Change-Id: If5204574cb604d1ea82f0863d300468bedcf541d
2020-09-17jz4760: Heavily rework USB driver to add working DMA supportSolomon Peachy1-0/+12
* DMA Bulk IN (ie our TX) results in sequential transfers 33-68% faster. * DMA Bulk OUT (ie RX) is mostly stripped out due to complete brokenness. * Interrupt and control endpoints remain PIO-driven. Other improvements: 1) Use consistent endpoint references (no magic numbers) 2) Greatly enhanced logging 3) DMA support can be compiled out completely 4) Setting lockswitch will disable all DMA operations at runtime 5) Much more robust error checking and recovery Change-Id: I57b82e655e55ced0dfe289e379b0b61d8fe443b4
2020-09-04jz47xx: Audio path tweaks:Solomon Peachy1-0/+4
* Increase audio buffer size to better handle IRQ latency (256->2048) * Ensure DMA engine is idle prior to starting transfers * Set AIC to repeat last sample in case of underflows Change-Id: I9c45c20481ee072e5882b7586fb7d50bd8ef2f35
2020-08-30XduooX3 Tweak LCD drive strength and slewWilliam Wilgus1-3/+3
Change-Id: Ic5ee9e700a0c8acffc39b51cedc24ff44d230fd3
2020-08-29jz4760: Disable dynamic clocking entirely.Solomon Peachy1-3/+3
Back off to 480MHz [max] clock, bus/mem clock of 120MHz. 576 is unstable on at least one unit, and 528 still glitches. Change-Id: I020e48532524e739f3bfa42bed570381ccd34959
2020-08-29cs4398: Change default volume to -25 dB (from 0 dB)Solomon Peachy1-1/+1
Change-Id: Iac216951b6f21bd83bb1d529e231bbb3e0aa0da6
2020-08-29Xduoo X3 Tweak LCD settingsWilliam Wilgus1-0/+7
Adds contrast setting which actually sets the drive voltage Change-Id: I173238e2efe9e50c6ef4cda9bf991e7ee5568ff5
2020-08-29xduoox3: When not using dynamic clocks, use max cpuSolomon Peachy1-3/+5
Change-Id: I789bb4eccc5b663156f5d1b7cd5d291b60ccb18d
2020-08-28xduoox3: enable HAVE_GUI_BOOSTSolomon Peachy1-0/+3
Change-Id: I719057b3539d6fb80cef10238a13c5071def1be5
2020-08-27Xduoo X3 - Grey scale lib updateWilliam Wilgus1-25/+25
greylib on the xduoo x3 now matches the rest of the 1bit targets Change-Id: I2685869da6734404356552cc9f4ed5f59ebd6650
2020-08-26xduoox3: Include curves for both battery typesSolomon Peachy1-1/+1
There is no way to detect this at runtime so it is a user setting Change-Id: Ibc5b87312238c59e3678d512af27e3a3bcb9a58a
2020-08-26xduoox3: Update battery discharge curve and runtime estimatesSolomon Peachy1-0/+4
(Brand new unit lasted one minute shy of 12 hours!) Change-Id: I0330f43065412d432a45b555bb310f943eb526e7
2020-08-20Revert root_redirect :(William Wilgus3-13/+0
This reverts commit 31fc46ded69be7438cca2ba2c2b93c1f200165a6. Change-Id: Ia78618c0e8b25ca65f7c8ae0db1cb9c9b321bad9
2020-08-20Allow mounting of any directory as the root directory.William Wilgus3-0/+13
Provide definitions for the macros: * RB_ROOT_VOL_HIDDEN(v) to exclude certain items from the root. * RB_ROOT_CONTENTS to return a string with the name of the directory to mount in the root. Defaults are in export/rbpaths.h It's a bit much for those that don't need the full functionality. Some conditional define can cut it back a lot to cut out things only needed if alternate root mounts are required. I'm just not bothering yet. The basic concept would be applied to all targets to keep file code from forking too much. Change-Id: I90b5c0a1c949283d3102c16734b0b6ac73901a30
2020-08-19Enable boot from SD for Sansa e200Johannes Rauh2-3/+27
Change-Id: I0940f2cd5fc914d6d5061b5798b1a636009649b7
2020-08-12xduoox3: Fix build when disabling adjustable cpu freqSolomon Peachy1-4/+3
Change-Id: Ia8526ad81d7a9744972d9c4fb394e61175ad2391
2020-08-09Enable full sample rate sets for X3ii, X20, and RockerSolomon Peachy3-0/+12
Change-Id: I89e139efb8a7662afaaabec360e6579907f8d025
2020-08-09Fix HOME_DIR path for Rocker, X3ii, and X20Solomon Peachy1-1/+3
Prevented plugins from accessing their config files properly Change-Id: Ic3b115aaa9168fa30b98607aeacb1a12b5498a5f
2020-08-07jz4760: Support dynamic reclocking!Solomon Peachy1-2/+12
default/low speed is 192 MHz, Max is 576 Downclock PCLK/MCLK/etc to 96MHz to save a bit of juice Honestly the high speed could be dialed down to, eg 384 as this thing is so bloody fast.. Change-Id: Ie65597c74290f1603e65f69dae8e75b59c8ba0b4
2020-08-07xduoox3: Enable HAVE_PLAY_FREQSolomon Peachy1-0/+1
This way the player can natively play back 48KHz audio Change-Id: I1d525ec7cb5540062b9e13489d3b53479e68435f
2020-08-07xduoox3: Set PLL0 to 480MHz, not 492.Solomon Peachy1-1/+1
PLL0 Needs to be a multiple of 48MHz for sane USB operation! (Indeed, "typical" clock for this part is 528, but that seems a waste of power) Also fixes a minor bugaboo in the jz4670 usb divisor calculation that won't matter until we enable reclocking Change-Id: I40b1fd1ae48871e50885981ccc8b01feb711b9a5
2020-08-06FS#9295: Detect external power supply for ipod 1st & 2nd gen (Mark Fawcus)Solomon Peachy1-2/+2
Change-Id: I7b64c37ead60152c8a12556cfa344e225abc1980
2020-07-24[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.Solomon Peachy107-239/+202
Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
2020-07-24[3/4] Completely remove HWCODEC supportSolomon Peachy104-360/+205
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
2020-07-24[2/4] get rid of HAVE_LCD_CHARCELLSSolomon Peachy3-112/+0
HAVE_LCD_BITMAP is now redundant. lcd_bitmap is always-on in features.txt so manual and lang strings don't have to change Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
2020-07-24[1/4] Remove SH support and all archos targetsSolomon Peachy20-1711/+9
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
2020-07-16storage: Clean up storage_xxxx macros when STORAGE_MULTI is not setSolomon Peachy1-16/+17
Change-Id: I1652eac1743f4b8b84da08ea5a6d04ac7e17e21d
2020-07-14Enabled hotkey for Sansa Clip playersIgor B. Poretsky4-4/+4
Change-Id: Ic0fb331415bf0cc0fce5916befce64f4a41c46ee
2020-07-09add some documentation in usb.h and usb_drv.hAmaury Pouly2-0/+39
Change-Id: Icd39ee5c017fc219144b33ef96b0df85c5d430da
2020-07-09FS#12082: Add Tuner support to the Nano2G (Bertrik Sikken)Solomon Peachy1-4/+4
(The serial portions of the patch were already present, this just pulls in the tuner enablements) Change-Id: I8090e318f34835769ac0a56d7a48b9250631eb4f
2020-07-07yp-r1: Fix some of the simulator build issues.Solomon Peachy1-17/+25
Change-Id: I167b801acaff9d36f3fd2fa57ba295d05816c60d
2020-06-27button: allow disabling software poweroffFranklin Wei1-0/+5
On some devices, the button driver allows a "software poweroff" by long- pressing a certain key. This behavior is inconvnient when that button needs to be held down for other purposes, such as moving the cursor in rockpaint or sgt-untangle. This patch allows selectively disabling the software poweroff (enabled by default) from both core and plugin code. Change-Id: I7580752888ae5c7c7c5eb1be5966e3d67f17d4b4
2020-06-07misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links.Solomon Peachy2-2/+2
(This migration happened over a decade ago!) Change-Id: Ib396414a16f2d763e549af49e3f3b03047dab49c
2020-05-24cowond2: Disable internal NAND storage; use only the SD card.Solomon Peachy1-2/+4
This allows the player to be usable. Slightly adapted from: https://forums.rockbox.org/index.php/topic,10164.msg245357.html#msg245357 Change-Id: I7bdd681b132cac4c82e3ba6aabe74169645eee4c
2020-04-14Fix checkwps build for dx50 & dx90 targetsSolomon Peachy3-2/+92
Their codec headers weren't in the right place. Change-Id: Iae16c10defc937cc227afd8992ff45cd6d664898
2020-04-13obsolete: Nuke the very-incomplete Archos AV300 targetSolomon Peachy1-4/+0
It's even missing a config header file. Just shoot it in the head. Change-Id: I4c5cdb4fb63361a4e4fc893e93d73d3890fe17df