rockbox/firmware/target/arm
Michael Sevakis e42a3194de AS3525v1/v2:
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
2011-12-08 19:20:00 +00:00
..
archos/av300 Rework ATA driver to get rid of lots of target-specific constants and allow for non-memory-mapped task file registers. 2011-01-02 22:51:47 +00:00
as3525 AS3525v1/v2: 2011-12-08 19:20:00 +00:00
at91sam Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
imx31 FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
imx233 imx233: add control for more clocks, add debug clock debug screen 2011-12-03 15:34:40 +00:00
ipod FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
iriver FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
olympus FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
pbell FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
philips HDD6330: introduce a new button (BUTTON_TAP), based on the hardware support for gestures. From now on some things are accessible by tapping on the vertical scroll strip. Reorganize, fix and remap some of the keymaps, add missing keymap for the recording. 2011-12-03 23:13:17 +00:00
pnx0101 FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
rk27xx Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801. 2011-11-03 11:53:02 +00:00
s3c2440 Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
s5l8700 Fix the gpl notice in the previous commits new files, and fix the yelow gevearts naughtily ignored 2011-11-16 10:37:48 +00:00
s5l8702 Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
samsung FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
sandisk AS3525v1/v2: 2011-12-08 19:20:00 +00:00
tatung FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
tcc77x Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
tcc780x FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead. 2011-11-22 17:34:01 +00:00
tms320dm320 Sansa Connect: Revise codec initialization/shutdown. 2011-12-05 09:53:23 +00:00
adc-as3514.c adc-as3514.c: cosmetics 2010-05-15 19:44:54 +00:00
adc-pp5020.c
ascodec-pp.c
ascodec-target.h as3514/as3543 fixes 2010-05-17 20:53:25 +00:00
ata-as-arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
ata-nand-telechips.c GSoC/Buflib: Add buflib memory alocator to the core. 2011-08-30 14:01:33 +00:00
ata-pp5002.c
ata-pp5020.c Fix or at least significantly improve FS#11830. With introduction of ATA DMA for PP502x a special treatment of the IDE0_CFG register for the iPod nano (see FS#7510) was lost. 2011-01-21 23:32:57 +00:00
ata-sd-pp.c All kernel objects in code shared amongs targets (core, plugins, codecs) should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one). 2011-02-14 11:27:45 +00:00
ata-target.h Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly). 2011-01-15 08:19:30 +00:00
audio-pp.c
bits-armv4.S Add ARMv4 16-bit(set, mod, clr) operations used on DM320. 2011-02-06 19:43:45 +00:00
bits-armv6.S Remove atomic register bit manipulation functions from i.MX and s3c target code and introduce generic functions for ARM (bitmod32, bitset32, and bitclr32). Multiprocessor support is possible but just not implemented at the moment, only interrupt lockout. 2010-06-30 02:02:46 +00:00
boot-pp502x-bl-usb.lds e200v1 seems to be ok using USB-enabled bootloader. Also, include the bootloader USB .lds into the boot.lds instead of pasting into every one to keep things sane for now-- commented upon inside. 2011-01-16 01:40:15 +00:00
crt0-pp-bl.S Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
crt0-pp.S PortalPlayer: Loading of stack munge value into r4 was moved in r30741 to after the idle stack init loop, breaking the usage readout. 2011-11-27 07:01:47 +00:00
crt0-pp502x-bl-usb.S Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
crt0.S Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
debug-pp.c ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTAT 2011-07-24 17:32:50 +00:00
debug-target.h HDD6330: introduce a new button (BUTTON_TAP), based on the hardware support for gestures. From now on some things are accessible by tapping on the vertical scroll strip. Reorganize, fix and remap some of the keymaps, add missing keymap for the recording. 2011-12-03 23:13:17 +00:00
ffs-arm.S
i2c-pp.c
i2c-telechips.c Re-write the Telechips I2C delay routine in assembler to stop the compiler optimising it away. Tested with EABI and non-EABI compilers. 2010-06-16 21:03:57 +00:00
i2s-pp.c e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200. 2010-06-26 10:07:17 +00:00
kernel-pp.c Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly). 2011-01-15 08:19:30 +00:00
lcd-as-memframe.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
lcd-c200_c200v2.c udelay between command and data write seems to get rid of the display glitches on C200v2 2010-06-27 03:24:56 +00:00
lcd-ssd1815.c
memcpy-arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
memmove-arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
memset-arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
memset16-arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
mmu-arm.h Rename cache coherency functions. 2010-09-08 17:05:49 +00:00
mmu-arm.S imx233/fuze+: prepare target to enable MMU 2011-07-23 11:45:18 +00:00
mmu-armv6.S Fix beast, forgot the asm label when renaming. 2010-09-09 17:00:50 +00:00
pcm-mixer-armv4.c Commit FS#12150 - Fully-functional audio mixer - and finally whip old limitations about playback of voice and other sounds when paused. Channels are independent in state and amplitude. Fade on stop/pause is handled by the channel's volume control rather than global volume which means it now works from anywhere. Opens up the possibility of plugin sounds during music playback by merely adding an additional channel enum. If any PCM drivers were not properly modified, see one of the last comments in the task for a description of the simple change that is expected. Some params are tunable in firmware/export/pcm-mixer.h as well. 2011-06-29 06:37:04 +00:00
pcm-mixer-armv5.c Commit FS#12150 - Fully-functional audio mixer - and finally whip old limitations about playback of voice and other sounds when paused. Channels are independent in state and amplitude. Fade on stop/pause is handled by the channel's volume control rather than global volume which means it now works from anywhere. Opens up the possibility of plugin sounds during music playback by merely adding an additional channel enum. If any PCM drivers were not properly modified, see one of the last comments in the task for a description of the simple change that is expected. Some params are tunable in firmware/export/pcm-mixer.h as well. 2011-06-29 06:37:04 +00:00
pcm-mixer-armv6.c Commit FS#12150 - Fully-functional audio mixer - and finally whip old limitations about playback of voice and other sounds when paused. Channels are independent in state and amplitude. Fade on stop/pause is handled by the channel's volume control rather than global volume which means it now works from anywhere. Opens up the possibility of plugin sounds during music playback by merely adding an additional channel enum. If any PCM drivers were not properly modified, see one of the last comments in the task for a description of the simple change that is expected. Some params are tunable in firmware/export/pcm-mixer.h as well. 2011-06-29 06:37:04 +00:00
pcm-pp.c Oops. "void void" doesn't work in C :p. 2011-09-01 12:20:52 +00:00
pcm-telechips.c Shuffle some functions around so that interfacing with playback.c in particular isn't required. Though playback does finish the audio init, pcm doesn't care who does it. 2011-09-01 12:15:43 +00:00
powermgmt-ascodec.c Sansa AMSv2: initialise PMU (power management unit), inspired by how the OF does it 2011-09-18 15:33:19 +00:00
sd-pp-target.h
support-arm.S Fix assembler .size directives. Currently used binutils don't complain, but 2.21.1 treats these as errors. 2011-11-09 19:20:33 +00:00
system-arm.c Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
system-arm.h Merge functionality of wakeups and semaphores-- fewer APIs and object types. semaphore_wait takes a timeout now so codecs and plugins have to be made incompatible. Don't make semaphores for targets not using them. 2011-03-02 08:49:38 +00:00
system-pp502x.c Add a higher level USB detection that prevents fraudulent bus resets from causing USB mode to be entered. Enable for SA9200 only at this time. Also, for SA9200, use the bus power GPIO rather than the 'connector inserted' GPIO to detect the cable. 2011-01-17 12:24:41 +00:00
system-pp5002.c Rename cache coherency functions. 2010-09-08 17:05:49 +00:00
system-target.h Set the default battery capacity for ipod video properly depending on detected RAM size. 2011-07-19 20:48:16 +00:00
thread-arm.c Changed #warning to a TODO comment. 2011-10-05 14:42:18 +00:00
thread-pp.c Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead. 2011-02-02 17:43:32 +00:00
timer-pp.c
usb-drv-arc.c Some iPod Video's need a 2nd call of ub_drv_init() to establish the USB connection. This workaround breaks the USB functionality for other devices. Until there is a proper fix available just use the workaround for iPod Video only. Fixes FS#12324. 2011-10-20 14:48:20 +00:00
usb-fw-pp502x.c Remove obsolete USB_DETECT_BY_DRV define throughout. 2011-09-14 16:42:43 +00:00
usb-fw-pp5002.c Fix r29053 red and a leftover use of 'usb' variable as a bool rather than int in main-pp.c. 2011-01-15 08:52:59 +00:00
usb-s3c6400x.c Rework FS#12310 fix (r30906) for better readability. No functional change. 2011-11-10 10:37:02 +00:00
usb-target.h Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly). 2011-01-15 08:19:30 +00:00
usb-tcc.c Various minor cleanups for cowon d2 2010-08-01 09:33:29 +00:00
wmcodec-pp.c FS#11417 by Joe Balough: fix audio/tuner on philips hdd6330 2010-06-19 03:51:57 +00:00
wmcodec-telechips.c