How to port a project from a STM32L476RG to a STM32L072CZYx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-07 1:55 AM
Hello,
I'm working on a BLE project on a STM32L072CZYx MCU and there is an example of a profile that suits my need but it is on another MCU, the STM32L476RG. I want to port the code from that MCU to mine but I don't really know how to do so... I've checked a tutorial on porting code but they use CubeMX and more specifically the .ioc file of the MCU I want to port the code from. The problem is I don't have the .ioc file...
So I have 2 questions regarding this :
- Is it possible to port the code withour using CubeMX?
- Is it possible to generate the .ioc file from the code?
Thanks for your help
Solved! Go to Solution.
- Labels:
-
BLE
-
STM32L0 Series
-
STM32L4 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-07 2:35 AM
Hello @MBour.2​ ,
It is not possible to generate the .ioc file from your code, but you can port your project without using CubeMX tool.
For that, you can follow the required steps to migrate your existing project between STM32L4 and STM32L0 Series, by following tthis AN4809 Application note Migrating between STM32L0 Series and STM32L4 Series / STM32L4+ Series microcontrollers.
For migration, you should take into consideration the following aspects: the hardware migration, the peripheral migration and the firmware migration.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-07 2:35 AM
Hello @MBour.2​ ,
It is not possible to generate the .ioc file from your code, but you can port your project without using CubeMX tool.
For that, you can follow the required steps to migrate your existing project between STM32L4 and STM32L0 Series, by following tthis AN4809 Application note Migrating between STM32L0 Series and STM32L4 Series / STM32L4+ Series microcontrollers.
For migration, you should take into consideration the following aspects: the hardware migration, the peripheral migration and the firmware migration.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-07 2:37 AM
Hello Imen,
Thanks a lot for your answer! I'm going to look into that note.
Sincerly,
Mohamed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-08 12:47 PM
You are welcome :)
Please mark my answer as best by clicking on the "Select as Best" button if it helped :) This can be very helpful for Community users to find this solution more quickly.
If you still need help, feel free to ask your question in more detail.
Imen
Thanks
Imen
