Embedded Profiler and STM32G4

Sysprogs forums Forums VisualGDB Embedded Profiler and STM32G4

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34119
    zhukowski
    Participant

    When will chip STM32G4 support be available? . for example, there is no support in the file ProfilerDriver_STM32_HAL.cpp

     

    #34124
    support
    Keymaster

    Hi,

    The instrumentation-based profiling should work just fine and does not require any special drivers. If the project doesn’t build, you can disable the sampling profiler code via VisualGDB Project Properties -> Embedded Frameworks.

    Sampling profiler indeed requires a slight tweak to the STM32 drivers we have, and we can gladly add it if requested by any of our paid users. If you have purchased a license, please let us know the email address associated with it, and we will gladly updated our driver.

    #34338
    zhukowski
    Participant

    Support was added on github over a year ago, just not in the release for some reason.

    https://github.com/sysprogs/SysprogsProfilerFramework/blob/master/ProfilerDriver_STM32_HAL.cpp

    #elif defined(PROFILER_STM32G0) || defined(PROFILER_com_sysprogs_generated_keil_family_STM32G0_Series)
    #include <stm32g0xx_hal.h>
    #include <stm32g0xx_hal_tim.h>
    #elif defined(PROFILER_STM32G4) || defined(PROFILER_com_sysprogs_generated_keil_family_STM32G4_Series)
    #include <stm32g4xx_hal.h>
    #include <stm32g4xx_hal_tim.h>

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