mirror of
https://github.com/apache/nuttx.git
synced 2026-08-13 08:25:13 +00:00
lm3s ethernet works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1815 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3a81d24bed
commit
12edbc6ad6
1 changed files with 4 additions and 1 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#include <nuttx/config.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <debug.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
|
@ -81,7 +82,9 @@ void lm3s_ethernetmac(struct ether_addr *ethaddr)
|
|||
|
||||
user0 = getreg32(LM3S_FLASH_USERREG0);
|
||||
user1 = getreg32(LM3S_FLASH_USERREG1);
|
||||
DEBUGASSERT(user0 != 0xffffffff && user1 == 0xffffffff);
|
||||
|
||||
nlldbg("user: %06x:%06x\n", user1 & 0x00ffffff, user0 & 0x00ffffff);
|
||||
DEBUGASSERT(user0 != 0xffffffff && user1 != 0xffffffff);
|
||||
|
||||
/* Re-format that MAC address the way that uIP expects to see it */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue