mcr20_wireless_uart_FRDMk64f _FRDMcR20A_uart_test
Dependencies: fsl_phy_mcr20a fsl_smac mbed-rtos mbed
Fork of mcr20_wireless_uart by
Diff: main.cpp
- Revision:
- 15:990a8b5664e1
- Parent:
- 3:a38ad504a18c
- Child:
- 17:52cfd7db8da3
diff -r a1b249761bcc -r 990a8b5664e1 main.cpp --- a/main.cpp Sun Mar 08 04:19:44 2015 +0000 +++ b/main.cpp Sun Mar 15 00:56:28 2015 -0500 @@ -333,14 +333,16 @@ debug("\r\nApplication Start\r\n"); ns_dyn_mem_init(app_defined_stack_heap, APP_DEV_HEAP_SIZE, app_heap_error_handler,0); rf_set_mac_address(app_MAC_address); - + // init RF interface debug("Init RF Interface...\r\n"); rf_phy_device_register_id = rf_device_register(); + randLIB_seed_random(); debug("Init ARM Timer...\r\n"); arm_timer_init();//Init Timer + //Init nanostack & Event OS debug("Init Net Core...\r\n"); net_init_core(); @@ -352,6 +354,7 @@ error("Tasklet create fail.."); while(1); } + debug("Event Dispatch\r\n"); event_dispatch(); }