Closed dsyx closed 2 years ago
Signed-off-by: Yaoxing Shan shanyaoxing12@outlook.com
ENET2 does not work with the original definition because it conflicts with some other driver definitions, such as fsl_clock.h:
fsl_clock.h
/*! @brief Clock ip name array for ENET. */ #define ENET_CLOCKS \ { \ kCLOCK_Enet, kCLOCK_IpInvalid, kCLOCK_Enet2 \ }
The driver cannot find the correct clock ip based on the index of the array.
I refer to the definition of FLEXSPI and make reasonable modifications to the definition of ENET. After the modification, ENET2 can work normally.
Prerequisites
Describe the pull request
Type of change
Tests
Apologize for my late reply, the developer confirms this is an real issue and the fix in PR is appropriate. Thanks a lot.
Signed-off-by: Yaoxing Shan shanyaoxing12@outlook.com
ENET2 does not work with the original definition because it conflicts with some other driver definitions, such as
fsl_clock.h
:The driver cannot find the correct clock ip based on the index of the array.
I refer to the definition of FLEXSPI and make reasonable modifications to the definition of ENET. After the modification, ENET2 can work normally.
Prerequisites
Describe the pull request
Type of change
Tests