BSP Include CMSIS header

Sysprogs forums Forums VisualGDB BSP Include CMSIS header

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34191
    bflannery
    Participant

    Is there a way to include the CMSIS Device/Core files without including HAL or LL driver frameworks?

    Without either of these options checked any includes of “stm32h7xx.h” do not resolve.

    Do I need to make my own BSP or is there a workaround?

    #34192
    bflannery
    Participant

    Figured this out:

    bsp_include_directories(
    ${BSP_ROOT}/STM32H7xxxx/CMSIS_HAL/Core/Include/
    ${BSP_ROOT}/STM32H7xxxx/CMSIS_HAL/Device/ST/STM32H7xx/Include/
    )
    • This reply was modified 1 year, 7 months ago by bflannery.
    #34196
    support
    Keymaster

    Hi,

    Indeed, this should work. You can edit this setting via GUI by selecting the BSP in Solution Explorer and opening its properties. See this page for a detailed overview of the embedded CMake projects and various options that can be edited.

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