I’m making a modified Bootloader to (hopefully) enable upload of apps from all UARTs (i.e UART0,UART1,UART2).
Anyhow, I’ve hit a problem with make of the (unmodified) Bootloader:
First of all these compiler warnings:
Creating object file for mios32_midi.c
/MIOS32prj/mios32/trunk/mios32/common/mios32_midi.c: In function 'MIOS32_MIDI_SYSEX_Cmd':
/MIOS32prj/mios32/trunk/mios32/common/mios32_midi.c:1494:3: warning: implicit declaration of function 'BSL_SYSEX_Cmd'
/MIOS32prj/mios32/trunk/mios32/common/mios32_midi.c: In function 'MIOS32_MIDI_SYSEX_Cmd_Query':
/MIOS32prj/mios32/trunk/mios32/common/mios32_midi.c:1577:4: warning: implicit declaration of function 'BSL_SYSEX_ReleaseHaltState'
Then an error with the perl generator part:
-------------------------------------------------------------------------------
Application successfully built for:
Processor: STM32F103RB
Family: STM32F10x
Board: MBHP_CORE_STM32
LCD: dummy
-------------------------------------------------------------------------------
arm-none-eabi-size project_build/project.elf
text data bss dec hex filename
16088 80 5784 21952 55c0 project_build/project.elf
make[2]: Leaving directory `H:/MIOS32prj/sw/Controller/Bootloader'
mv project_build/project.bin project_MBHP_CORE_STM32.bin
perl gen_inc_file.pl project_MBHP_CORE_STM32.bin mios32_bsl_MBHP_CORE_STM32.inc mios32_bsl_image mios32_bsl
process_begin: CreateProcess(NULL, perl gen_inc_file.pl project_MBHP_CORE_STM32.bin mios32_bsl_MBHP_CORE_STM32.inc mios32_bsl_image mios32_bsl, ...) failed.
make[1]: Leaving directory `H:/MIOS32prj/sw/Controller/Bootloader'
make (e=2): The system cannot find the file specified.
make[1]: *** [MBHP_CORE_STM32] Error 2
make: *** [MBHP_CORE_STM32] Error 2
****Build Finished****
Are the compiler warnings a problem?
I’m not sure whats going on with the perl part.
I’m assuming the generated *.inc file is necessary for apps to be built with, so that they are able to be loaded by the new bootloader?
Thanks