summaryrefslogtreecommitdiff
path: root/firmware/export (follow)
Commit message (Collapse)AuthorAge
...
* fix database toolThomas Martitz2012-07-18
| | | | Change-Id: I48702c3213aae7e2c64ea0e1f197e61368393759
* rk27xx codec: Fix volume settingMarcin Bukat2012-07-10
| | | | Change-Id: If57e0225fed4a9f87dff9661b21b2e06fa3d341e
* Use RGB565 define instead of plain 565.Frank Gevaerts2012-06-20
| | | | | | Pixelformats should always use the defines, not the raw values. Change-Id: Id60a73385bb6cc4e8f8d1f8b292489d066f1e13f
* hosted: disable USING_STORAGE_CALLBACK againThomas Martitz2012-06-15
| | | | | | | | 6b8330d was not the correct fix. In fact, it prevents settings from being written as there's no DISK_EVENT_SPINUP event, so they were only saved on proper shutdown. Change-Id: Iad26366f2821ed6adf445c391d461563c5782a71
* The threading model should be set from configure, not config.h.Frank Gevaerts2012-06-11
| | | | Change-Id: If87bbd4a02825df20e5fe29c4ada85bf5ba25e99
* Add the Android/MIPS targetFrank Gevaerts2012-06-11
| | | | Change-Id: Iec1d2f08c8a43e486ab1696566a718b18598ff95
* ypr0: This patch adds radio support to Samsung YP-R0Lorenzo Miori2012-05-28
| | | | | | | | | | Basically it uses the default SI4700 radio chip driver, the only thing that's different is the I2C access, written specifically to interact with my kernel module. Next things to add are: - RDS support! Change-Id: I0ed125641e00f93124d7a34f90dd508e7f1db5a4 Signed-off-by: Lorenzo Miori <memorys60@gmail.com>
* load_code: Get rid of win32 specific code in favor SDL_LoadFunction & ↵Thomas Martitz2012-05-26
| | | | | | | | | friends APIs. Refactor native/hosted implementation seperation while at it (no wrappers starting with _ anymore). Change-Id: If68ae89700443bb3be483c1cace3d6739409560a
* Fix broken logic for enabling USING_STORAGE_CALLBACK.Frank Gevaerts2012-05-26
| | | | | | | | | | | | | The logic got broken by 6b8330d2. Since the ifp700 port is basically unmaintained and unfinished and doesn't build anyway, we can remove the special-casing for it. This simplifies the logic to "hosted or native, except for bootloaders", which simplifies further to "not bootloaders". Fixes FS#12685 Change-Id: Iaaad534067da22b74bf647aa58dcbb678bbc5f70
* Delete obsolete define from the config files for the new creative ports.Nils Wallménius2012-05-21
| | | | Change-Id: I00164be4960f987399fc5ea713f19ab06490883c
* imx233: make sure dma descriptors are cache friendlyAmaury Pouly2012-05-20
| | | | | | | | | | | Because DMA descriptors needs to be committed and discarded from the cache, if they are not cache aligned and/or if their size is not a multiple of cache ligne, nasty side effects could occur with adjacents data. The same applies to DMA buffers which are still potentially broken. Add a macro to ensure that these constraints will not break by error in the future. Change-Id: I1dd69a5a9c29796c156d953eaa57c0d281e79846
* imx233: fix cache line size (32 instead of 16)Amaury Pouly2012-05-20
| | | | Change-Id: I4b0826a93ee8aef6a5fabf5c75e833bc36999479
* zenxfi3&stfm1000: implement fmradio i2c and debug screenAmaury Pouly2012-05-19
| | | | Change-Id: I83dbdee13185d9adcf590dc213da5a8c97adb2ba
* Initial commit for the Creative ZEN X-Fi2 and X-Fi3 portsAmaury Pouly2012-05-19
| | | | | | These are really similar devices so one commit for both is ok. Change-Id: I8bd1d3fef1eb6d00aaadfb7af56c771f62d0c9c3
* Add stub STFM1000 tuner driverAmaury Pouly2012-05-19
| | | | Change-Id: I7f82f7b8971de75c92f84d12aaddccc50f3e47b1
* Add the MPR121 (touchbutton chip) driverAmaury Pouly2012-05-19
| | | | Change-Id: I9db97a698ef1c7f0b4f47e406faa1f6c0ec524db
* imx233: move away timer defines from imx233.hAmaury Pouly2012-05-19
| | | | Change-Id: I9f721ae12a3ddf72c4e90ad0754a5c2b819847bb
* Enable USING_STORAGE_CALLBACK on hosted targets. Fixes config.cfg not ↵Thomas Martitz2012-05-13
| | | | | | written properly. Change-Id: I3c87b41baae284b818be5c272d984d937ae0e350
* fuze+: add RDS supportAmaury Pouly2012-05-12
| | | | | | | | | | | | | | I successfully identified the STC/RDS pin as B2P27. Strangely the OF uses polling instead of interrupts but since they routed it, let's use it! On the fuze+ the fmradio i2c uses bit toggling so we can't read the RDS data in the interrupt context. Instead we defer the work to a thread. Change-Id: Iedfa425320e6c91b4351b72e97c732696bdb2b73 Reviewed-on: http://gerrit.rockbox.org/236 Reviewed-by: Bertrik Sikken <bertrik@sikken.nl> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* 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>
* Remove STATICIRAM hackNils Wallménius2012-05-08
| | | | | | | | It was only needed by the old arm toolchain that we no longer use or support. Change-Id: Id0e6c67477f8834a637079b03cde5fbf9da68b1c Reviewed-on: http://gerrit.rockbox.org/233 Reviewed-by: Nils Wallménius <nils@rockbox.org>
* Remove pointless IRAM allocation from voice DSP.Michael Sevakis2012-05-04
| | | | | | | | | It's always used in MONO mode and doesn't need the IRAM sample/ resample buffers and 1280 bytes can be freed. M5 can now have its PCM mixer downmix buffer in IRAM. Change-Id: I0af08be5b212b7dfe382bba588a6585eb328a038
* Add rbcodecplatform.h and rbcodecconfig.h.Sean Bartell2012-05-03
| | | | | | | | | | | | | | | | | librbcodec users must provide these two files when the library is built. rbcodecconfig.h provides configuration #defines and basic types, and will be included by public librbcodec headers, so it must not conflict with the user's code. rbcodecplatform.h provides various OS functions, and will only be included by source files and private headers. This system is intended to provide maximum flexibility for use on embedded systems, where no operating system headers are included. Unix systems can just copy rbcodecconfig-example.h and rbcodecplatform-unix.h with minimal changes. Change-Id: I350a2274d173da391fd1ca00c4202e9760d91def Reviewed-on: http://gerrit.rockbox.org/143 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* Silly includes going haywire. Fix the errors/warnings (hopefully).Michael Sevakis2012-05-02
| | | | Change-Id: I7ec2b7e8fe56ad6d65ab757e8667b4951d00ee29
* Clean up peak calculating code.Michael Sevakis2012-05-02
| | | | | | | | | | | | | | Mixer needn't keep peak data around that will never be used. Just pass pcm_peaks structure to it instead of allocating for every channel. Plugin API becomes incompatible. vu_meter digital mode was still using global peak calculation; switch it to playback channel like the rest. Remove some accumulated soil peaks inside pcm.c and make it more generic. Change-Id: Ib4d268d80b6a9d09915eea1c91eab483c1a2c009
* Use buflib for the allocation of voice PCM resources.Michael Sevakis2012-05-02
| | | | | | | | | | | | | Buffers are not allocated and thread is not created until the first call where voice is required. Adds a different callback (sync_callback) to buflib so that other sorts of synchonization are possible, such as briefly locking-out the PCM callback for a buffer move. It's sort of a messy addition but it is needed so voice decoding won't have to be stopped when its buffer is moved. Change-Id: I4d4d8c35eed5dd15fb7ee7df9323af3d036e92b3
* Fundamentally rewrite much of the audio DSP.Michael Sevakis2012-04-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates a standard buffer passing, local data passing and messaging system for processing stages. Stages can be moved to their own source files to reduce clutter and ease assimilation of new ones. dsp.c becomes dsp_core.c which supports an engine and framework for effects. Formats and change notifications are passed along with the buffer so that they arrive at the correct time at each stage in the chain regardless of the internal delays of a particular one. Removes restrictions on the number of samples that can be processed at a time and it pays attention to destination buffer size restrictions without having to limit input count, which also allows pcmbuf to remain fuller and safely set its own buffer limits as it sees fit. There is no longer a need to query input/output counts given a certain number of input samples; just give it the sizes of the source and destination buffers. Works in harmony with stages that are not deterministic in terms of sample input/output ratio (like both resamplers but most notably the timestretch). As a result it fixes quirks with timestretch hanging up with certain settings and it now operates properly throughout its full settings range. Change-Id: Ib206ec78f6f6c79259c5af9009fe021d68be9734 Reviewed-on: http://gerrit.rockbox.org/200 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* usb-s3c6400: merge the 2 driversRafaël Carré2012-04-28
| | | | | | | | | | | | Player-specific code remaining: usb_drv_(init,exit) The iPods lack a MMU, so: - physical, virtual, and uncached addresses are identical - since we can't access uncached memory we discard caches when receiving data Still not quite reliable on nano2g Change-Id: Iebb79df64818b9ae3b68eccb8be8975ebd6c21ea
* Coldfire (m68k): Add macros for tpf.w/l instructions.Michael Sevakis2012-04-26
| | | | | | | | Better than inserting ".word 0x51fc/b". Assembler doesn't support them but does the plain "tpf" without extension words as well as "trapf". Change-Id: I929c0ec84c6e76e0573ff6308634542fd8aee738
* Add a more correct absolute difference function to dsp-util.Michael Sevakis2012-04-26
| | | | | | | | | Differences between signed samples cover the entire unsigned 32-bit range. "abs" will think any difference exceeding INT32_MAX is negative which is not corrent. Test which argument is greater and subtract the lesser from it, outputting unsigned difference. Change-Id: I73a8e5e418d49ff73d1a7c98eeb4731946dcfe84
* event classes are single bitsJonathan Gordon2012-04-22
| | | | Change-Id: I4c65b25a94b60d4f0ef8db750807a91242d63ea3
* hm801: Add support for plugins.Andrew Ryabinin2012-04-19
| | | | Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
* touchscreen: Fix kinetic scrolling when the statusbar is off.Thomas Martitz2012-04-05
| | | | | | | | | | | The scrolling code cannot differentiate between the BUTTON_TOUCHSCREEN post from normal touches and the one posted in the timeout callback. To fix introduce a global special button (BUTTON_REDRAW) that results in the desired redraw. This existed already as a local kludge for android and is now generalized. Change-Id: I6bfa6c66431c48f5042fcd8fce2ea72cd3457f58
* Classic/6G: CPU frequency/voltage scalingCástor Muñoz2012-03-31
| | | | | | | | | | | This patch implements HAVE_ADJUSTABLE_CPU_FREQ, it modifies the following parameters when CPU is unboosted: - s5l8702 voltage is decreased: 1.200V -> 1.050V - CPU frequency is divided by 4: 216MHz -> 54MHz - AHB frequency is divided by 2: 108MHz -> 54MHz Change-Id: I2285b83efb7e1567864ac288f2d4ba55f058f7c5
* build system: completely autodetect target cpu architecture.Thomas Martitz2012-03-28
| | | | | | | | | | | | The existing ARCH Makefile variable is exported to the C code as well. Additionally the version (arm-only for now) is detected as well. This allows to for complete autodetection, i.e. that optimized ASM is picked up if determined by preprocessor (CPU_ARM, etc). Building a sim/raaa on a arm host will now automatically generate a arm optmized build like we have for native targets. Change-Id: I0b35393f8fb3ebd20beaa9e7371fa57bf3782107
* Tweak paramters of mp3_play_data and callback.Michael Sevakis2012-03-04
| | | | | | | | | Use generic void * and size_t and make mp3_play_data and its callback agree on types. Use mp3_play_callback_t instead of prototyping right in the function call (so it's not so messy to look at). Change doesn't appear to require plugin API version increment. Change-Id: Idcab2740ee316a2beb6e0a87b8f4934d9d6b3dd8
* AMSv2: add proper definitions for charge currentBertrik Sikken2012-03-04
| | | | Change-Id: I6a14570e94df1be62ae46816d2ff4e3f2b7bc21a
* rename rkw.h header fileMarcin Bukat2012-03-04
| | | | Change-Id: I2cb6ea7da9c20ed0ef87f4b8ea90d2e4a4a3bca2
* rk27xx: switch to RKW format for binaryMarcin Bukat2012-03-04
| | | | Change-Id: I859473abbaf05c8268d832b25d15f27f1ea44648
* Add RKW firmware file format loaderMarcin Bukat2012-03-04
| | | | Change-Id: I5283fdcdb8d263fd9375a6d29396f82650aeb686
* Don't define CPU_* for __PCTOOL__Frank Gevaerts2012-03-03
| | | | Change-Id: Id49577a002627eb830f833f101b83471d11ec271
* Integrate the warble tool in the regular build system.Frank Gevaerts2012-03-03
| | | | | | Only sdl app builds work properly for now. Change-Id: I7807d42f69b8577b401e48cdc63de71e54f49217
* Don't set CONFIG_CPU for __PCTOOL__, to avoid wrong asmFrank Gevaerts2012-03-03
| | | | Change-Id: I725d80cf5cc49d9b7460b320489cdeb14be942c0
* Undefine HAVE_ADJUSTABLE_CPU_FREQ for __PCTOOL__Frank Gevaerts2012-03-03
| | | | Change-Id: I1772df581975ed02134d6d7cb230c0991a92a4e1
* Fix __PCTOOL__ dependencies on SIMULATORFrank Gevaerts2012-03-03
| | | | | | | | | * filesize() is not POSIX, so it doesn't need stubbing or redirecting * make the various directory functions use the sim_ versions for PCTOOL * PCTOOL needs generic byteswap functions * fix the database makefile to not use -DSIMULATOR anymore Change-Id: Ic6abc4f662830b85626c751a472fa4a03e844871
* Revise the PCM callback system after adding multichannel audio.Michael Sevakis2012-03-03
| | | | | | | | | | | | | | | | | | Additional status callback is added to pcm_play/rec_data instead of using a special function to set it. Status includes DMA error reporting to the status callback. Playback and recording callback become more alike except playback uses "const void **addr" (because the data should not be altered) and recording uses "void **addr". "const" is put in place throughout where appropriate. Most changes are fairly trivial. One that should be checked in particular because it isn't so much is telechips, if anyone cares to bother. PP5002 is not so trivial either but that tested as working. Change-Id: I4928d69b3b3be7fb93e259f81635232df9bd1df2 Reviewed-on: http://gerrit.rockbox.org/166 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* lcd drivers: split lcd_gradient_rect so it is actually usefulJonathan Gordon2012-03-01
| | | | | | | lcd_gradient_rect() was only usable to draw list lines, so split it up and make a generic gradient draw function available to apps/ Change-Id: I665911a90fef239b5e06592ea2763cbeeb74c83f
* lcd/skin_engine: Add the ability to draw onto the backdrop layerJonathan Gordon2012-02-28
| | | | | | | | | | | | | | The framebuffer the lcd driver uses can now be changed on the fly which means that regular lcd_* drawing functions can draw onto the "backdrop" buffer. The skin engine can use this to create layered effects. Add the tag %VB to a viewport to draw that viewport onto the backdrop layer. If you want to draw an image onto the backdrop framebuffer use %x(backdrop filename) instead of %X() inside a viewport with %VB. Change-Id: I741498e2af6d4f2d78932cabe8942317893e7cfc
* lcd drivers: Convert lcd_[remote_]framebuffer to a pointerJonathan Gordon2012-02-28
| | | | | | | | | | Change all lcd drivers to using a pointer to the static framebuffer instead of directly accessing the static array. This will let us later do fun things like dynamic framebuffer sizes (RaaA) or ability to use different buffers for different layers (dynamic skin backdrops!) Change-Id: I0a4d58a9d7b55e6c932131b929e5d4c9f9414b06
* IPod Classic/6G: LCD sleep (FS#12523) by Cástor MuñozCástor Muñoz2012-02-25
| | | | | Change-Id: I7bea9f61fa315339c1f41efb27d13a4aa30cb4c3 Signed-off-by: Nils Wallménius <nils@rockbox.org>