Loading...
 

STM32MP1 support available in SW4STM32

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4; you can download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


Error while building project for NUCLEO-L053R8 ST board

Hello everyone,

i have imported from Mbed platform some simple projects for ST Nucleo- L053R8. I’m using 64 bit windows 10 operating system.
Building them I have found the same error, can you help me?

Best regards,
Vito


**** Build of configuration Debug for project Nucleo_read_hyperterminal ****
make pre-build main-build
Creating makefile.defs:
echo “export PREPROC_CMD = C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.15.0.201708311556\tools\compiler\bin/arm-none-eabi-cpp -E -P” > C:/Users/user/Desktop/Nucleo_read_hyperterminal/makefile.defs

Building file: ../main.cpp
Invoking: MCU G++ Compiler
C:\Users\user\Desktop\Nucleo_read_hyperterminal\Debug
arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -mfloat-abi=soft ‘-DDEVICE_SPI=1’ ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ -DTARGET_LIKE_MBED ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32L053R8 ‘-DDEVICE_RTC=1’ -DTOOLCHAIN_object ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC -DTARGET_STM32L0 -DTARGET_CORTEX_M -DTARGET_M0P ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_UVISOR_UNSUPPORTED ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_INTERRUPTIN=1’ ‘-DMBED_BUILD_TIMESTAMP=1507536931.04’ -DTARGET_CORTEX ‘-DDEVICE_I2C=1’ ‘-DDEVICE_PORTOUT=1’ -D__CORTEX_M0PLUS ‘-DDEVICE_STDIO_MESSAGES=1’ -DTARGET_FF_MORPHO ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LOWPOWERTIMER=1’ -DTARGET_FF_ARDUINO -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_SERIAL_FC=1’ -DTARGET_NUCLEO_L053R8 -DARM_MATH_CM0PLUS ‘-DDEVICE_PORTIN=1’ ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_PWMOUT=1’ -DTARGET_LIKE_CORTEX_M0 -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_RTOS_SINGLE_THREAD -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_RTOS_SINGLE_THREAD -DNDEBUG -DMBED_RTOS_SINGLE_THREAD -DNDEBUG -DMBED_RTOS_SINGLE_THREAD -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/TARGET_NUCLEO_L053R8” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/TARGET_NUCLEO_L053R8/TARGET_STM” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/TARGET_NUCLEO_L053R8/TARGET_STM/TARGET_STM32L0” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/TARGET_NUCLEO_L053R8/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/TARGET_NUCLEO_L053R8/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L053R8/device” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/TARGET_NUCLEO_L053R8/TARGET_STM/TARGET_STM32L0/device” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/TARGET_NUCLEO_L053R8/TOOLCHAIN_GCC_ARM” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/drivers” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/hal” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal/mbed/platform” -I”C:/Users/user/Desktop/Nucleo_read_hyperterminal” -includeC:/Users/user/Desktop/Nucleo_read_hyperterminal//tmp/tmpUhzqSe/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”main.d” -MT”main.o” -o “main.o” “../main.cpp”
cc1plus.exe: fatal error: C:/Users/user/Desktop/Nucleo_read_hyperterminal//tmp/tmpUhzqSe/mbed_config.h: No such file or directory
compilation terminated.
subdir.mk:18: recipe for target ‘main.o’ failed
make: *** main.o Error 1

10:18:53 Build Finished (took 235ms)

Can you share your project in zip file , I may take a look

Hello hugoalanochoa,
that’s the file. I’ve imported it in ST4STM32 format, according to the mbed site.

Regards,
Vito

Did you attached something because I do not see anything , or can you send me the link of the projects and the instructions that you followed?

Sorry, total file size exceeds 976K.
That’s the link, but you have to be registered to access it, i think.
https://os.mbed.com/teams/ST/code/Nucleo_read_hyperterminal/Question

