cc2538 platform.c: set link-layer address in phase two, as the Netstack initialization code needs it
This commit is contained in:
parent
7abc331047
commit
ff4ad7998a
@ -159,6 +159,8 @@ platform_init_stage_two()
|
||||
crypto_disable();
|
||||
#endif
|
||||
|
||||
set_rf_params();
|
||||
|
||||
INTERRUPTS_ENABLE();
|
||||
|
||||
fade(LEDS_GREEN);
|
||||
@ -167,9 +169,7 @@ platform_init_stage_two()
|
||||
void
|
||||
platform_init_stage_three()
|
||||
{
|
||||
LOG_INFO(BOARD_STRING);
|
||||
|
||||
set_rf_params();
|
||||
LOG_INFO("%s\n", BOARD_STRING);
|
||||
|
||||
soc_print_info();
|
||||
|
||||
|
@ -157,6 +157,8 @@ platform_init_stage_two()
|
||||
crypto_disable();
|
||||
#endif
|
||||
|
||||
set_rf_params();
|
||||
|
||||
INTERRUPTS_ENABLE();
|
||||
|
||||
fade(LEDS_BLUE);
|
||||
@ -165,12 +167,10 @@ platform_init_stage_two()
|
||||
void
|
||||
platform_init_stage_three()
|
||||
{
|
||||
LOG_INFO(BOARD_STRING);
|
||||
LOG_INFO("%s\n", BOARD_STRING);
|
||||
|
||||
board_init();
|
||||
|
||||
set_rf_params();
|
||||
|
||||
soc_print_info();
|
||||
|
||||
process_start(&sensors_process, NULL);
|
||||
|
@ -177,14 +177,14 @@ platform_init_stage_two()
|
||||
|
||||
serial_line_init();
|
||||
|
||||
set_rf_params();
|
||||
|
||||
fade(LEDS_GREEN);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
platform_init_stage_three()
|
||||
{
|
||||
set_rf_params();
|
||||
|
||||
LOG_DBG("With DriverLib v%u.%u\n", DRIVERLIB_RELEASE_GROUP,
|
||||
DRIVERLIB_RELEASE_BUILD);
|
||||
LOG_INFO(BOARD_STRING "\n");
|
||||
|
@ -231,6 +231,8 @@ platform_init_stage_two()
|
||||
crypto_disable();
|
||||
#endif
|
||||
|
||||
set_rf_params();
|
||||
|
||||
INTERRUPTS_ENABLE();
|
||||
|
||||
fade(LEDS_BLUE);
|
||||
@ -239,17 +241,13 @@ platform_init_stage_two()
|
||||
void
|
||||
platform_init_stage_three()
|
||||
{
|
||||
LOG_INFO(BOARD_STRING);
|
||||
LOG_INFO("%s\n", BOARD_STRING);
|
||||
|
||||
board_init();
|
||||
|
||||
rtc_init();
|
||||
|
||||
set_rf_params();
|
||||
|
||||
#if PLATFORM_STARTUP_VERBOSE
|
||||
soc_print_info();
|
||||
#endif
|
||||
|
||||
process_start(&sensors_process, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user