cancel
Showing results for 
Search instead for 
Did you mean: 

Add X-CUBE-CELLULAR to an existing project using X-CUBE-AZRTOS-L4 on B-L462E-CELL1

Mic_22_
Associate

Hi,

I am currently working on a project with the B-L462E-CELL1 Cellular IoT Discovery kit using the X-CUBE-AZRTOS-L4 Azure RTOS software expansion in the XCube IDE and would like to add the X-CUBE-CELLULAR expansion package to my project to support the cellular connectivity feature of the chip.

However, when I copy the files used in the example project (STM32CubeExpansion_CELLULAR_V7.0\Projects\B-L462E-CELL1\Demonstrations\Nx_TCP_Echo_Client)^into mine, I get some unresolved includes. However, I have the same includes in my projec under Parameters>C/C++ General>Paths and symbols>Includes as what is present in the example project mentioned earlier. I see that the How to>How to implement your own application section of the documentation says "Coming soon", so I can't read more doc on how to do it.

So I wanted to know what files to include in my project and how to set up my project correctly to include the X-CUBE-CELLULAR expansion package to my project and thus use the cell function of my dev kit. Has anyone managed to do this?

Thanks.

Bests regards

2 REPLIES 2
JVand.12
Associate II

You can use the errors to guide you as to which includes you need to add. Go through the errors one by one, noting which file the errored code belongs to and then add the corresponding include file in the project properties, making sure to use the profile that you are using to compile this project.

FCham.1
Associate II

I have a very similar issue. I started from the "STM32CubeExpansion_CELLULAR_V7.0\Projects\B-L462E-CELL1\Demonstrations\Nx_TCP_Echo_Client" which worked out of the box. But I wanted to create my own project based on that demo. Turns out I have many issues:

  • tx_initialize_low_level.s give issues "Error: unrecognized syntax mode "unified__RAM_segment_used_end__"
  • hard time compiling threadx
  • hard time compiling NetXDuo and his dependencies

I am also trying to convert the whole thing into a CMake/VSCode project (Which worked for a simple program). It makes way more sense to me (as threadx and netxDuo are already CMake projects). Starting from MaJerle VSCode example.

My idea is to create a clean and simple project including all these dependencies (ideally as git submodules or equivalent). But it looks very painful and time consuming.