ARMmbed / mbed-os-example-sockets

Simple example for the network-socket API
Apache License 2.0
20 stars 38 forks source link

Can not Compile on Sw4STM32 (Workbench) with DISCO-L475VG-IOT01A #184

Closed SevHub closed 3 years ago

SevHub commented 3 years ago

Hello, I tried to compile this Project under System Workbench but it fails.

How to reproduce: Import into Mbed Online compiler. Chose Target device and export for Sw4STM32. Download the project and open with Sw4STM32.

When building it gives me the following errors:

make -j8 pre-build main-build 
Creating makefile.defs:
echo "export PREPROC_CMD = D:\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/sev/Documents/workbenchmbed2/mbed-os-example-sockets/makefile.defs
Building file: ../source/main.cpp
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.S
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.c
Invoking: MCU G++ Compiler
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.c
Invoking: MCU GCC Compiler
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.c
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.c
Invoking: MCU GCC Compiler
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.c
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
Invoking: MCU GCC Compiler
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O0 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3 -Wvla -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -fno-exceptions -fno-rtti -ffunction-sections -MMD -MP -MF"source/main.d" -MT"source/main.o" -o "source/main.o" "../source/main.cpp" @"source/includes.args"
Invoking: MCU GCC Compiler

C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
Invoking: MCU GCC Compiler
Invoking: MCU GCC Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.S" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/includes.args"
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/includes.args"
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/includes.args"
Building file: ../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.c
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/includes.args"
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/includes.args"
Invoking: MCU GCC Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/includes.args"
arm-none-eabi-g++: error: CreateProcess: No such file or directory
C:\Users\sev\Documents\workbenchmbed2\mbed-os-example-sockets\Debug
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -std=c99 -DUSE_HAL_DRIVER '-DTARGET_NAME=DISCO_L475VG_IOT01A' -DMBED_TICKLESS '-DDEVICE_I2C_ASYNCH=1' -DSTM32L475xx -D__CMSIS_RTOS -DTARGET_STM -DTARGET_LIKE_MBED '-DDEVICE_I2C=1' '-DDEVICE_PWMOUT=1' '-DDEVICE_USTICKER=1' -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 '-D__FPU_PRESENT=1' -DMBED_SPLIT_HEAP '-DCOMPONENT_QSPIF=1' '-DDEVICE_SLEEP=1' '-DFEATURE_BLE=1' -DTARGET_CORTEX_M '-DMBED_BUILD_TIMESTAMP=1616362797.7946246' '-DDEVICE_SPISLAVE=1' -DARM_MATH_CM4 '-DDEVICE_INTERRUPTIN=1' '-DDEVICE_PORTIN=1' '-DDEVICE_SPI_ASYNCH=1' '-DDEVICE_WATCHDOG=1' -DTARGET_MX25R6435F '-DDEVICE_RTC=1' -DMBEDTLS_SHA1_C -DTARGET_FF_ARDUINO -DTARGET_LIKE_CORTEX_M4 -DEXTRA_IDLE_STACK_REQUIRED '-DDEVICE_MPU=1' '-DCOMPONENT_FLASHIAP=1' '-DDEVICE_STDIO_MESSAGES=1' -DTARGET_CORTEX '-DDEVICE_SPI=1' '-DCOMPONENT_BlueNRG_MS=1' '-DDEVICE_PORTINOUT=1' -DTARGET_MCU_STM32 -DTOOLCHAIN_GCC_ARM '-DDEVICE_CAN=1' '-DDEVICE_TRNG=1' -DTOOLCHAIN_GCC '-DDEVICE_USBDEVICE=1' '-DDEVICE_LPTICKER=1' -DUSE_FULL_LL_DRIVER '-DDEVICE_I2CSLAVE=1' '-DDEVICE_QSPI=1' '-DDEVICE_SERIAL_FC=1' '-DDEVICE_RESET_REASON=1' -D__MBED_CMSIS_RTOS_CM -DTARGET_M4 '-DDEVICE_CRC=1' -DTARGET_DISCO_L475VG_IOT01A -DTARGET_MCU_STM32L475xG '-DDEVICE_PORTOUT=1' '-DDEVICE_ANALOGOUT=1' '-DDEVICE_ANALOGIN=1' -D__CORTEX_M4 '-DDEVICE_SERIAL=1' '-DCOMPONENT_ism43362=1' '-D__MBED__=1' '-DDEVICE_FLASH=1' -DTARGET_CORDIO -DTARGET_STM32L475xG '-DTRANSACTION_QUEUE_SIZE_SPI=2' -DTARGET_MCU_STM32L4 -DTARGET_STM32L4 '-DDEVICE_SERIAL_ASYNCH=1' -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DMBED_DEBUG '-DMBED_TRAP_ERRORS_ENABLED=1' -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF -DNDEBUG -DMBED_MINIMAL_PRINTF  -includeC:/Users/sev/Documents/workbenchmbed2/mbed-os-example-sockets/mbed_config.h -O2 -funsigned-char -fomit-frame-pointer -fmessage-length=0 -g3 -Wall -Wextra -c -g3  -Wno-unused-parameter -Wno-missing-field-initializers -ffunction-sections -fdata-sections -c -MMD -MP -MF"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.d" -MT"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o" -o "mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o" "../mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.c" @"mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/includes.args"
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
source/subdir.mk:18: recipe for target 'source/main.o' failed
make: *** [source/main.o] Error 1
make: *** Waiting for unfinished jobs....
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TARGET_DISCO_L475VG_IOT01A/PeripheralPins.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/TOOLCHAIN_GCC_ARM/startup_stm32l475xx.o' failed
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/Legacy/stm32l4xx_hal_can_legacy.o] Error 1
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
arm-none-eabi-gcc: error: CreateProcess: No such file or directory
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/subdir.mk:321: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/subdir.mk:18: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L475xG/system_clock.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/subdir.mk:321: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal.o' failed
make: *** [mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o] Error 1
mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/subdir.mk:321: recipe for target 'mbed-os/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/STM32L4xx_HAL_Driver/stm32l4xx_hal_adc_ex.o' failed

23:27:59 Build Finished (took 13s.415ms)

Note that this way I can compile and run other Mbed Projects, e.g. the (outdated) wifi example for the DISCO-L475 Target: https://github.com/ARMmbed/mbed-os-example-wifi

ciarmcom commented 3 years ago

@SevHub This issue has an incomplete or old issue template.For future reference please use an up to date clone of the repository before raising issues. Many thanks.

ciarmcom commented 3 years ago

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTOSM-3732

paul-szczepanek-arm commented 3 years ago

I don't think it's anything to do with the example: arm-none-eabi-gcc: error: CreateProcess: No such file or directory - looks like it can't find the compiler. I remember windows having problems with includes going over the maximum allowed command line parameter size.

paul-szczepanek-arm commented 3 years ago

This might be a System Workbench Windows specific issue.

paul-szczepanek-arm commented 3 years ago

Why not give mbed studio https://os.mbed.com/studio/ a go?

0xc0170 commented 3 years ago

Exporters were deprecated some time ago. We are not able to assist, closing this as won't fix.