-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osif: Adapt ZBOSS thread routine in NCP mode
There is an implementation of zboss_app_main() in the ZBOSS library. The modification is to use it in NCP mode instead of the previous stack thread procedure as the latter has become incompatible. The mentioned implementation has been slightly adapted to nRF5, hence the update of libncp-dev as well. Signed-off-by: Adam Zelik <[email protected]>
- Loading branch information
1 parent
d3e2e90
commit 9c0a45b
Showing
6 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* Copyright (c) 2020 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
/* PURPOSE: NCP platform API elements for nRF SoC. | ||
*/ | ||
|
||
#ifndef ZB_NCP_NRF_PLATFORM_H__ | ||
#define ZB_NCP_NRF_PLATFORM_H__ | ||
|
||
/* Main ZBOSS stack routine in NCP mode. | ||
* | ||
* The implementation is in the ZBOSS library. | ||
* The name and signature are determined by the MAIN macro in zb_config_platform.h | ||
* and this is established at the library building stage. | ||
*/ | ||
int zboss_app_main(void); | ||
|
||
/* Callout function called in zboss_app_main() right after starting ZBOSS. */ | ||
void zb_ncp_app_fw_custom_post_start(void); | ||
|
||
#endif /* ZB_NCP_NRF_PLATFORM_H__ */ |
Binary file modified
BIN
-464 Bytes
(100%)
lib/zboss/production/lib/cortex-m33/hard-float/libncp-dev.a
Binary file not shown.
Binary file modified
BIN
-460 Bytes
(100%)
lib/zboss/production/lib/cortex-m33/hard-float/libncp-dev.ed.a
Binary file not shown.
Binary file modified
BIN
-1.32 KB
(99%)
lib/zboss/production/trace/lib/cortex-m33/hard-float/libncp-dev.a
Binary file not shown.
Binary file modified
BIN
-1.32 KB
(99%)
lib/zboss/production/trace/lib/cortex-m33/hard-float/libncp-dev.ed.a
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters