cc2538: Print SoC information upon startup
If STARTUP_CONF_VERBOSE is enabled, print SoC information upon startup. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
This commit is contained in:
parent
b655d92aa4
commit
9845973971
@ -64,6 +64,7 @@
|
||||
#include "net/ip/tcpip.h"
|
||||
#include "net/ip/uip.h"
|
||||
#include "net/mac/frame802154.h"
|
||||
#include "soc.h"
|
||||
#include "cpu.h"
|
||||
#include "reg.h"
|
||||
#include "ieee-addr.h"
|
||||
@ -185,6 +186,9 @@ main(void)
|
||||
|
||||
PUTS(CONTIKI_VERSION_STRING);
|
||||
PUTS(BOARD_STRING);
|
||||
#if STARTUP_CONF_VERBOSE
|
||||
soc_print_info();
|
||||
#endif
|
||||
|
||||
PRINTF(" Net: ");
|
||||
PRINTF("%s\n", NETSTACK_NETWORK.name);
|
||||
|
@ -67,6 +67,7 @@
|
||||
#include "net/ip/tcpip.h"
|
||||
#include "net/ip/uip.h"
|
||||
#include "net/mac/frame802154.h"
|
||||
#include "soc.h"
|
||||
#include "cpu.h"
|
||||
#include "reg.h"
|
||||
#include "ieee-addr.h"
|
||||
@ -181,6 +182,9 @@ main(void)
|
||||
|
||||
PUTS(CONTIKI_VERSION_STRING);
|
||||
PUTS(BOARD_STRING);
|
||||
#if STARTUP_CONF_VERBOSE
|
||||
soc_print_info();
|
||||
#endif
|
||||
|
||||
random_init(0);
|
||||
|
||||
|
@ -65,6 +65,7 @@
|
||||
#include "net/ip/tcpip.h"
|
||||
#include "net/ip/uip.h"
|
||||
#include "net/mac/frame802154.h"
|
||||
#include "soc.h"
|
||||
#include "cpu.h"
|
||||
#include "reg.h"
|
||||
#include "ieee-addr.h"
|
||||
@ -185,6 +186,9 @@ main(void)
|
||||
|
||||
PUTS(CONTIKI_VERSION_STRING);
|
||||
PUTS(BOARD_STRING);
|
||||
#if STARTUP_CONF_VERBOSE
|
||||
soc_print_info();
|
||||
#endif
|
||||
|
||||
/* Initialise the H/W RNG engine. */
|
||||
random_init(0);
|
||||
|
Loading…
Reference in New Issue
Block a user