diff --git a/stm32cube/stm32c0xx/README b/stm32cube/stm32c0xx/README index ea1ffb300..ac8c5ba54 100644 --- a/stm32cube/stm32c0xx/README +++ b/stm32cube/stm32c0xx/README @@ -44,4 +44,8 @@ Patch List: Impacted files drivers/include/stm32c0xx_ll_rcc.h Internal reference 157185. + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32c0xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32c0xx/drivers/include/Legacy/stm32_hal_legacy.h index 7e8be0c91..36c8dc365 100644 --- a/stm32cube/stm32c0xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32c0xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4328,5 +4328,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32f0xx/README b/stm32cube/stm32f0xx/README index 6ffa9816a..da3d30412 100644 --- a/stm32cube/stm32f0xx/README +++ b/stm32cube/stm32f0xx/README @@ -47,4 +47,8 @@ Patch List: -Added stm32cube/stm32f0xx/drivers/include/stm32_assert.h -Removed unused stm32cube/stm32f0xx/drivers/include/stm32_assert_template.h + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32f0xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32f0xx/drivers/include/Legacy/stm32_hal_legacy.h index ed2187a05..575e4d8e3 100644 --- a/stm32cube/stm32f0xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32f0xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4356,5 +4356,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32f1xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32f1xx/drivers/include/Legacy/stm32_hal_legacy.h index 620750ee1..a1fc260ec 100644 --- a/stm32cube/stm32f1xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32f1xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -476,7 +476,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4330,5 +4330,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32f2xx/README b/stm32cube/stm32f2xx/README index 6066b8527..8a7eccb30 100644 --- a/stm32cube/stm32f2xx/README +++ b/stm32cube/stm32f2xx/README @@ -59,4 +59,8 @@ Patch List: drivers/include/stm32f2xx_hal_def.h ST Internal Reference: 136825 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32f2xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32f2xx/drivers/include/Legacy/stm32_hal_legacy.h index 620750ee1..2141385d6 100644 --- a/stm32cube/stm32f2xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32f2xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -476,7 +476,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4330,5 +4330,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32f3xx/README b/stm32cube/stm32f3xx/README index c1485e420..28ea9d2d8 100644 --- a/stm32cube/stm32f3xx/README +++ b/stm32cube/stm32f3xx/README @@ -44,4 +44,8 @@ Patch List: -Added stm32cube/stm32f3xx/drivers/include/stm32_assert.h -Removed unused stm32cube/stm32f3xx/drivers/include/stm32_assert_template.h + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32f3xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32f3xx/drivers/include/Legacy/stm32_hal_legacy.h index ed2187a05..ab4a37681 100644 --- a/stm32cube/stm32f3xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32f3xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4356,5 +4356,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32f4xx/README b/stm32cube/stm32f4xx/README index e808d7ce6..e511dd101 100644 --- a/stm32cube/stm32f4xx/README +++ b/stm32cube/stm32f4xx/README @@ -62,4 +62,8 @@ Patch List: This will have to be removed once Zephyr driver is migrated ot the new Cube HAL ethernet API. + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32f4xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32f4xx/drivers/include/Legacy/stm32_hal_legacy.h index aa00ff4d2..a289611ae 100644 --- a/stm32cube/stm32f4xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32f4xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4330,5 +4330,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32f7xx/README b/stm32cube/stm32f7xx/README index 52d6c3d1d..6e23ad41d 100644 --- a/stm32cube/stm32f7xx/README +++ b/stm32cube/stm32f7xx/README @@ -55,4 +55,8 @@ Patch List: drivers/include/stm32f7xx_hal_def.h ST Internal Reference: 136825 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32f7xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32f7xx/drivers/include/Legacy/stm32_hal_legacy.h index b4dbed31c..cce110869 100644 --- a/stm32cube/stm32f7xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32f7xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4349,5 +4349,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32g0xx/README b/stm32cube/stm32g0xx/README index 54ac3c51a..52c5d60dc 100644 --- a/stm32cube/stm32g0xx/README +++ b/stm32cube/stm32g0xx/README @@ -44,4 +44,8 @@ Patch List: -Added stm32cube/stm32g0xx/drivers/include/stm32_assert.h -Removed unused stm32cube/stm32g0xx/drivers/include/stm32_assert_template.h + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32g0xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32g0xx/drivers/include/Legacy/stm32_hal_legacy.h index 5eca818cf..825dfcc1f 100644 --- a/stm32cube/stm32g0xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32g0xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -440,7 +440,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32g4xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32g4xx/drivers/include/Legacy/stm32_hal_legacy.h index 3caddb529..757bfa3b3 100644 --- a/stm32cube/stm32g4xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32g4xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -440,7 +440,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32h5xx/README b/stm32cube/stm32h5xx/README index 20cd95278..63a568091 100644 --- a/stm32cube/stm32h5xx/README +++ b/stm32cube/stm32h5xx/README @@ -63,4 +63,8 @@ Patch List: If the CTXT bit is set in the context descriptor then extract the timestamps ST internal bug : 161504 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32h5xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32h5xx/drivers/include/Legacy/stm32_hal_legacy.h index d10f6f6f8..cce110869 100644 --- a/stm32cube/stm32h5xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32h5xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32h7rsxx/README b/stm32cube/stm32h7rsxx/README index 18884b724..af781e8b2 100644 --- a/stm32cube/stm32h7rsxx/README +++ b/stm32cube/stm32h7rsxx/README @@ -47,4 +47,8 @@ Patch List: on the stm32h7s78 disco kit -internal ticket 175303 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32h7rsxx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32h7rsxx/drivers/include/Legacy/stm32_hal_legacy.h index d742ad138..096d26ce3 100644 --- a/stm32cube/stm32h7rsxx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32h7rsxx/drivers/include/Legacy/stm32_hal_legacy.h @@ -139,7 +139,7 @@ extern "C" { #define COMP_EXTI_LINE_COMP6_EVENT COMP_EXTI_LINE_COMP6 #define COMP_EXTI_LINE_COMP7_EVENT COMP_EXTI_LINE_COMP7 #if defined(STM32L0) -#define COMP_LPTIMCONNECTION_ENABLED ((uint32_t)0x00000003U) /*!< COMPX output generic naming: connected to LPTIM +#define COMP_LPTIMCONNECTION_ENABLED ((uint32_t)0x00000003U) /*!< COMPX output generic naming: connected to LPTIM input 1 for COMP1, LPTIM input 2 for COMP2 */ #endif #define COMP_OUTPUT_COMP6TIM2OCREFCLR COMP_OUTPUT_COMP6_TIM2OCREFCLR @@ -241,9 +241,9 @@ extern "C" { */ #if defined(STM32H5) || defined(STM32C0) #else -#define HAL_CRC_Input_Data_Reverse HAL_CRCEx_Input_Data_Reverse /*!< Aliased to HAL_CRCEx_Input_Data_Reverse for +#define HAL_CRC_Input_Data_Reverse HAL_CRCEx_Input_Data_Reverse /*!< Aliased to HAL_CRCEx_Input_Data_Reverse for inter STM32 series compatibility */ -#define HAL_CRC_Output_Data_Reverse HAL_CRCEx_Output_Data_Reverse /*!< Aliased to HAL_CRCEx_Output_Data_Reverse for +#define HAL_CRC_Output_Data_Reverse HAL_CRCEx_Output_Data_Reverse /*!< Aliased to HAL_CRCEx_Output_Data_Reverse for inter STM32 series compatibility */ #endif /** @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -1558,35 +1558,35 @@ extern "C" { #define ETH_MAC_TXFIFONOT_EMPTY 0x01000000U /* Tx FIFO not empty */ #define ETH_MAC_TXFIFO_WRITE_ACTIVE 0x00400000U /* Tx FIFO write active */ #define ETH_MAC_TXFIFO_IDLE 0x00000000U /* Tx FIFO read status: Idle */ -#define ETH_MAC_TXFIFO_READ 0x00100000U /* Tx FIFO read status: Read (transferring data to +#define ETH_MAC_TXFIFO_READ 0x00100000U /* Tx FIFO read status: Read (transferring data to the MAC transmitter) */ -#define ETH_MAC_TXFIFO_WAITING 0x00200000U /* Tx FIFO read status: Waiting for TxStatus from +#define ETH_MAC_TXFIFO_WAITING 0x00200000U /* Tx FIFO read status: Waiting for TxStatus from MAC transmitter */ #define ETH_MAC_TXFIFO_WRITING 0x00300000U /* Tx FIFO read status: Writing the received TxStatus or flushing the TxFIFO */ #define ETH_MAC_TRANSMISSION_PAUSE 0x00080000U /* MAC transmitter in pause */ #define ETH_MAC_TRANSMITFRAMECONTROLLER_IDLE 0x00000000U /* MAC transmit frame controller: Idle */ -#define ETH_MAC_TRANSMITFRAMECONTROLLER_WAITING 0x00020000U /* MAC transmit frame controller: Waiting for Status +#define ETH_MAC_TRANSMITFRAMECONTROLLER_WAITING 0x00020000U /* MAC transmit frame controller: Waiting for Status of previous frame or IFG/backoff period to be over */ -#define ETH_MAC_TRANSMITFRAMECONTROLLER_GENRATING_PCF 0x00040000U /* MAC transmit frame controller: Generating and +#define ETH_MAC_TRANSMITFRAMECONTROLLER_GENRATING_PCF 0x00040000U /* MAC transmit frame controller: Generating and transmitting a Pause control frame (in full duplex mode) */ -#define ETH_MAC_TRANSMITFRAMECONTROLLER_TRANSFERRING 0x00060000U /* MAC transmit frame controller: Transferring input +#define ETH_MAC_TRANSMITFRAMECONTROLLER_TRANSFERRING 0x00060000U /* MAC transmit frame controller: Transferring input frame for transmission */ #define ETH_MAC_MII_TRANSMIT_ACTIVE 0x00010000U /* MAC MII transmit engine active */ #define ETH_MAC_RXFIFO_EMPTY 0x00000000U /* Rx FIFO fill level: empty */ -#define ETH_MAC_RXFIFO_BELOW_THRESHOLD 0x00000100U /* Rx FIFO fill level: fill-level below flow-control +#define ETH_MAC_RXFIFO_BELOW_THRESHOLD 0x00000100U /* Rx FIFO fill level: fill-level below flow-control de-activate threshold */ -#define ETH_MAC_RXFIFO_ABOVE_THRESHOLD 0x00000200U /* Rx FIFO fill level: fill-level above flow-control +#define ETH_MAC_RXFIFO_ABOVE_THRESHOLD 0x00000200U /* Rx FIFO fill level: fill-level above flow-control activate threshold */ #define ETH_MAC_RXFIFO_FULL 0x00000300U /* Rx FIFO fill level: full */ #if defined(STM32F1) #else #define ETH_MAC_READCONTROLLER_IDLE 0x00000000U /* Rx FIFO read controller IDLE state */ #define ETH_MAC_READCONTROLLER_READING_DATA 0x00000020U /* Rx FIFO read controller Reading frame data */ -#define ETH_MAC_READCONTROLLER_READING_STATUS 0x00000040U /* Rx FIFO read controller Reading frame status +#define ETH_MAC_READCONTROLLER_READING_STATUS 0x00000040U /* Rx FIFO read controller Reading frame status (or time-stamp) */ #endif -#define ETH_MAC_READCONTROLLER_FLUSHING 0x00000060U /* Rx FIFO read controller Flushing the frame data and +#define ETH_MAC_READCONTROLLER_FLUSHING 0x00000060U /* Rx FIFO read controller Flushing the frame data and status */ #define ETH_MAC_RXFIFO_WRITE_ACTIVE 0x00000010U /* Rx FIFO write controller active */ #define ETH_MAC_SMALL_FIFO_NOTACTIVE 0x00000000U /* MAC small FIFO read / write controllers not active */ @@ -2456,9 +2456,9 @@ extern "C" { /** @defgroup HAL_COMP_Aliased_Functions HAL COMP Aliased Functions maintained for legacy purpose * @{ */ -#define HAL_COMP_Start_IT HAL_COMP_Start /* Function considered as legacy as EXTI event or IT configuration is +#define HAL_COMP_Start_IT HAL_COMP_Start /* Function considered as legacy as EXTI event or IT configuration is done into HAL_COMP_Init() */ -#define HAL_COMP_Stop_IT HAL_COMP_Stop /* Function considered as legacy as EXTI event or IT configuration is +#define HAL_COMP_Stop_IT HAL_COMP_Stop /* Function considered as legacy as EXTI event or IT configuration is done into HAL_COMP_Init() */ /** * @} @@ -4336,5 +4336,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32h7xx/README b/stm32cube/stm32h7xx/README index 27f936f92..07fef41bc 100644 --- a/stm32cube/stm32h7xx/README +++ b/stm32cube/stm32h7xx/README @@ -69,4 +69,8 @@ Patch List: drivers/src/stm32h7xx_hal_eth.c ST Internal Reference: 157129 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32h7xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32h7xx/drivers/include/Legacy/stm32_hal_legacy.h index b4dbed31c..cce110869 100644 --- a/stm32cube/stm32h7xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32h7xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* /* #define PAGESIZE FLASH_PAGE_SIZE */ */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4349,5 +4349,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32l0xx/README b/stm32cube/stm32l0xx/README index ed8da922f..b0ca3db81 100644 --- a/stm32cube/stm32l0xx/README +++ b/stm32cube/stm32l0xx/README @@ -44,4 +44,8 @@ Patch List: -Added stm32cube/stm32l0xx/drivers/include/stm32_assert.h -Removed unused stm32cube/stm32l0xx/drivers/include/stm32_assert_template.h + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32l0xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32l0xx/drivers/include/Legacy/stm32_hal_legacy.h index e910b9308..e816dc91d 100644 --- a/stm32cube/stm32l0xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32l0xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -476,7 +476,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32l1xx/README b/stm32cube/stm32l1xx/README index d0d577d86..c171e0046 100644 --- a/stm32cube/stm32l1xx/README +++ b/stm32cube/stm32l1xx/README @@ -92,4 +92,8 @@ Patch List: definitions, the zephyr SPI driver cannot be used on these parts. ST Bug tracker ID: 73643 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32l1xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32l1xx/drivers/include/Legacy/stm32_hal_legacy.h index 620750ee1..a5be628f0 100644 --- a/stm32cube/stm32l1xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32l1xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -476,7 +476,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32l4xx/README b/stm32cube/stm32l4xx/README index acae5b493..202119b39 100644 --- a/stm32cube/stm32l4xx/README +++ b/stm32cube/stm32l4xx/README @@ -51,4 +51,8 @@ Patch List: drivers/include/stm32l4xx_hal_def.h ST Internal Reference: 136825 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32l4xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32l4xx/drivers/include/Legacy/stm32_hal_legacy.h index 083a80e7f..e6fbac213 100644 --- a/stm32cube/stm32l4xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32l4xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD @@ -4328,5 +4328,3 @@ extern "C" { #endif #endif /* STM32_HAL_LEGACY */ - - diff --git a/stm32cube/stm32l5xx/README b/stm32cube/stm32l5xx/README index 4b2777277..790e3ed05 100644 --- a/stm32cube/stm32l5xx/README +++ b/stm32cube/stm32l5xx/README @@ -43,4 +43,8 @@ Patch List: -Added stm32cube/stm32l5xx/drivers/include/stm32_assert.h -Removed unused stm32cube/stm32l5xx/drivers/include/stm32_assert_template.h + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32l5xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32l5xx/drivers/include/Legacy/stm32_hal_legacy.h index ca78f9ecb..0b3c57f7f 100644 --- a/stm32cube/stm32l5xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32l5xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32mp1xx/README b/stm32cube/stm32mp1xx/README index c2ade7391..33a077da5 100644 --- a/stm32cube/stm32mp1xx/README +++ b/stm32cube/stm32mp1xx/README @@ -50,4 +50,8 @@ Patch List: drivers/include/stm32mp1xx_hal_def.h ST Internal Reference: 136825 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32mp1xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32mp1xx/drivers/include/Legacy/stm32_hal_legacy.h index 8b956c34b..1a4fc66ff 100644 --- a/stm32cube/stm32mp1xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32mp1xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -455,7 +455,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32u5xx/README b/stm32cube/stm32u5xx/README index 47a05f6cd..fbc37681b 100644 --- a/stm32cube/stm32u5xx/README +++ b/stm32cube/stm32u5xx/README @@ -49,4 +49,8 @@ Patch List: Impacted files: drivers/include/stm32u5xx_hal_gfxtim.h Internal reference: 157095 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32u5xx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32u5xx/drivers/include/Legacy/stm32_hal_legacy.h index d10f6f6f8..2013593cd 100644 --- a/stm32cube/stm32u5xx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32u5xx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32wbaxx/README b/stm32cube/stm32wbaxx/README index 7b19dae37..f6ab0f43a 100644 --- a/stm32cube/stm32wbaxx/README +++ b/stm32cube/stm32wbaxx/README @@ -44,4 +44,8 @@ Patch List: -Added stm32cube/stm32wbaxx/drivers/include/stm32_assert.h -Removed unused stm32cube/stm32wbaxx/drivers/include/stm32_assert_template.h + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32wbaxx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32wbaxx/drivers/include/Legacy/stm32_hal_legacy.h index b4dbed31c..d1f4f7e67 100644 --- a/stm32cube/stm32wbaxx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32wbaxx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32wbxx/README b/stm32cube/stm32wbxx/README index 0c86aacf5..16ab6a366 100644 --- a/stm32cube/stm32wbxx/README +++ b/stm32cube/stm32wbxx/README @@ -44,4 +44,8 @@ Patch List: -Added stm32cube/stm32wbxx/drivers/include/stm32_assert.h -Removed unused stm32cube/stm32wbxx/drivers/include/stm32_assert_template.h + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32wbxx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32wbxx/drivers/include/Legacy/stm32_hal_legacy.h index b4dbed31c..d1f4f7e67 100644 --- a/stm32cube/stm32wbxx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32wbxx/drivers/include/Legacy/stm32_hal_legacy.h @@ -472,7 +472,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD diff --git a/stm32cube/stm32wlxx/README b/stm32cube/stm32wlxx/README index f5ed35d9f..d629b0e0d 100644 --- a/stm32cube/stm32wlxx/README +++ b/stm32cube/stm32wlxx/README @@ -56,4 +56,8 @@ Patch List: drivers/include/stm32wlxx_hal_def.h ST Internal Reference: 136825 + *Fix to remove PAGESIZE definition which conflicts with POSIX + Impacted files: + drivers/include/Legacy/stm32_hal_legacy.h + See release_note.html from STM32Cube diff --git a/stm32cube/stm32wlxx/drivers/include/Legacy/stm32_hal_legacy.h b/stm32cube/stm32wlxx/drivers/include/Legacy/stm32_hal_legacy.h index 7a4550c7f..7a4746dee 100644 --- a/stm32cube/stm32wlxx/drivers/include/Legacy/stm32_hal_legacy.h +++ b/stm32cube/stm32wlxx/drivers/include/Legacy/stm32_hal_legacy.h @@ -463,7 +463,7 @@ extern "C" { #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD -#define PAGESIZE FLASH_PAGE_SIZE +/* #define PAGESIZE FLASH_PAGE_SIZE */ #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD