Skip to content

Commit

Permalink
Update STM cube packages (#2949)
Browse files Browse the repository at this point in the history
***NO_CI***
  • Loading branch information
josesimoes authored Jun 5, 2024
1 parent d79617e commit 47e7bb3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions CMake/Modules/STM32_CubePackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,28 @@ macro(ProcessSTM32CubePackage)

if("${TARGET_SERIES}" STREQUAL "STM32F0xx")
# WHEN CHANGING THESE MAKE SURE TO UPDATE THE DEV CONTAINERS
set(HAL_DRIVER_GIT_TAG v1.7.6)
set(CMSIS_DEVICE_GIT_TAG v2.3.6)
set(HAL_DRIVER_GIT_TAG v1.7.8)
set(CMSIS_DEVICE_GIT_TAG v2.3.7)
elseif("${TARGET_SERIES}" STREQUAL "STM32F4xx")
# WHEN CHANGING THESE MAKE SURE TO UPDATE THE DEV CONTAINERS
set(HAL_DRIVER_GIT_TAG v1.7.13)
set(CMSIS_DEVICE_GIT_TAG v2.6.7)
set(HAL_DRIVER_GIT_TAG v1.8.2)
set(CMSIS_DEVICE_GIT_TAG v2.6.9)
elseif("${TARGET_SERIES}" STREQUAL "STM32F7xx")
# WHEN CHANGING THESE MAKE SURE TO UPDATE THE DEV CONTAINERS
set(HAL_DRIVER_GIT_TAG v1.2.10)
set(CMSIS_DEVICE_GIT_TAG v1.2.7)
set(HAL_DRIVER_GIT_TAG v1.3.1)
set(CMSIS_DEVICE_GIT_TAG v1.2.9)
elseif("${TARGET_SERIES}" STREQUAL "STM32H7xx")
# WHEN CHANGING THESE MAKE SURE TO UPDATE THE DEV CONTAINERS
set(HAL_DRIVER_GIT_TAG v1.10.1)
set(CMSIS_DEVICE_GIT_TAG v1.10.1)
set(HAL_DRIVER_GIT_TAG v1.11.3)
set(CMSIS_DEVICE_GIT_TAG v1.10.4)
elseif("${TARGET_SERIES}" STREQUAL "STM32L0xx")
# WHEN CHANGING THESE MAKE SURE TO UPDATE THE DEV CONTAINERS
set(HAL_DRIVER_GIT_TAG v1.10.5)
set(CMSIS_DEVICE_GIT_TAG v1.9.2)
set(HAL_DRIVER_GIT_TAG v1.10.6)
set(CMSIS_DEVICE_GIT_TAG v1.9.3)
elseif("${TARGET_SERIES}" STREQUAL "STM32L4xx")
# WHEN CHANGING THESE MAKE SURE TO UPDATE THE DEV CONTAINERS
set(HAL_DRIVER_GIT_TAG v1.13.2)
set(CMSIS_DEVICE_GIT_TAG v1.7.2)
set(HAL_DRIVER_GIT_TAG v1.13.4)
set(CMSIS_DEVICE_GIT_TAG v1.7.3)
endif()

set(NO_STM32_HAL_DRIVER_SOURCE TRUE)
Expand Down
2 changes: 1 addition & 1 deletion targets/AzureRTOS/ST/ORGPAL_PALTHREE/stm32f7xx_hal_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ extern "C"
#define TICK_INT_PRIORITY ((uint32_t)15U) /*!< tick interrupt priority */
#define USE_RTOS 0U
#define PREFETCH_ENABLE 0U
#define ART_ACCLERATOR_ENABLE 0U /* To enable instruction cache and prefetch */
#define ART_ACCELERATOR_ENABLE 0U /* To enable instruction cache and prefetch */

#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
Expand Down
2 changes: 1 addition & 1 deletion targets/ChibiOS/ORGPAL_PALTHREE/stm32f7xx_hal_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ extern "C"
#define USE_RTOS 0U
#define PREFETCH_ENABLE 1U
// To enable instruction cache and prefetch
#define ART_ACCLERATOR_ENABLE 1U
#define ART_ACCELERATOR_ENABLE 1U

#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
Expand Down
2 changes: 1 addition & 1 deletion targets/ChibiOS/ORGPAL_PALX/stm32f7xx_hal_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ extern "C"
#define USE_RTOS 0U
#define PREFETCH_ENABLE 1U
// To enable instruction cache and prefetch
#define ART_ACCLERATOR_ENABLE 1U
#define ART_ACCELERATOR_ENABLE 1U

#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
Expand Down

0 comments on commit 47e7bb3

Please sign in to comment.