Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

mrobe500: Allow bootloader build without HAVE_BOOTLOADER_USB_MODE

I'm leaving it enabled because that's clearly the intent
of the bootloader, but at least there's now an easy path to disabling it
if so desired.

Change-Id: I4f4ecc9a453d376f92e411e0544b587fe4b4c864

+6
+4
bootloader/mrobe500.c
··· 61 61 backlight_init(); 62 62 font_init(); 63 63 button_init(); 64 + #ifdef HAVE_BOOTLOADER_USB_MODE 64 65 usb_init(); 66 + #endif 65 67 66 68 67 69 power_init(); ··· 79 81 printf("Rockbox boot loader"); 80 82 printf("Version %s", rbversion); 81 83 84 + #ifdef HAVE_BOOTLOADER_USB_MODE 82 85 /* Enter USB mode without USB thread */ 83 86 if(usb_detect() == USB_INSERTED) 84 87 { ··· 104 107 reset_screen(); 105 108 lcd_update(); 106 109 } 110 + #endif 107 111 108 112 sleep(50); 109 113
+2
firmware/SOURCES
··· 1302 1302 target/arm/tms320dm320/mrobe-500/pcm-mr500.c 1303 1303 target/arm/tms320dm320/mrobe-500/powermgmt-mr500.c 1304 1304 target/arm/tms320dm320/mrobe-500/power-mr500.c 1305 + #if !defined(BOOTLOADER) || defined(HAVE_BOOTLOADER_USB_MODE) 1305 1306 target/arm/tms320dm320/mrobe-500/usb-mr500.c 1307 + #endif 1306 1308 #endif /* MROBE_500 */ 1307 1309 1308 1310 #if defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) || defined(CREATIVE_ZENMOZAIC) \