Skip to content

Commit fffeefb

Browse files
committed
Add simple CSP support
Add a simple libcsp support. This commit only includes the csp.h header file. Signed-off-by: Yasushi SHOJI <[email protected]>
1 parent 4ae5910 commit fffeefb

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
CONFIG_ZTEST=y
22
CONFIG_ZTEST_NEW_API=y
3+
CONFIG_PICOLIBC=y
4+
CONFIG_LIBCSP=y

src/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
#include <zephyr/ztest.h>
8+
#include <csp/csp.h>
89

910
ZTEST(simple, simple_asert)
1011
{

west.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ manifest:
1010
name-allowlist:
1111
- cmsis
1212

13+
- name: libcsp
14+
url: https://github.com/libcsp/libcsp
15+
revision: develop
16+
path: modules/lib/libcsp

0 commit comments

Comments
 (0)