cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WLE55 - new created STM32CubeMX files not building

Draegi
Associate II

Hello,

we want to use the STM32WLE55 MCU in the AI50H Module to build a Node to Node connection in a LoRa Network.

So i used the STM32CubeMX Program to build an easy solution that includes only "UART", "SUBGHZ" and "SUBGHZ_PHY" modules.

Goal is that i send a sensor value per UART and the STM32 sends this data over Lora.

So i have several problems:

  1. STM32CubeMX told me to change the linker file because "subghz_phy" is active? what is there to change?
  2. i have (in the fresh generated file) several errors after building.. "<file_path>: Invalid Argument" and "fatal error: no input files"

can someone help me what i am doing wrong?

Sorry for providing not that much information, this is a totally new created project.

1 ACCEPTED SOLUTION

Accepted Solutions
Draegi
Associate II

Hello,

i think i fixed the problem.

My windows profile has an "ä" inside, and i tried an other windows profile "admin" and it works...

View solution in original post

5 REPLIES 5
Ghofrane GSOURI
ST Employee

Hello @steven Drägestein​ 

First let me thank you for posting.

Actually I tried to reproduce the issue mentioned above :

I used the CubeMX 6.8.0 and the STM32WLE5 MCU : I activated the "USART1", "SUBGHZ "and "SUBGHZ_PHY": this is what I got after generate the code


_legacyfs_online_stmicro_images_0693W00000bhiKnQAI.pngAfter building the generated code


_legacyfs_online_stmicro_images_0693W00000bhiKRQAY.png 

You will find below my ioc .

I will be waiting for your feedback to understand more the situation .

Thx

Ghofrane

Draegi
Associate II

Hello Ghofrane,

thanks for your fast reply.

I downloaded your .ioc file, did generate Code with STM32CubeMX and opened the .project File in STM32CubeIDE.

Then i tried to build the project and got 9 Errors, 0 Warnings.

f.e.:

arm-none-eabi-gcc: error: C:/Users/Steven Dr??gestein/Downloads/Utilities/sequencer/stm32_seq.c: Invalid argument

arm-none-eabi-gcc: fatal error: no input files

Its pretty much the same issue like i had in my recent test projects..

I also uploaded a screenshot of the console. Text above are the same errors in different files.

Ghofrane GSOURI
ST Employee

Hello @Steven Drägestein​ 

I used the Cube IDE 1.12.0 to build my project .

Could please try to use the latest version of CubeIDE: 1.12.0

This is the LINK to download it .

Thx

Ghofrane

Draegi
Associate II

Hello @Ghofrane GSOURI​ 

I also used Cube IDE 1.12.0

Even if i create a totally new project in the Cube IDE, i get the same Error with the Linker File "STM32WLE5CCUX_FLASH.ld"

No such file or directory.

I will reinstall CubeIDE

Draegi
Associate II

Hello,

i think i fixed the problem.

My windows profile has an "ä" inside, and i tried an other windows profile "admin" and it works...