cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use IOC from example project in new project?

AFast.1
Associate

I have a STM32WLC1 board with 2 processors. I would like to develop a LoRa based Project that uses both cores. However the example code of Lorawan-Endnode found here:

[link removed because newest members cannot add links]

uses only one core and has an annoying folder structure. CubeIDE hides the INC and src folders, displays ALL *.h files somewhere else and makes it hard to create a new .h file without bypassing the IDE and creating it in fileexplorer. Also the way the folders are structured makes it harder to work with GIT.

My plan is to start a new project in cubeIDE with the STM32WLC1 selected as a project start. This gives me a skeleton with two main files. one for each core. Now i can add files and folders the way that fits my workflow. How ever the IOC is missing and i would love to be able to use it since it is the main reason for me to use cubeIDE in the first place.

So basically i want to rework the Example project but with my own Folder Structure from 'scratch' but somehow load in an existing ioc file from another project example. How would i do so?

2 REPLIES 2
Foued_KH
ST Employee

Hello @AFast.1​ ,

Simply you can just copy this .ioc to another new folder and Re-Generate code .

Hope I helped you!

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

AFast.1
Associate

Are you sure this will work?

The ioc that i have is for single core. But it is important that i have a project wirh dual core usage.