Skip to content

Commit

Permalink
[openthread] update to db1b980e5 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui authored Mar 24, 2021
1 parent b6063a9 commit cac018e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ target_compile_definitions(ot-config INTERFACE
OPENTHREAD_CONFIG_FILE="openthread-core-kw41z-config.h"
OPENTHREAD_PROJECT_CORE_CONFIG_FILE="openthread-core-kw41z-config.h"
OPENTHREAD_CORE_CONFIG_PLATFORM_CHECK_FILE="openthread-core-kw41z-config-check.h"
OPENTHREAD_CONFIG_NCP_UART_ENABLE=1
)

target_include_directories(ot-config INTERFACE
Expand Down
2 changes: 1 addition & 1 deletion openthread
Submodule openthread updated 599 files
8 changes: 5 additions & 3 deletions src/openthread-core-kw41z-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,13 @@
#define OPENTHREAD_CONFIG_MAC_SOFTWARE_TX_SECURITY_ENABLE 0

/**
* @def OPENTHREAD_CONFIG_NCP_UART_ENABLE
* @def OPENTHREAD_CONFIG_NCP_HDLC_ENABLE
*
* Define to 1 to enable NCP UART support.
* Define to 1 to enable NCP HDLC support.
*
*/
#define OPENTHREAD_CONFIG_NCP_UART_ENABLE 1
#ifndef OPENTHREAD_CONFIG_NCP_HDLC_ENABLE
#define OPENTHREAD_CONFIG_NCP_HDLC_ENABLE 1
#endif

#endif // OPENTHREAD_CORE_KW41Z_CONFIG_H_
6 changes: 4 additions & 2 deletions src/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@
*
*/

#include <stdint.h>

#include "utils/uart.h"

#include "clock_config.h"
#include "fsl_clock.h"
#include "fsl_device_registers.h"
#include "fsl_port.h"
#include "platform-kw41z.h"
#include <stdint.h>
#include "openthread/platform/uart.h"

otInstance *sInstance;

Expand Down
4 changes: 2 additions & 2 deletions src/uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
#include <stddef.h>
#include <stdint.h>

#include <utils/code_utils.h>
#include "openthread/platform/uart.h"
#include "utils/code_utils.h"
#include "utils/uart.h"

#include "fsl_clock.h"
#include "fsl_lpuart.h"
Expand Down

0 comments on commit cac018e

Please sign in to comment.