Rockbox

Tasklist

FS#7945 - Don't initialize the USB stack (HAVE_USBSTACK) in bootloader

Attached to Project: Rockbox
Opened by Ben Winslow (Rain) - Saturday, 13 October 2007, 02:16 GMT
Last edited by Alex Parker (BigBambi) - Sunday, 06 June 2010, 08:36 GMT
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If you have HAVE_USBSTACK defined in config-<target>.h from your normal rockbox build, then attempt to build the bootloader, the resulting bootloader image will fail (because some of the USBSTACK code will be called without initialization.)

It may be better to simply #undef HAVE_USBSTACK when BOOTLOADER is defined, but the attached patch instead keeps the code around and avoids calling it.
This task depends upon

Closed by  Alex Parker (BigBambi)
Sunday, 06 June 2010, 08:36 GMT
Reason for closing:  Out of Date

Loading...