← index #6422PR #6256
Related · high · value 1.574
QUERY · ISSUE

STM32 HAL Driver Update

openby ckilimciopened 2020-09-09updated 2020-09-17
port-stm32

Hello all,

Recently, STMicroelectronics updated STM32F4 HAL driver [1]. Some of the APIs are changed, like CAN. Do you plan to update included sources listed here?

[1] https://www.st.com/resource/en/user_manual/dm00105879-description-of-stm32f4-hal-and-ll-drivers-stmicroelectronics.pdf

Sincerely,
Caglar

CANDIDATE · PULL REQUEST

lib/stm32lib: Update library for H7 v1.6.0 and WB v1.6.0.

mergedby dpgeorgeopened 2020-07-19updated 2020-07-20
port-stm32

Changes in this new library version are:

  • Update H7 HAL to v1.6.0.
  • Update WB HAL to v1.6.0.
  • Add patches to fix F4 ll_uart clock selection for UART9/UART10 (thanks to @dlech)

I tested the new WB HAL v1.6.0 on a NUCLEO_WB55 with old wireless firmware (from WB HAL v1.1.1) and it worked. As far as I can tell there are no changes to the inter-CPU interface (between the main CPU and the RF CPU) and -- since all the communication code for this is in the custom rfcore.c file in this repo -- it's expected that old wireless firmware should still work. If any changes do need to be made they will be to rfcore.c when a newer wireless firmware (from WB HAL v1.6.0) is used.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied