mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
add new command to idf
This commit is contained in:
2
tools/templates/sample_component/CMakeLists.txt
Normal file
2
tools/templates/sample_component/CMakeLists.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
INCLUDE_DIRS "include")
|
||||
1
tools/templates/sample_component/include/main.h
Normal file
1
tools/templates/sample_component/include/main.h
Normal file
@@ -0,0 +1 @@
|
||||
void func(void);
|
||||
7
tools/templates/sample_component/main.c
Normal file
7
tools/templates/sample_component/main.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include "main.h"
|
||||
|
||||
void func(void)
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user