Skip to main content
Martin.Sergio
Associate III
Oct 5, 2017 6:25 AM UTC
Solved

How to Add A Linked File Resource in System Workbench for STM32?

Posted on October 05, 2017 at 08:25

Hi,

I´m using a STM32F469I_Eval and in the Examples provides with STM32Cube_FW_F4, I can see that there are some Linked Resources (FILES). If I edit the .project file there are something like that:

<link>

<name>Drivers/STM32F4xx_HAL_Driver/stm32f4xx_hal.c</name>

<type>1</type>

<locationURI> copy_PARENT1/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c</locationURI>

</link>

<link>

<name>Drivers/BSP/STM32469I_EVAL/stm32469i_eval.c</name>

<type>1</type>

<locationURI>copy_PARENT1/Drivers/BSP/STM32469I_EVAL/stm32469i_eval.c</locationURI>

</link>

But if I want to create my own project I only can create a Linked Resource (FOLDER). If I edit the .project there are something like that:

<link>

<name>HAL</name>

<type>2</type>

<location>C:/workspace/SystemWorkbenchForSTM32/STM32F4xx_HAL_Driver</location>

</link>

<link>

<name>STM3246I_EVAL</name>

<type>2</type>

<location>C:/workspace/SystemWorkbenchForSTM32/STM32469I_EVAL</location>

</link>

How can I link a File Resource like does ST? (without editing the .project file) I can´t find this option in eclipse menus

Thanks in advance,

Sergio

    This topic has been closed for replies.
    Vangelis Fortounas
    Associate II
    Oct 5, 2017 7:15 PM UTC
    Posted on October 05, 2017 at 21:15

    Hello Sergio!

    You can add a Linked File Resource as below.

    Right click to folder that you want to add the file  ->New->File.

    Click 'Advanced' button.

    Check  'Link to File in the File System'  checkbox.

    Click button 'browse'

    And choose the file you want.

    Regards

    vf

    4 replies

    Martin.Sergio
    Associate III
    Oct 5, 2017 9:23 AM UTC
    Posted on October 05, 2017 at 11:23

    I asked in System Workbench for STM32 Forum also

    http://www.openstm32.org/forumthread5855

     

    Still No Answer...

    Vangelis Fortounas
    Associate II
    Oct 5, 2017 7:15 PM UTC
    Posted on October 05, 2017 at 21:15

    Hello Sergio!

    You can add a Linked File Resource as below.

    Right click to folder that you want to add the file  ->New->File.

    Click 'Advanced' button.

    Check  'Link to File in the File System'  checkbox.

    Click button 'browse'

    And choose the file you want.

    Regards

    vf

    Martin.Sergio
    Associate III
    Oct 13, 2017 9:27 AM UTC
    Posted on October 13, 2017 at 09:27

    Hello,

      

    Is it possible to add more than one file at a time?

    Regards

       Sergio

    Vangelis Fortounas
    Associate II
    Oct 13, 2017 11:00 PM UTC
    Posted on October 13, 2017 at 23:00

    Hello,

    I don't know a way to choose many files and to  add at a time.

    But by adding a folder, same way as file , adds also all the contents of the folder.

    Regards.

    vf