Quick question: will this firmware work without an LCD attached?
Here were my errors compiling the boot binary:
C:\preenFM2\trunk>make boot
arm-none-eabi-c++ -Tlinker_bootloader/stm32f4xx.ld -mthumb -mcpu=cortex-m4 -mf
loat-abi=hard -mfpu=fpv4-sp-d16 -gc-sections --specs=nano.specs build/BootLoad
er.o build/usb_storage_usr.o build/usbd_storage_desc.o build/usbd_storage.o buil
d/usbKey_usr.o build/usb_bsp.o build/Encoders.o build/LiquidCrystal.o build/UsbK
ey.o build/Storage.o build/Common.o build/system_stm32f4xx.o build/stm32f4xx_gpi
o.o build/stm32f4xx_rcc.o build/stm32f4xx_flash.o build/stm32f4xx_usart.o build/
ff.o build/fattime.o build/usb_core.o build/usb_hcd.o build/usb_hcd_int.o build/
usb_dcd.o build/usb_dcd_int.o build/usbh_core.o build/usbh_hcs.o build/usbh_iore
q.o build/usbh_stdreq.o build/usbh_msc_core.o build/usbh_msc_bot.o build/usbh_ms
c_scsi.o build/usbh_msc_fatfs.o build/usbd_core.o build/usbd_ioreq.o build/usbd_
req.o build/usbd_msc_bot.o build/usbd_msc_core.o build/usbd_msc_data.o build/usb
d_msc_scsi.o build/misc.o build/startup_bootloader.o -o build/p2_boot_1.11.elf
build/BootLoader.o: In function `BootLoader::initKey()':
C:\preenFM2\trunk/src/bootloader/BootLoader.cpp:121: undefined reference to `Usb
Key::firmwareInit()'
build/BootLoader.o: In function `BootLoader::burnFlash()':
C:\preenFM2\trunk/src/bootloader/BootLoader.cpp:384: undefined reference to `Usb
Key::loadFirmwarePart(char*, int, void*, int)'
build/BootLoader.o: In function `BootLoader::process()':
C:\preenFM2\trunk/src/bootloader/BootLoader.cpp:141: undefined reference to `Usb
Key::readNextFirmwareName(char*, int*)'
C:\preenFM2\trunk/src/bootloader/BootLoader.cpp:157: undefined reference to `Usb
Key::firmwareInit()'
build/usbd_storage.o: In function `STORAGE_GetCapacity(unsigned char, unsigned l
ong*, unsigned short*)':
C:\preenFM2\trunk/src/bootloader/usbd_storage.c:138: undefined reference to `Usb
Key::diskioGetSectorNumber()'
build/usbd_storage.o: In function `STORAGE_Read(unsigned char, unsigned char*, u
nsigned long, unsigned short)':
C:\preenFM2\trunk/src/bootloader/usbd_storage.c:180: undefined reference to `Usb
Key::diskioRead(unsigned char*, int, int)'
build/usbd_storage.o: In function `STORAGE_Write(unsigned char, unsigned char*,
unsigned long, unsigned short)':
C:\preenFM2\trunk/src/bootloader/usbd_storage.c:195: undefined reference to `Usb
Key::diskioWrite(unsigned char*, int, int)'
build/Storage.o: In function `Storage::copy(char*, char const*, int)':
C:\preenFM2\trunk/src/hardware/Storage.cpp:36: undefined reference to `preenMain
Preset'
build/Storage.o: In function `Storage::copy_string(char*, char const*)':
C:\preenFM2\trunk/src/hardware/Storage.cpp:554: undefined reference to `midiConf
ig'
C:\preenFM2\trunk/src/hardware/Storage.cpp:554: undefined reference to `midiConf
ig'
build/Storage.o: In function `Storage::copy(char*, char const*, int)':
C:\preenFM2\trunk/src/hardware/Storage.cpp:36: undefined reference to `preenMain
Preset'
build/Storage.o: In function `Storage::getValue(char*, char*)':
C:\preenFM2\trunk/src/hardware/Storage.cpp:601: undefined reference to `midiConf
ig'
collect2.exe: error: ld returned 1 exit status
make: *** [build/p2_boot_1.11.elf] Error 1