In the repository toolbox, on the right, I clicked on “Export to desktop IDE”, then i chose the board and selected the toolchain. (Sw4STM32). After the dowload, i unzipped the project and i opened the folder in Sw4STM32, builded the project and that’s it.


Ok let me take a look , if I suceed to compile the project i will post the instrucctions ( I have already compiled another mbed projects in severals IDE’s)

SOLVED!, i just follow your instructions and I was able to reproduce the issue , so this is the solution:

1) in your projecto go to Project->Settings and under MCU G++ Compiler click on Includes, then see under Include files that the mbed_config.h path is wrong change it for ${ProjDirPath}/mbed_config.h

2) Linker file is also wrong so go to MCU G++ linker then click General , under the text box says ” Linker Script” put the path of the mbed linker file e.g.:
C:\Users\ochoaha\Downloads\Mbed\Nucleo_blink_led_sw4stm32_nucleo_f401re\Nucleo_blink_led\mbed\TARGET_NUCLEO_F401RE\TOOLCHAIN_GCC_ARM\STM32F401XE.ld

3) Finaly under MCU G++ linker go to Miscellaneous and under the text box ” Linker Flags” delete all (use CTRL+A to select all) and replace them for this ones (use the flags that i put in the attached file , some text here at the comments gets corrupted):

-Wl,wrap=main -Wl, -Wl,wrap=_memalign_r -Wl,wrap=exit -Wl,wrap=atexit -DMBED_DEBUG -DMBED_TRAP_ERRORS_ENABLED=1 -Wl,-n -Wl,start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,end-group



Clean and compile



Hello I am building Mbed project exported from Mbed compiler online. I am not able to compile it properly. I have followed the steps mentioned above.

Below is the log output.

make -j8 pre-build main-build
Building file: ../mbed-os/usb/device/utilities/events/TaskBase.cpp
Creating makefile.defs:
echo “export PREPROC_CMD = C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.17.0.201812190825\tools\compiler\bin/arm-none-eabi-cpp -E -P” > C:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/makefile.defs
Invoking: MCU G++ Compiler
Building file: ../mbed-os/usb/device/utilities/events/PolledQueue.cpp
Building file: ../mbed-os/usb/device/utilities/ByteBuffer.cpp
Building file: ../mbed-os/usb/device/utilities/AsyncOp.cpp
C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
Invoking: MCU G++ Compiler
Invoking: MCU G++ Compiler
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/utilities/events/TaskBase.d” -MT”mbed-os/usb/device/utilities/events/TaskBase.o” -o “mbed-os/usb/device/utilities/events/TaskBase.o” “../mbed-os/usb/device/utilities/events/TaskBase.cpp” @”mbed-os/usb/device/utilities/events/includes.args”
Building file: ../mbed-os/usb/device/utilities/LinkedListBase.cpp
Invoking: MCU G++ Compiler
C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/utilities/AsyncOp.d” -MT”mbed-os/usb/device/utilities/AsyncOp.o” -o “mbed-os/usb/device/utilities/AsyncOp.o” “../mbed-os/usb/device/utilities/AsyncOp.cpp” @”mbed-os/usb/device/utilities/includes.args”
Invoking: MCU G++ Compiler
Building file: ../mbed-os/usb/device/utilities/OperationListBase.cpp

