Skip to content

Commit

Permalink
Add simple CSP support
Browse files Browse the repository at this point in the history
Add a simple libcsp support.  This commit only includes the csp.h
header file.

Signed-off-by: Yasushi SHOJI <[email protected]>
  • Loading branch information
yashi committed Jul 30, 2023
1 parent 4ae5910 commit fffeefb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_PICOLIBC=y
CONFIG_LIBCSP=y
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <zephyr/ztest.h>
#include <csp/csp.h>

ZTEST(simple, simple_asert)
{
Expand Down
4 changes: 4 additions & 0 deletions west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ manifest:
name-allowlist:
- cmsis

- name: libcsp
url: https://github.com/libcsp/libcsp
revision: develop
path: modules/lib/libcsp

0 comments on commit fffeefb

Please sign in to comment.