This is an automated email from the ASF dual-hosted git repository.

kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit b8ce5885bd4872dbc015e34283013b24e1b9407e
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Sun Oct 18 15:43:35 2026 +0200

    mcu/stm32h5: Use STM32H503xx in pin configuration
    
    Pins not present on STM32H503 were excluded with STM32H503 which is
    not defined anywhere, STM32H503xx is the device define used in CMSIS
    headers and the rest of Mynewt code.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/mcu/stm/stm32h5xx/include/mcu/stm32_pin_cfg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/mcu/stm/stm32h5xx/include/mcu/stm32_pin_cfg.h 
b/hw/mcu/stm/stm32h5xx/include/mcu/stm32_pin_cfg.h
index 3cabe1e72..0926212d9 100644
--- a/hw/mcu/stm/stm32h5xx/include/mcu/stm32_pin_cfg.h
+++ b/hw/mcu/stm/stm32h5xx/include/mcu/stm32_pin_cfg.h
@@ -1685,7 +1685,7 @@ STM32_PIN_FUN_CFG(D, 2, TIM3_ETR, GPIO_AF2_TIM3)
 #ifdef UART5
 STM32_PIN_FUN_CFG(D, 2, UART5_RX, GPIO_AF8_UART5)
 #endif
-#ifndef STM32H503
+#ifndef STM32H503xx
 #ifdef DCMI
 STM32_PIN_FUN_CFG(D, 3, DCMI_D5, GPIO_AF13_DCMI)
 #endif

Reply via email to