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

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


The following commit(s) were added to refs/heads/master by this push:
     new ae9af15e2 mcu/stm32h7xx: Fix STM32_HAL_FLASH_CLEAR_ERRORS macro
ae9af15e2 is described below

commit ae9af15e269b6a0cf125163a50dcf932d78fe33e
Author: Jerzy Kasenberg <jerzy.kasenb...@codecoup.pl>
AuthorDate: Sun Apr 14 15:33:28 2024 +0200

    mcu/stm32h7xx: Fix STM32_HAL_FLASH_CLEAR_ERRORS macro
    
    STM32_HAL_FLASH_CLEAR_ERRORS was copied from from F7
    stm32h7 does not have OPERR field in CCR register so
    it is now removed.
---
 hw/mcu/stm/stm32h7xx/include/mcu/stm32_hal.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/mcu/stm/stm32h7xx/include/mcu/stm32_hal.h 
b/hw/mcu/stm/stm32h7xx/include/mcu/stm32_hal.h
index 4222cda96..f52369951 100644
--- a/hw/mcu/stm/stm32h7xx/include/mcu/stm32_hal.h
+++ b/hw/mcu/stm/stm32h7xx/include/mcu/stm32_hal.h
@@ -100,7 +100,6 @@ struct stm32_hal_spi_cfg {
                 FLASH_CCR_CLR_PGSERR   |             \
                 FLASH_CCR_CLR_STRBERR  |             \
                 FLASH_CCR_CLR_INCERR   |             \
-                FLASH_CCR_CLR_OPERR    |             \
                 FLASH_CCR_CLR_RDPERR   |             \
                 FLASH_CCR_CLR_RDSERR   |             \
                 FLASH_CCR_CLR_SNECCERR |             \

Reply via email to