Skip to content

Commit

Permalink
[bsp/cvitek]解决eth编译报错
Browse files Browse the repository at this point in the history
  • Loading branch information
heyuanjie87 authored and mysterywolf committed Jul 2, 2024
1 parent 8487e77 commit 017c31a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bsp/cvitek/drivers/libraries/eth/dw_eth_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 017c31a

Please sign in to comment.