[bsp/cvitek]解决eth编译报错

This commit is contained in:
heyuanjie87 2024-07-02 20:30:42 +08:00 committed by Meco Man
parent 8487e774a3
commit 017c31a062
1 changed files with 4 additions and 0 deletions

View File

@ -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