Project compiles not properly, something not linked?

Sysprogs forums Forums VisualGDB Project compiles not properly, something not linked?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12055
    msz_kowalik
    Participant

    Hi,

    I’ve been porting project from CubeMX, and found some problems:

    MCU is STM32L476RG on NUCLEO-L476RG eval board.
    After porting it to VGDB and setting all include directories and setting up frameworks i get this after compilation:

    1>——————- Memory utilization report ——————-
    1>Used FLASH: 6380 bytes out of 1024KB (0%)
    1>Used RAM: 36 bytes out of 128KB (0%)

    while inclluding whole STM HAL. Clearly something is not properly linked.

    Also when trying to debug with upgraded ST-Link and normal JLink i cant get to any breakpoint;

    Current settings:

    • Project is set to MSBuild
    • added STM32L4Cube HAL

    I had no such problem with previous projects, mainly compiled under F411RE;

    Also: when are you planning to release Keil importer? It would really be great to have tool like that;

    • This topic was modified 6 years, 8 months ago by msz_kowalik.
    #12081
    support
    Keymaster

    Hi,

    Please try downloading the latest VisualGDB 5.3 Preview 6. It supports importing STM32CubeMX projects automatically as shown in this tutorial: https://visualgdb.com/tutorials/arm/stm32/cube/

    We may support out-of-the-box Keil importing in the next VisualGDB version (after 5.3), however we would not promise any timelines yet. Instead we made our project importer framework open-source and published to code for the STM32CubeMX and IAR importers, so any project formats not currently supported could be added easily (VisualGDB takes care of all the heavy lifting with synchronizing the changes and updating project files).

    #12084
    msz_kowalik
    Participant

    Thanks for response! I will check new VGDB as soon as I get to my company. Judging from the screenshots, you’ve done some good job!

    • This reply was modified 6 years, 8 months ago by msz_kowalik.
    #12086
    msz_kowalik
    Participant

    it might be stupid question, but how to make this enabled?

    Attachments:
    You must be logged in to view attached files.
    #12088
    support
    Keymaster

    Hi,

    That actually looks like our bug (the feature got disabled on non-Custom licenses). We have re-uploaded the preview 6 build, please update your installation.

    #12093
    msz_kowalik
    Participant

    Getting closer 🙂 Can you advise me on this one?

    Attachments:
    You must be logged in to view attached files.
    #12096
    msz_kowalik
    Participant

    Well, after some time, it magically appear (windows reboot, VS reboots).
    Topic is closed.
    Thank You for Your time and help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.