cancel
Showing results for 
Search instead for 
Did you mean: 

How import ''STM32 example'' to System Workbench for STM32 ?

Peko
Associate III
Posted on April 18, 2017 at 16:20

Hello,

I bought a board STM32F407 Disc1.

I wanted to try the example

'Audio_playback_and_record'. But there is not a project for System Workbench for STM32.

I opened project in Atollic directory, but I get many errors in System Workbench for STM32.

Does ST

plan to generate example projects for System Workbench for STM32 for this board ? 

Is there any way to import these examples into System Workbench for STM32 ?

Thanks

Peter

4 REPLIES 4
Imen.D
ST Employee
Posted on April 18, 2017 at 16:50

Hi

pekub

,

Cube firmware packages integrate SW4STM32 demonstration.

You can select the example suitable for you as this one within STM32CubeF4 v1.0 firmware package:

STM32Cube_FW_F4_V1.0\Projects\STM32F4-Discovery\Applications\Audio\Audio_playback_and_record

To open an existing project with SW4STM32 you should follow this steps below:

• Open SW4STM

•select '

File' >> Import

Highlight '

Existing Projects into workspace'

and click 'Next'

• Click on “Browse�? for the root directory

• The projects list is refreshed (select then your project)

• Ensure the option Copy projects into workspace is unchecked

• Then click Finish.

Hope this bring you some help.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on April 18, 2017 at 17:03

It is highly improbable that SPL examples will be ported to new platforms.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Peko
Associate III
Posted on April 19, 2017 at 09:34

Hi Imen,

Your answer was very helpful for me. Now I know that examples for my board are located in two different places.

- exapmles for StdLib:  in  en.stsw-stm32068.zip

- examples for HAL_Lib: in  STM32Cube_FW_F4_V1.15.0  ( importable directly into System Workbench for STM32 )

The 'HAL_example' Audio_playback_and_record is a bit different than the 'StdLib_example'.

There is missing audio playback from flash memory. Just this function I need to try.

Nevertheless, thank you for your help.

Peter
Posted on May 17, 2017 at 17:24

Imen D wrote:

• Ensure the option Copy projects into workspace is unchecked

DAHMEN.IMEN

- WHY ???

Surely, that is exactly the option you

do

want to check?!?!

You do want to be able to take a copy of the example to mess about with - but retain the original to go back to if it all goes wrong. Or if you just want to start afresh with some different experiments.

But checking the 'copy' option does not work - it creates the folder structure in the Workspace, but does not populate it with any files.