How to properly import project to CubeIDE from xCubeAudio examples?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 2:43 AM
Hi, I am trying to do some audio project based on STM32F7/F4 series. I have got STM32F769I-DISCO board. I have downloaded x-cube-audio v.1.1.1 and x-cube-usb-audio v.1.0.0.
I have unpacked both packages and I am trying to build and run some example (starting from Import->Existing project into workspace). Every project that I am trying to build ends up with "Nothing to build for project..." in CubeIDE. What is the best way to start with such examples?
Solved! Go to Solution.
- Labels:
-
Audio
-
STM32CubeIDE
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 4:21 AM
Maybe you have been a bit confused while trying to import.
In older projects like this one you can find some project files for different target GUI. In this case there is:
- EWARM (IAR)
- MDK-ARM (Keil)
- SW4STM32 (AC6)
The latter one can directly be imported into STM32CubeIDE using
- File > Import...
- Select General > Import ac6 System Workbench for STM32 Project
- Insert the path to the project (e.g. C:\[xyz]\Projects\STM32746G-Discovery\Applications\Audio\Audio_BAM) into the field Import source
- Make sure to only select the line where Import as is set to Eclipse project
- Click finish
Good luck!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 4:21 AM
Maybe you have been a bit confused while trying to import.
In older projects like this one you can find some project files for different target GUI. In this case there is:
- EWARM (IAR)
- MDK-ARM (Keil)
- SW4STM32 (AC6)
The latter one can directly be imported into STM32CubeIDE using
- File > Import...
- Select General > Import ac6 System Workbench for STM32 Project
- Insert the path to the project (e.g. C:\[xyz]\Projects\STM32746G-Discovery\Applications\Audio\Audio_BAM) into the field Import source
- Make sure to only select the line where Import as is set to Eclipse project
- Click finish
Good luck!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 5:49 AM
Thanks for this nice explanation. I have tried what You wrote. Problem was probably also with very long path. After shortening I was able to find this Eclipse project.
Despite this fact, I am still struggling to build, now I have no configuration to choose, do I need to set it manually?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-08 1:43 PM
@Antek​ Try to remove imported materiel and redo promoting full path (....../SW4STM32/MP3-STM32F746G-DISCO) ... sounds to me you've not initiated import from proper level. Obviously you should have build configuration set for you if import done properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-11 12:45 AM
Did anyone try to do that with audio libraries and newest CubeIDE? I am still struggling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-11 1:56 AM
I am not sure what I was doing wrong but something is starting to work.
Still I warn everyone that paths are really long with these libraries.
I attach screen with correct import.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-12 2:34 AM
Me too. What a shame. such a beautiful hardware, but what a messy software :sleepy_face:
