summaryrefslogtreecommitdiff
path: root/firmware/export (follow)
Commit message (Collapse)AuthorAge
...
* Gigabeat S: Turn off backlight LED supply after a 2-second delay and save a ↵Michael Sevakis2008-12-04
| | | | | | little power. Hardware fading required keeping supply enabled during fade out. Let fade happen at poweroff (might as well~~~). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19322 a1c6a512-1295-4272-9138-f99709370657
* Straighten out some powermanagement stuff. Give target complete control over ↵Michael Sevakis2008-12-03
| | | | | | how power inputs are sensed. Clean SIMULATOR stuff out of target files. Get rid of USB charging option on targets that don't support it or don't implement it yet. Menu string remains to avoid language incompatibility but should be removed on next cleanup for targets not using it (notice in english.lang). global_settings becomes incompatible for some builds and so plugin API version is incremented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19315 a1c6a512-1295-4272-9138-f99709370657
* Remove usb_drv_wait from the public usb api, and remove the implementation ↵Frank Gevaerts2008-11-30
| | | | | | from usb-drv-arc.c, as it is not actually used git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19275 a1c6a512-1295-4272-9138-f99709370657
* Replace USE_HIGH_SPEED with USB_NO_HIGH_SPEED, as high speed support is the ↵Frank Gevaerts2008-11-30
| | | | | | normal case git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19274 a1c6a512-1295-4272-9138-f99709370657
* Move tcc77x/usb-tcc77x.c to usb-tcc.c as it is more general than just tcc77x ↵Frank Gevaerts2008-11-30
| | | | | | | | | | (even usb-tcc is too specific, but I don't know anything better) Add #if0ed USB defines to config-cowond2.h, so experimenting with USB is easy Add dummy set_serial_descriptor() implementation to usb_core.c. This one doesn't generate a unique serial, so it must never be used for non-testing purposes. When usaed, a compiler warning will be generated git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19273 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: build plugins (FS#9578)Rafaël Carré2008-11-28
| | | | | | | | | | | | Use unmodified C200 keymap when possible, variation of it when not Use Archos bitmaps when possible Current problems: - Pegbox plugin shows display corruption (corruption is different in the simulator) - Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen - Splitted screen (yellow/blue) is a bit weird in most plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMS: I2SOUT registers definitionsRafaël Carré2008-11-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19251 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: grey lib support (not calibrated yet)Rafaël Carré2008-11-27
| | | | | | | Declare HAVE_LCD_INVERT Put the framebuffer into IRAM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19249 a1c6a512-1295-4272-9138-f99709370657
* Remove doubled 16k samplerate flag.Michael Sevakis2008-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19243 a1c6a512-1295-4272-9138-f99709370657
* Add hardware backlight fading on Gigabeat S with fade up and down options in ↵Michael Sevakis2008-11-26
| | | | | | LCD Settings. USE_BACKLIGHT_CUSTOM_FADING_BOOL is used to specify the setting type needed but leave the fading code itself implementation-defined. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19237 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMS: use non-busy wakeup to signal end of DMA transferRafaël Carré2008-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19233 a1c6a512-1295-4272-9138-f99709370657
* Get rid of remaining audiohw_enable_output style codec setup and use ↵Michael Sevakis2008-11-26
| | | | | | pre/post split initialization. Move some SoC-specific code like i2s_reset out of the codec drivers. Helps to unify drivers and it was only ever used to enable. I cannot possibly test everything so report (I'll be on call ;) or fix problems if any crop up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19228 a1c6a512-1295-4272-9138-f99709370657
* Fix reds. Also note my r19221 commit message had a typo - shoudld have been ↵Steve Bavin2008-11-26
| | | | | | e200/c200, not e100. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19224 a1c6a512-1295-4272-9138-f99709370657
* ...and spell the property names correctly.Steve Bavin2008-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19222 a1c6a512-1295-4272-9138-f99709370657
* Add software backlight fading for E100/H300/X5/D2, by Thomas Martitz and ↵Steve Bavin2008-11-26
| | | | | | others - see FS#6800 for credits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19221 a1c6a512-1295-4272-9138-f99709370657
* Enable display contrast setting and implement flip for the Clip.Bertrik Sikken2008-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19219 a1c6a512-1295-4272-9138-f99709370657
* m200v4: correct the BOOTDIR define, and invert the button check in the ↵Dominik Wenger2008-11-25
| | | | | | dualboot.S git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19217 a1c6a512-1295-4272-9138-f99709370657
* Add register bit defines for as3514 and clean stuff up. Reduce poppiness at ↵Michael Sevakis2008-11-25
| | | | | | startup and shutdown (and even powerup for e200). Really, I can't honestly say it will help anything but an e200v1 but I'm sick of the noises. ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19214 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMS: Use DMA for SD transfers (read and write)Rafaël Carré2008-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19211 a1c6a512-1295-4272-9138-f99709370657
* Added support for configurable rockbox directory. FS#9567 by Alex Bennee.Björn Stenberg2008-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
* Simplify the wm8731 driver by adding a masked write function. Change ↵Michael Sevakis2008-11-24
| | | | | | _write_or/and to _set/clear. Reduce init sequence by initializing shadows to hardware defaults. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19197 a1c6a512-1295-4272-9138-f99709370657
* Macros should be ALL CAPS, so rename (un)likely() to (UN)LIKELY()Nils Wallménius2008-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19181 a1c6a512-1295-4272-9138-f99709370657
* Audio samplerate control for Gigabeat S: 8, 11.025, 12, 16, 22.050, 24, 32, ↵Michael Sevakis2008-11-22
| | | | | | 44.1 and 48 kHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19178 a1c6a512-1295-4272-9138-f99709370657
* Commit some USB and ATA rework/refactoring (+ USB GPIO detection).Maurus Cuelenaere2008-11-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19165 a1c6a512-1295-4272-9138-f99709370657
* Introduce likely() and unlikely() macros, use to give gcc hints about which ↵Nils Wallménius2008-11-20
| | | | | | branch is likely to be taken in a conditional, use them in the midi player for a small speedup, use instead of similar EXPECT macros in tremor and use in mpegplayer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19162 a1c6a512-1295-4272-9138-f99709370657
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
| | | | | | | | | tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Make MIN_BRIGHTNESS_SETTING to be 1, not 0; the backlight ↵Michael Sevakis2008-11-19
| | | | | | already has "off". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19145 a1c6a512-1295-4272-9138-f99709370657
* Add some watchdog timer definitions for IMX31LMichael Sevakis2008-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19143 a1c6a512-1295-4272-9138-f99709370657
* MC13783 PMIC: Make some defines more strictly correct-- interrupts, etc.Michael Sevakis2008-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19142 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: backlight brightness is not possible, so remove references to itRafaël Carré2008-11-18
| | | | | | | We don't need to mess with CCU_IO register (it's only needed for targets with a SD slot) so don't keep its value when changing buttonlight git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19139 a1c6a512-1295-4272-9138-f99709370657
* MC13783 cleanup. Remove functions proving themselves not so useful and add ↵Michael Sevakis2008-11-18
| | | | | | mc13783_write_masked which is pretty useful. Add an error code definition for invalid data. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19132 a1c6a512-1295-4272-9138-f99709370657
* Remove iAudio references from the Cowon D2 build, since it is not an iAudio ↵Rob Purchase2008-11-17
| | | | | | branded player. The binary name has changed to rockbox.d2, so you will need to re-configure and update your bootloader after this change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19130 a1c6a512-1295-4272-9138-f99709370657
* Fix the Sansa AMS SD driverRafaël Carré2008-11-16
| | | | | | | | | | | | | | | | - Make write_sectors() function fail. - Disable interrupts while transferring data and do not yield(), so we are sure the FIFO is not overflowed Note this solution is only temporary since it's not friendly to other threads and confuse kernel tick precision This will be reverted when we will be using DMA to access the SD card, but for now it permits further development - PL180: Rename the MMC_* registers into MCI_*, to not make people believe it is a MMC only controller - Supports non aligned destination buffers when reading - Correct the timeout units which were lamely copied from ata-sd-pp.c and were in milliseconds (note that the timeouts are disabled now) - Higher a bit the stack size - Use the full initialization procedure in the bootloader and the loaded firmware - Use the CCU_IO register only when a SD slot is present - Put some panicf() around to catch problems git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19122 a1c6a512-1295-4272-9138-f99709370657
* Remove some unneeded #includesDave Chapman2008-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19105 a1c6a512-1295-4272-9138-f99709370657
* m200v4: make buttons work again (added a small delay). make m200 keymap ↵Dominik Wenger2008-11-14
| | | | | | better. Add button mappings for the sim. Remove some config defines temporary to make building work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19104 a1c6a512-1295-4272-9138-f99709370657
* Assume that AS3514_I2C_ADDR is not target-specific. If it turns out to be ↵Dave Chapman2008-11-12
| | | | | | different to 0x46 in a future target, then perhaps move this definition into the ascodec-target.h files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19100 a1c6a512-1295-4272-9138-f99709370657
* Revert last commit (accidentally committed the whole tree)Karl Kurbjun2008-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19095 a1c6a512-1295-4272-9138-f99709370657
* Add in the needed crt0.S code for the wakeup alarm alsoKarl Kurbjun2008-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19094 a1c6a512-1295-4272-9138-f99709370657
* Add more driver stubs to make the Fuze and e200v2 main builds compile; ↵Dave Chapman2008-11-11
| | | | | | Correct the memory definition for the Fuze (8MB) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19090 a1c6a512-1295-4272-9138-f99709370657
* Fix red: e200/c200 use ADC_UNREG_POWER define (for compatibility)Rafaël Carré2008-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19080 a1c6a512-1295-4272-9138-f99709370657
* as3514: do not error out if included by files which don't use AS3514_I2C_ADDRRafaël Carré2008-11-10
| | | | | | | If the model is unknown and try to use it, the build will fail anyway because it will not be defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19079 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMS: use the AS3514 ADC driverRafaël Carré2008-11-10
| | | | | | | | | | | Move the ADC defines to as3514.h, and make adc-target.h only include as3514.h Implement the missing API (ascodec_readbytes, ascodec_(un)lock) Revert the changes to the PP-specific arm/ascodec-target.h in r19073, use a AS3525 specific ascodec-target.h while moving the AS3514 specific code in export/as3514.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19076 a1c6a512-1295-4272-9138-f99709370657
* Merge target/arm/as3525/as3525-codec.h into target/arm/ascodec-target.hRafaël Carré2008-11-10
| | | | | | | The AMS Sansa use the same AS3514 registers (except USB_UTIL which was added) Use the register defines in AMS Sansa code instead of hardcoded values git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19073 a1c6a512-1295-4272-9138-f99709370657
* AMS Sansa (formerly 'V2') use the as3514 RTCRafaël Carré2008-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19072 a1c6a512-1295-4272-9138-f99709370657
* Revert r19069 - the m200s can't charge. Also, don't use charger_inserted() ↵Dave Chapman2008-11-10
| | | | | | as a method for detecting USB (this gives a false positive with USB wall chargers), and protect the definition of charger_inserted() with #if CONFIG_CHARGING. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19071 a1c6a512-1295-4272-9138-f99709370657
* make m200v4 build compilable.Dominik Wenger2008-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19070 a1c6a512-1295-4272-9138-f99709370657
* M200V4 : use simple charging (no support yet, will be controlled via i2c)Rafaël Carré2008-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19069 a1c6a512-1295-4272-9138-f99709370657
* m200v4 : disable RTC in bootloaderRafaël Carré2008-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19065 a1c6a512-1295-4272-9138-f99709370657
* Fix Clip firmware building by adding missing symbolsRafaël Carré2008-11-10
| | | | | | | | | Implement some of the new functions Use as3514 rtc Add AS3525 case in rolo.c Copy card_get_info_target() from ata-sd-pp.c , and use the correct 32bits words order git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19064 a1c6a512-1295-4272-9138-f99709370657
* oops, one more renameDaniel Stenberg2008-11-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19061 a1c6a512-1295-4272-9138-f99709370657