2025-03-26 3:35 AM
Hi everyone,
I'm working with the LoRaWAN extension for STM32CubeIDE, specifically the LoRaWAN_End_Node project from STM32CubeExpansion_LRWAN_V2.1.0. I need to control some GPIO pins, setting them HIGH and LOW in specific situations. To do that, I want to initialize them to LOW and then toggle them as needed.
The problem is that this project does not include a .ioc file, and I'm not sure how to add one to an existing project. If I create a new project from scratch, I do get the .ioc file and can configure the pins easily, but I don’t know how to generate or integrate it into this existing project.
Does anyone know how to add a .ioc file to an STM32CubeIDE project that doesn’t have one? Any guidance would be greatly appreciated!
Thanks in advance!
2025-03-26 3:55 AM - edited 2025-03-26 4:05 AM
@Mariiian09 wrote:I want to initialize them to LOW and then toggle them as needed.
The problem is that this project does not include a .ioc file
As your existing project demonstrates, You don't need an .ioc file - you can just write the code using the HAL functions.
Follow the example of how the existing code does it for the GPIOs that it uses.
There isn't any way to reverse-engineer an .ioc file - you would just have to create it all manually.
PS:
If you really feel you must have an .ioc file, rather than try to integrate it into the existing Project, I would suggest the opposite - ie, merge you existing code into the new Project.
2025-03-26 9:57 AM
Here you can find quick help with your issue: https://www.fiverr.com/categories/programming-tech/electronics-engineering/embedded-systems-iot?ref=platform%3Astm32