Skip to main content
Peko
Associate III
April 18, 2017
Question

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

  • April 18, 2017
  • 2 replies
  • 955 views
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

    This topic has been closed for replies.

    2 replies

    ST Technical Moderator
    April 18, 2017
    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Peko
    PekoAuthor
    Associate III
    April 19, 2017
    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
    Tesla DeLorean
    Guru
    April 18, 2017
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..