Merge pull request #295 from g-oikonomou/bugfix/cc13xx-cc26xx/serial-shell

Allow Shell operaction for CC13xx/CC26xx
This commit is contained in:
George Oikonomou 2018-02-17 00:14:29 +00:00 committed by GitHub
commit 296f7efcd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,7 @@
#include "vims.h"
#include "dev/cc26xx-uart.h"
#include "dev/soc-rtc.h"
#include "dev/serial-line.h"
#include "rf-core/rf-core.h"
#include "sys_ctrl.h"
#include "uart.h"
@ -168,6 +169,10 @@ platform_init_stage_two()
serial_line_init();
#if BUILD_WITH_SHELL
cc26xx_uart_set_input(serial_line_input_byte);
#endif
/* Populate linkaddr_node_addr */
ieee_addr_cpy_to(linkaddr_node_addr.u8, LINKADDR_SIZE);