From 017c31a062327f89359a949d878ae3900853c897 Mon Sep 17 00:00:00 2001 From: heyuanjie87 Date: Tue, 2 Jul 2024 20:30:42 +0800 Subject: [PATCH] =?UTF-8?q?[bsp/cvitek]=E8=A7=A3=E5=86=B3eth=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h b/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h index 208e3e7c37..0947de346f 100644 --- a/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h +++ b/bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h @@ -11,6 +11,10 @@ extern "C" { #endif +#ifndef __aligned +#define __aligned(x) __attribute__((aligned(x))) +#endif + typedef void *eth_mac_handle_t; #define CSI_ETH_MAC_CONFIGURE (0x01) ///< Configure MAC; arg = configuration