Vlad

Forum Replies Created

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: How to import project example from Workbench SW4ST32 ? #20377
    Vlad
    Participant

    Can you suggest the importing procedure for a STM32 code project prepared for any other GCC-toolchain based IDE ?

    in reply to: How to import project example from Workbench SW4ST32 ? #20375
    Vlad
    Participant

    I should mention – the task is simplified by choosing a workspace for VS inside the copied version of all the STM32CubeF4 installation, within examples source code made for SW4TM32 Eclipse IDE,   to build DEBUG and RELEASE executables in VS and run it. So there is no need to recreate file tree in another location, neither is needed the translation between different compilers and linkers as they are the same and the resulting VS project files should reference the same libraries and the same include files in the same locations as the original installed projects do. I believe there should be a VGDB tutorial for this scenario.

    I believe this kind of tutorial could be the door opening for embedded ARM developers to the convenience of VS  to develop their applications instead of spending most the time on developing basic configuration setups for eclipse IDE.

    in reply to: How to import project example from Workbench SW4ST32 ? #20372
    Vlad
    Participant

    Hi, thank you for reply.  As I said before, we want to import STM32CubeF4 examples made either for SW4TM32 IDE or for Atollic (we’ll use that code for our own subsequent development), both are the same toolchain as VisualGDB, made with STM32CubeMX for Eclipse but VisualGDB required GPDSC files which are not included in STM32CubeF4 examples hence the import process failed. Can you show an example for importing code made for SW4TM32 workbench?  I think it could be importing of STM32CubeMX generated project but how to do it without GPDSC file ? The compiler flags should be the same as if built with visualGDB, libraries to be used those which came with STM32CubeF4 distribution, my “unqualified” thinking suggests it should be easier than Keil or IAR, and could be less of manual file structure recreation as in “generic project import”, am I missing something?

    • This reply was modified 6 years, 9 months ago by Vlad.
    in reply to: How to import project example from Workbench SW4ST32 ? #20359
    Vlad
    Participant

    Does VisualGDB import only those packages which VisualGDB possesses in “pre-imported” ST samples ? Now when I tried to import from newly downloaded STM32CubeF4 folders (copied to my workspace location), following those steps you pointed to , VGDB showed me only  “HAL” directory in the examples for my target board (see attachment screenshot) , but there are 4 more directories in the downloaded packages which I need yet not shown in VGDB.  After this step , my main goal will be to import a large project from ST which is made for STM32 Nucleo expansion board based on their Cube – I don’t expect VGDB to have that example….. how will I import that?

    Is it possible to import a C++ project for STM32 from the user’s repository of the sample code? In other words how to build VS project from the user’s repository of the SMT32 sample code? Do you have tutorial on that? Or does VGDB allow only to import from VGDB provided examples and then user has to manually copy all the contents of the files/directories?

    Please clarify and thanks in advance.

    • This reply was modified 6 years, 9 months ago by Vlad.
    Attachments:
    You must be logged in to view attached files.
    in reply to: How to import project example from Workbench SW4ST32 ? #20356
    Vlad
    Participant

    As a workaround I tried to import from IAR project (also provided in STM32CubeF4 folders) . Import reported success but a followup clean build failed with many C related syntax errors such as “invalid conversion” , “aliased to undefined symbol”, etc…

Viewing 5 posts - 16 through 20 (of 20 total)