2019-04-12 03:22 AM
Please help me with:
OS_1:
Arch Linux(64)
Atollic TrueSTUDIO 9.3
OS_2:
Windows 7(64)
Atollic TrueSTUDIO 9.3
en.x-cube-sfox.zip project was taken:
https://www.st.com/en/embedded-software ... -sfox.html
For bulding example project:
STM32CubeExpansion_SFOX_V1.1.0\Projects\B-L072Z-LRWAN1\Applications\Sgfx\Sgfx_push_button
TrueSTUDIO was installed. On both OS project import has been done without any warning.
Project has been built successfully only on Linux system.
On Windows TrueSTUDIO log from console:
arm-atollic-eabi-gcc -c ..\..\..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Src\stm32l0xx_hal_rcc.c -mthumb -mcpu=cortex-m0plus -std=gnu11 -DSTM32L072xx -DUSE_B_L072Z_LRWAN1 -D USE_FULL_LL_DRIVER -D USE_RADIO_LL_DRIVER -I../../../inc -I../../../../Common/cwmx1zzabz/Radio_Sigfox_Driver -I../../../../Common/cwmx1zzabz/Credentials_libs -I../../../../../../../../Drivers/BSP/MLM32L07X01 -I../../../../../../../../Drivers/BSP/Components/sx1276 -I../../../../../../../../Drivers/STM32L0xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../../../../../../../../Drivers/CMSIS/Include -I../../../../../../../../Drivers/BSP/B-L072Z-LRWAN1 -I../../../../../../../../Middlewares/Third_Party/Sgfx/utils -I../../../../../../../../Middlewares/Third_Party/Sgfx/SigfoxLib -I../../../../../../../../Middlewares/Third_Party/Sgfx/SigfoxLibTest -I../../../../../../../../Middlewares/Third_Party/Sgfx/Crypto -I../../../../../../../../Drivers/BSP/Components -I../../../../../../../../Drivers/BSP/X_NUCLEO_IKS01A2 -I../../../../../../../../Drivers/BSP/Components/hts221 -I../../../../../../../../Drivers/BSP/Components/lps22hb -I../../../../../../../../Drivers/BSP/Components/lps25hb -I../../../../../../../../Drivers/BSP/Components/Common -Os -ffunction-sections -fstack-usage -Wall -fmessage-length=0 -specs=nano.specs -o Drivers_STM32L0xx_HAL_Driver\stm32l0xx_hal_rcc.o
arm-atollic-eabi-gcc -c ..\..\..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Source\Templates\system_stm32l0xx.c -mthumb -mcpu=cortex-m0plus -std=gnu11 -DSTM32L072xx -DUSE_B_L072Z_LRWAN1 -D USE_FULL_LL_DRIVER -D USE_RADIO_LL_DRIVER -I../../../inc -I../../../../Common/cwmx1zzabz/Radio_Sigfox_Driver -I../../../../Common/cwmx1zzabz/Credentials_libs -I../../../../../../../../Drivers/BSP/MLM32L07X01 -I../../../../../../../../Drivers/BSP/Components/sx1276 -I../../../../../../../../Drivers/STM32L0xx_HAL_Driver/Inc -I../../../../../../../../Drivers/CMSIS/Device/ST/STM32L0xx/Include -I../../../../../../../../Drivers/CMSIS/Include -I../../../../../../../../Drivers/BSP/B-L072Z-LRWAN1 -I../../../../../../../../Middlewares/Third_Party/Sgfx/utils -I../../../../../../../../Middlewares/Third_Party/Sgfx/SigfoxLib -I../../../../../../../../Middlewares/Third_Party/Sgfx/SigfoxLibTest -I../../../../../../../../Middlewares/Third_Party/Sgfx/Crypto -I../../../../../../../../Drivers/BSP/Components -I../../../../../../../../Drivers/BSP/X_NUCLEO_IKS01A2 -I../../../../../../../../Drivers/BSP/Components/hts221 -I../../../../../../../../Drivers/BSP/Components/lps22hb -I../../../../../../../../Drivers/BSP/Components/lps25hb -I../../../../../../../../Drivers/BSP/Components/Common -Os -ffunction-sections -fstack-usage -Wall -fmessage-length=0 -specs=nano.specs -o Drivers_CMSIS\system_stm32l0xx.o
arm-atollic-eabi-gcc: error: ..\..\..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Source\Templates\system_stm32l0xx.c: No such file or directory
arm-atollic-eabi-gcc: fatal error: no input files
compilation terminated.
09:49:46 Build Finished (took 2s.753ms)
I've attached:
mlm32l07x01_PushButton.build.log
system_stm32l0xx.c is in correct place and compiler locates it by correct path.
There is an issue with path to file length in arm-atollic-eabi-gcc passing to.
How should I build? Thanx.