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)