Skip to content

Commit

Permalink
[nxp 1170] Update network (#6299)
Browse files Browse the repository at this point in the history
* 增加千兆网络配置

* 适配最新1170SDK2.12版本

* 增加MAC层驱动配置
  • Loading branch information
xjy198903 authored Aug 17, 2022
1 parent 7cf703d commit 1ba47b7
Show file tree
Hide file tree
Showing 3 changed files with 278 additions and 249 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@
/* @brief Support Interrupt Coalesce */
#define FSL_FEATURE_ENET_HAS_INTERRUPT_COALESCE (1)
/* @brief Queue Size. */
#define FSL_FEATURE_ENET_QUEUE (1)
#define FSL_FEATURE_ENET_QUEUE (3)
/* @brief Has AVB Support. */
#define FSL_FEATURE_ENET_HAS_AVB (0)
#define FSL_FEATURE_ENET_HAS_AVB (1)
/* @brief Has Timer Pulse Width control. */
#define FSL_FEATURE_ENET_HAS_TIMER_PWCONTROL (1)
/* @brief Has Extend MDIO Support. */
Expand Down
3 changes: 3 additions & 0 deletions bsp/imxrt/libraries/MIMXRT1170/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ if GetDepend(['BSP_USING_SDIO']):
if GetDepend(['BSP_USING_SDRAM']):
src += ['MIMXRT1176/drivers/fsl_semc.c']

if GetDepend(['BSP_USING_ETH']):
src += ['MIMXRT1176/drivers/fsl_enet.c']

if rtconfig.PLATFORM in ['gcc']:
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, ASFLAGS = '$ASFLAGS -D __STARTUP_CLEAR_BSS')
else:
Expand Down
Loading

0 comments on commit 1ba47b7

Please sign in to comment.