Help Needed: Migrating from MicroXplorer to STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-17 5:16 AM
Hey everyone,
Hope you're all doing well.
So, I'm pretty new to ST Microcontrollers and IDEs. I've got a bunch of projects that I've been working on using MicroXplorer. But guess what? MicroXplorer's now outdated. So, I've got to move everything over to STM32CubeIDE.
Can anyone here give me some tips on how to do this? What's the best way to go about it?
Thanks a bunch!
Best,
Luci
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-17 5:26 AM
AIUI, MicroXplorer was the predecessor of CubeMX - I guess that's where the "MX" suffix came from?
https://www.st.com/en/development-tools/microxplorer.html
@LuciferD wrote:Can anyone here give me some tips on how to do this? What's the best way to go about it?
It's just a configuration code generator.
You should be able to build & modify the code with any toolchain, such as STM32CubeIDE.
Have you tried it?
Did it generate .ioc files? If so, have you tried just importing them into CubeMX?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-17 6:22 AM
Hi Andrew,
I wanted to share an update regarding a recent development with the project. When I initially cloned the project from GitHub, I already had the .ioc file generated. However, upon attempting to import the project as is, I encountered errors related to header files and other components.
To address this, I modified my approach. Instead of importing directly, I navigated to File > New > STM32 project from an existing STM32CubeMX configuration File (.ioc). I then included the .ioc file from the MicroXplorer project.
After building the project using this method, I was pleased to find that it compiled successfully without any errors. However, I still have some lingering uncertainty about whether everything went smoothly.
Best regards,
Luci
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-17 11:58 AM - edited ‎2024-04-17 12:00 PM
@LuciferD The CubeMX, a.k.a. "MicroXplorer" is not outdated at all. It is maintained and works well. If you're used to it, you don't have to change your habits and open the .ioc files in CubeIDE. Just keep using CubeMX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 1:32 AM
Hello,
I'm trying to porting my project on STM32CubeIDE and getting this error so I was thinking it's because I'm migrating my project. Can anyone guide me how to resolve that?
Best,
Luci
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 1:50 AM
It's better to post messages as text, using the 'code' button:
It's telling you that it can't find the file usbd_cdc.h
So the first thing to check is: does that file actually exist at all ?
If it does exist, is it in a place where the compiler is looking - ie, somewhere in your Include Paths ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 2:32 AM
Hello,
I just checked my whole directory and I'm unable to find
usbd_cdc.h
in that one so, can you please suggest where to find this file. I mean it's auto generated or what I confused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 2:34 AM
So where was it originally in the project you're porting from ?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 2:42 AM
The link script (.ld) not found: check the name and location.
Some include files not found: check include paths.
