setup cpp
This commit is contained in:
parent
d91b05856d
commit
a5411c45f5
@ -1,2 +1,4 @@
|
||||
idf_component_register(SRCS "blk_box.c"
|
||||
INCLUDE_DIRS "include")
|
||||
idf_component_register(
|
||||
SRCS "blk_box.cpp"
|
||||
INCLUDE_DIRS "include"
|
||||
)
|
||||
|
||||
6
blk_box.cpp
Normal file
6
blk_box.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include "blk_box.h"
|
||||
|
||||
const char* get_hello_world() {
|
||||
return "hello, world!";
|
||||
}
|
||||
@ -1 +1 @@
|
||||
void func(void);
|
||||
const char* get_hello_world();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user