Using STM32CubeMX Project Wizard for STM32L053R8T

Sysprogs forums Forums VisualGDB Using STM32CubeMX Project Wizard for STM32L053R8T

This topic contains 4 replies, has 2 voices, and was last updated by  PeterU 1 week, 1 day ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29971

    PeterU
    Participant

    VisualGDB  version5.5R4, STM32CubeMX version 6.1.1

    Using STM32CubeMX Project Wizard I have been able to create a project for an STM32F030RCT device.

    Following the same steps if I try and create a project for a STM32L053R8T device. When I click finish (the final step of the project creation wizard), error messages are displayed in the Log window the fist error message is:

    — Configuring done
    CMake Error at C:/Program Files (x86)/Sysprogs/VisualGDB/CMake/embedded/bsp.cmake:43 (add_library):
    Cannot find source file:

    There are no source files viewable in the “Solution Explorer” of the created project.

    When I navigate to the project folder with window explorer the .c and .h files for the project have been generated/copied to the folder.

    #29972

    support
    Keymaster

    Hi,

    It looks like you have attached an incomplete configuration log. Please make sure you copy the entire log from the VisualGDB Build window (you can use the “Copy All” context menu command). It should provide more context on the error.

    #29977

    PeterU
    Participant

    Configuration log:

    • This reply was modified 1 week, 2 days ago by  support. Reason: formatting
    #29981

    support
    Keymaster

    Thanks, this looks like the .gpdsc file generated by the STM32CubeMX tool is referencing a header file that doesn’t exist. This is a bug in the STM32CubeMX tool that is likely specific to a certain device family/package. Please consider reporting it to ST. You can also work around it by simply creating the missing file.

    We have also updated VisualGDB to automatically skip the missing files (VisualGDB-5.6.1.4029.msi), however it may lead to unbuildable projects that would require manual adjustment in case STM32CubeMX skips important files.

    #29983

    PeterU
    Participant

    Thanks for solving this issue downloaded and tried the new version of VisualGDB and can now generate the project; was also able to build the project as the missing header file is not reference in any of the source code files.

    Have now reported the issue to ST

     

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.