diff options
| author | hathach <[email protected]> | 2013-09-16 16:38:46 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-16 16:38:46 +0700 |
| commit | 1cd2d5cf369dbdb945b431d04a855df275befea7 (patch) | |
| tree | 621adba6bf8625962db15210a2d3257c61feea8d /demos/bsp/boards/board.c | |
| parent | ba3bd1da9efe555c2d787c3b15b42b397afd9df2 (diff) | |
able to build with newly added lwip folder
Diffstat (limited to 'demos/bsp/boards/board.c')
| -rw-r--r-- | demos/bsp/boards/board.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/demos/bsp/boards/board.c b/demos/bsp/boards/board.c index 31186c35a..99497400d 100644 --- a/demos/bsp/boards/board.c +++ b/demos/bsp/boards/board.c @@ -48,6 +48,17 @@ void SysTick_Handler (void) } #endif +// FIXME refractor +void boardGetMACaddr(uint8_t *macaddr) +{ + macaddr[0] = BOARD_MAC_ADDR0; + macaddr[1] = BOARD_MAC_ADDR1; + macaddr[2] = BOARD_MAC_ADDR2; + macaddr[3] = BOARD_MAC_ADDR3; + macaddr[4] = BOARD_MAC_ADDR4; + macaddr[5] = BOARD_MAC_ADDR5; +} + void check_failed(uint8_t *file, uint32_t line) { (void) file; |
