Skip to content

Commit 9516050

Browse files
committed
variant: update custom F7 files with HAL legacy module definitions
Signed-off-by: TLIG Dhaou <dhaou.tlig-ext@st.com>
1 parent c289d30 commit 9516050

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

variants/STM32F7xx/F745Z(E-G)T_F746Z(E-G)(T-Y)_F750Z8T_F756ZG(T-Y)/PeripheralPins_ETHERCAT_DUINO.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ WEAK const PinMap PinMap_CAN_TD[] = {
385385

386386
//*** ETHERNET ***
387387

388-
#ifdef HAL_ETH_MODULE_ENABLED
388+
#if defined(HAL_ETH_MODULE_ENABLED) || defined(HAL_ETH_LEGACY_MODULE_ENABLED)
389389
WEAK const PinMap PinMap_Ethernet[] = {
390390
{PA_0, ETH, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF11_ETH)}, // ETH_CRS
391391
{PA_1, ETH, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF11_ETH)}, // ETH_REF_CLK

variants/STM32F7xx/F746B(E-G)T_F746N(E-G)H_F750N8H_F756BGT_F756NGH/PeripheralPins_DISCO_F746NG.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ WEAK const PinMap PinMap_CAN_TD[] = {
412412

413413
//*** ETHERNET ***
414414

415-
#ifdef HAL_ETH_MODULE_ENABLED
415+
#if defined(HAL_ETH_MODULE_ENABLED) || defined(HAL_ETH_LEGACY_MODULE_ENABLED)
416416
WEAK const PinMap PinMap_Ethernet[] = {
417417
// {PA_0, ETH, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF11_ETH)}, // ETH_CRS
418418
{PA_1, ETH, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF11_ETH)}, // ETH_REF_CLK

variants/STM32F7xx/F765V(G-I)(H-T)_F767V(G-I)(H-T)_F777VI(H-T)/PeripheralPins_REMRAM_V1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ WEAK const PinMap PinMap_CAN_TD[] = {
387387

388388
//*** ETHERNET ***
389389

390-
#ifdef HAL_ETH_MODULE_ENABLED
390+
#if defined(HAL_ETH_MODULE_ENABLED) || defined(HAL_ETH_LEGACY_MODULE_ENABLED)
391391
WEAK const PinMap PinMap_Ethernet[] = {
392392
// {PA_0, ETH, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF11_ETH)}, // ETH_CRS
393393
// {PA_1, ETH, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF11_ETH)}, // ETH_REF_CLK

0 commit comments

Comments
 (0)