diff --git a/apps/examples/dhcpd/target.c b/apps/examples/dhcpd/target.c index 350bfe15f..d43e86e94 100644 --- a/apps/examples/dhcpd/target.c +++ b/apps/examples/dhcpd/target.c @@ -113,10 +113,10 @@ int MAIN_NAME(int argc, char *argv[]) #ifdef CONFIG_EXAMPLE_DHCPD_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/ftpd/ftpd_main.c b/apps/examples/ftpd/ftpd_main.c index fbabf64de..6ae0a11e5 100755 --- a/apps/examples/ftpd/ftpd_main.c +++ b/apps/examples/ftpd/ftpd_main.c @@ -92,10 +92,10 @@ static void fptd_netinit(void) #ifdef CONFIG_EXAMPLE_FTPD_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/igmp/igmp.c b/apps/examples/igmp/igmp.c index 5b7ff8376..4e3671a69 100644 --- a/apps/examples/igmp/igmp.c +++ b/apps/examples/igmp/igmp.c @@ -2,7 +2,7 @@ * examples/igmp/igmp.c * * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -95,10 +95,10 @@ int user_start(int argc, char *argv[]) #ifdef CONFIG_EXAMPLE_IGMP_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/nettest/nettest.c b/apps/examples/nettest/nettest.c index 34ae48f2e..d6d63eeef 100644 --- a/apps/examples/nettest/nettest.c +++ b/apps/examples/nettest/nettest.c @@ -89,10 +89,10 @@ int MAIN_NAME(int argc, char *argv[]) #ifdef CONFIG_EXAMPLE_NETTEST_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/poll/net_listener.c b/apps/examples/poll/net_listener.c index 4bde567fb..81ad7cdcc 100644 --- a/apps/examples/poll/net_listener.c +++ b/apps/examples/poll/net_listener.c @@ -300,10 +300,10 @@ static void net_configure(void) #ifdef CONFIG_EXAMPLE_POLL_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/poll/net_reader.c b/apps/examples/poll/net_reader.c index ea0accc8d..8a13618c3 100644 --- a/apps/examples/poll/net_reader.c +++ b/apps/examples/poll/net_reader.c @@ -93,10 +93,10 @@ static void net_configure(void) #ifdef CONFIG_EXAMPLE_POLL_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/sendmail/target.c b/apps/examples/sendmail/target.c index ab4da14b1..a614c40cb 100644 --- a/apps/examples/sendmail/target.c +++ b/apps/examples/sendmail/target.c @@ -1,8 +1,8 @@ /**************************************************************************** * examples/sendmail/target.c * - * Copyright (C) 2009. 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -120,10 +120,10 @@ int user_start(int argc, char *argv[]) #ifdef CONFIG_EXAMPLE_SENDMAIL_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/telnetd/shell.c b/apps/examples/telnetd/shell.c index 990a00721..01c620e1e 100644 --- a/apps/examples/telnetd/shell.c +++ b/apps/examples/telnetd/shell.c @@ -195,10 +195,10 @@ static void shell_netinit(void) #ifdef CONFIG_EXAMPLE_TELNETD_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/thttpd/main.c b/apps/examples/thttpd/main.c index 30c13bb00..ab69c60b2 100644 --- a/apps/examples/thttpd/main.c +++ b/apps/examples/thttpd/main.c @@ -196,10 +196,10 @@ int user_start(int argc, char *argv[]) mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr(NET_DEVNAME, mac); #endif diff --git a/apps/examples/uip/main.c b/apps/examples/uip/main.c index e4ba6dfdb..8712b9a28 100644 --- a/apps/examples/uip/main.c +++ b/apps/examples/uip/main.c @@ -2,7 +2,7 @@ * examples/uip/main.c * * Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Based on uIP which also has a BSD style license: * @@ -123,10 +123,10 @@ int user_start(int argc, char *argv[]) #ifdef CONFIG_EXAMPLE_UIP_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/wget/target.c b/apps/examples/wget/target.c index 542220162..fa30e037b 100644 --- a/apps/examples/wget/target.c +++ b/apps/examples/wget/target.c @@ -2,7 +2,7 @@ * examples/wget/target.c * * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -121,10 +121,10 @@ int user_start(int argc, char *argv[]) #ifdef CONFIG_EXAMPLE_WGET_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/examples/wlan/wlan_main.c b/apps/examples/wlan/wlan_main.c index 585878730..d1fb44e94 100644 --- a/apps/examples/wlan/wlan_main.c +++ b/apps/examples/wlan/wlan_main.c @@ -2,7 +2,7 @@ * examples/wlan/wlan_main.c * * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Authors: Gregory Nutt + * Authors: Gregory Nutt * Rafael Noronha * * Redistribution and use in source and binary forms, with or without @@ -146,10 +146,10 @@ static inline void wlan_bringup(void) #ifdef CONFIG_EXAMPLE_WLAN_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/apps/nshlib/nsh_netinit.c b/apps/nshlib/nsh_netinit.c index 12286cf84..5d74b30d7 100644 --- a/apps/nshlib/nsh_netinit.c +++ b/apps/nshlib/nsh_netinit.c @@ -99,10 +99,10 @@ int nsh_netinit(void) #ifdef CONFIG_NSH_NOMAC mac[0] = 0x00; mac[1] = 0xe0; - mac[2] = 0xb0; - mac[3] = 0x0b; - mac[4] = 0xba; - mac[5] = 0xbe; + mac[2] = 0xde; + mac[3] = 0xad; + mac[4] = 0xbe; + mac[5] = 0xef; uip_setmacaddr("eth0", mac); #endif diff --git a/nuttx/configs/lpc4330-xplorer/README.txt b/nuttx/configs/lpc4330-xplorer/README.txt index ce6ce5531..5a58d3769 100644 --- a/nuttx/configs/lpc4330-xplorer/README.txt +++ b/nuttx/configs/lpc4330-xplorer/README.txt @@ -909,10 +909,10 @@ Where is one of the following: CONFIG_SPIFI_OFFSET - Offset the beginning of the block driver this many bytes into the device address space. This offset must be an exact multiple of the erase block size (CONFIG_SPIFI_BLKSIZE). Default 0. - CONFIG_SPIFI_BLKSIZE - The size of one device erase block. If not defined - then the driver will try to determine the correct erase block size by - examining that data returned from spifi_initialize (which sometimes - seems bad). + CONFIG_SPIFI_BLKSIZE - The size of one device erase block. If not defined + then the driver will try to determine the correct erase block size by + examining that data returned from spifi_initialize (which sometimes + seems bad). Other SPIFI options @@ -922,3 +922,11 @@ Where is one of the following: CONFIG_SPIFI_READONLY - Define to support only read-only operations. CONFIG_SPIFI_LIBRARY - Don't use the LPC43xx ROM routines but, instead, use an external library implementation of the SPIFI interface. + + In my experience, there were some missing function pointers in the LPC43xx + SPIFI ROM routines and the SPIFI configuration could only be built with + CONFIG_SPIFI_LIBRARY=y. The SPIFI library is proprietary and cannot be + provided within NuttX open source repository; SPIFI library binaries can + be found on the lpcware.com website. In this build sceneario, you must + also provide the patch to the external SPIFI library be defining the make + variable EXTRA_LIBS in the top-level Make.defs file. Good luck!