C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/utilities/ByteBuffer.d” -MT”mbed-os/usb/device/utilities/ByteBuffer.o” -o “mbed-os/usb/device/utilities/ByteBuffer.o” “../mbed-os/usb/device/utilities/ByteBuffer.cpp” @”mbed-os/usb/device/utilities/includes.args”
Invoking: MCU G++ Compiler
C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/utilities/LinkedListBase.d” -MT”mbed-os/usb/device/utilities/LinkedListBase.o” -o “mbed-os/usb/device/utilities/LinkedListBase.o” “../mbed-os/usb/device/utilities/LinkedListBase.cpp” @”mbed-os/usb/device/utilities/includes.args”
C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/utilities/OperationListBase.d” -MT”mbed-os/usb/device/utilities/OperationListBase.o” -o “mbed-os/usb/device/utilities/OperationListBase.o” “../mbed-os/usb/device/utilities/OperationListBase.cpp” @”mbed-os/usb/device/utilities/includes.args”
Building file: ../mbed-os/usb/device/targets/TARGET_STM/USBPhy_STM32.cpp
Building file: ../mbed-os/usb/device/hal/mbed_usb_phy.cpp
C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/utilities/events/PolledQueue.d” -MT”mbed-os/usb/device/utilities/events/PolledQueue.o” -o “mbed-os/usb/device/utilities/events/PolledQueue.o” “../mbed-os/usb/device/utilities/events/PolledQueue.cpp” @”mbed-os/usb/device/utilities/events/includes.args”
Invoking: MCU G++ Compiler
Invoking: MCU G++ Compiler
arm-none-eabi-g++: error: CreateProcess: No such file or directory
arm-none-eabi-g++: error: CreateProcess: No such file or directory
C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/hal/mbed_usb_phy.d” -MT”mbed-os/usb/device/hal/mbed_usb_phy.o” -o “mbed-os/usb/device/hal/mbed_usb_phy.o” “../mbed-os/usb/device/hal/mbed_usb_phy.cpp” @”mbed-os/usb/device/hal/includes.args”
arm-none-eabi-g++: error: CreateProcess: No such file or directory
C:\Users\tcpatel\Downloads\mbed-os-example-blinky_sw4stm32_disco_f769ni\mbed-os-example-blinky\Debug
arm-none-eabi-g++ -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 ‘-DDEVICE_I2C_ASYNCH=1’ ‘-DDEVICE_EMAC=1’ -DTARGET_DISCO_F769NI ‘-DMBED=1’ ‘-DDEVICE_I2CSLAVE=1’ ‘-DFPU_PRESENT=1’ ‘-DDEVICE_PORTOUT=1’ -DUSBHOST_OTHER ‘-DDEVICE_PORTINOUT=1’ -DMBED_CMSIS_RTOS_CM -DTARGET_STM32F7 ‘-DDEVICE_MPU=1’ ‘-DDEVICE_SERIAL_ASYNCH=1’ -DCMSIS_RTOS -DTOOLCHAIN_GCC ‘-DDEVICE_I2C=1’ ‘-DDEVICE_CAN=1’ -DARM_MATH_CM7 -DTARGET_CORTEX_M -DTARGET_LIKE_CORTEX_M7 ‘-DDEVICE_RTC=1’ ‘-DDEVICE_ANALOGOUT=1’ -DTARGET_M7 ‘-DCOMPONENT_PSA_SRV_IMPL=1’ ‘-DDEVICE_SPI_ASYNCH=1’ ‘-DDEVICE_LPTICKER=1’ ‘-DDEVICE_PWMOUT=1’ -DMBED_TICKLESS ‘-DDEVICE_INTERRUPTIN=1’ ‘-DCOMPONENT_QSPIF=1’ -DTARGET_CORTEX -DTARGET_STM32F769 ‘-DTRANSACTION_QUEUE_SIZE_SPI=2’ ‘-DDEVICE_USBDEVICE=1’ ‘-DDEVICE_STDIO_MESSAGES=1’ -DCORTEX_M7 -DTARGET_FAMILY_STM32 -DTARGET_FF_ARDUINO ‘-DDEVICE_PORTIN=1’ -DTARGET_RELEASE -DTARGET_STM ‘-DDEVICE_QSPI=1’ ‘-DDEVICE_SERIAL_FC=1’ ‘-DCOMPONENT_PSA_SRV_EMUL=1’ ‘-DDEVICE_USTICKER=1’ ‘-DDEVICE_TRNG=1’ -DTARGET_LIKE_MBED ‘-DMBED_BUILD_TIMESTAMP=1554408387.74’ -DTARGET_RTOS_M4_M7 ‘-DDEVICE_SLEEP=1’ -DTOOLCHAIN_GCC_ARM ‘-DDEVICE_SPI=1’ -DTARGET_STM32F769NI ‘-DCOMPONENT_NSPE=1’ ‘-DTARGET_NAME=DISCO_F769NI’ ‘-DDEVICE_SPISLAVE=1’ ‘-DDEVICE_ANALOGIN=1’ ‘-DDEVICE_SERIAL=1’ ‘-DDEVICE_FLASH=1’ -DTARGET_STM32F769xI -DUSB_STM_HAL -DTARGET_STM_EMAC -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DMBED_DEBUG ‘-DMBED_TRAP_ERRORS_ENABLED=1’ -DNDEBUG -DNDEBUG -includeC:/Users/tcpatel/Downloads/mbed-os-example-blinky_sw4stm32_disco_f769ni/mbed-os-example-blinky/mbed_config.h -O0 -funsigned-char -fno-delete-null-pointer-checks -fomit-frame-pointer -fmessage-length=0 -fno-builtin -g3 -Wall -Wextra -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF”mbed-os/usb/device/targets/TARGET_STM/USBPhy_STM32.d” -MT”mbed-os/usb/device/targets/TARGET_STM/USBPhy_STM32.o” -o “mbed-os/usb/device/targets/TARGET_STM/USBPhy_STM32.o” “../mbed-os/usb/device/targets/TARGET_STM/USBPhy_STM32.cpp” @”mbed-os/usb/device/targets/TARGET_STM/includes.args”
arm-none-eabi-g++: error: CreateProcess: No such file or directory
arm-none-eabi-g++: error: CreateProcess: No such file or directory
mbed-os/usb/device/utilities/events/subdir.mk:21: recipe for target ‘mbed-os/usb/device/utilities/events/TaskBase.o’ failed
make: *** mbed-os/usb/device/utilities/events/TaskBase.o Error 1
make: *** Waiting for unfinished jobs....
make: *** mbed-os/usb/device/utilities/OperationListBase.o Error 1
mbed-os/usb/device/utilities/subdir.mk:27: recipe for target ‘mbed-os/usb/device/utilities/OperationListBase.o’ failed
make: *** mbed-os/usb/device/utilities/AsyncOp.o Error 1
mbed-os/usb/device/utilities/subdir.mk:27: recipe for target ‘mbed-os/usb/device/utilities/AsyncOp.o’ failed
mbed-os/usb/device/utilities/subdir.mk:27: recipe for target ‘mbed-os/usb/device/utilities/LinkedListBase.o’ failed
make: *** mbed-os/usb/device/utilities/LinkedListBase.o Error 1
mbed-os/usb/device/utilities/subdir.mk:27: recipe for target ‘mbed-os/usb/device/utilities/ByteBuffer.o’ failed
make: *** mbed-os/usb/device/utilities/ByteBuffer.o Error 1
arm-none-eabi-g++: error: CreateProcess: No such file or directory
mbed-os/usb/device/utilities/events/subdir.mk:21: recipe for target ‘mbed-os/usb/device/utilities/events/PolledQueue.o’ failed
make: *** mbed-os/usb/device/utilities/events/PolledQueue.o Error 1
arm-none-eabi-g++: error: CreateProcess: No such file or directory
arm-none-eabi-g++: error: CreateProcess: No such file or directory
mbed-os/usb/device/hal/subdir.mk:18: recipe for target ‘mbed-os/usb/device/hal/mbed_usb_phy.o’ failed
make: *** mbed-os/usb/device/hal/mbed_usb_phy.o Error 1
mbed-os/usb/device/targets/TARGET_STM/subdir.mk:18: recipe for target ‘mbed-os/usb/device/targets/TARGET_STM/USBPhy_STM32.o’ failed
make: *** mbed-os/usb/device/targets/TARGET_STM/USBPhy_STM32.o Error 1

09:47:09 Build Finished (took 4s.283ms)