Skip to content

Commit 5496064

Browse files
committed
stm32cube: stm32c5xx: Use Ethernet callbacks
Use Ethernet callbacks in order to implement Ethernet for the STM32C5x series Signed-off-by: Julien Racki <julien.racki-ext@st.com>
1 parent 39130f2 commit 5496064

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

stm32cube/stm32c5xx/README

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ Patch List:
4040
-dos2unix applied
4141
-trailing white spaces removed
4242

43+
*stm32c5xx_hal_conf.h: Use Ethernet registers callbacks
44+
4345
See release_note.html from STM32Cube

stm32cube/stm32c5xx/drivers/templates/common/stm32c5xx_hal_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ extern "C" {
246246
*/
247247
/* ########################## HAL_ETH Config #################################### */
248248
#define USE_HAL_ETH_MODULE 1U
249-
#define USE_HAL_ETH_REGISTER_CALLBACKS 0U
249+
#define USE_HAL_ETH_REGISTER_CALLBACKS 1U
250250
#define USE_HAL_ETH_CLK_ENABLE_MODEL HAL_CLK_ENABLE_NO
251251
#define USE_HAL_ETH_USER_DATA 0U
252252
#define USE_HAL_ETH_GET_LAST_ERRORS 0U

0 commit comments

Comments
 (0)