Add nanofmt as submodule
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "components/nanofmt/nanofmt"]
|
||||||
|
path = components/nanofmt/nanofmt
|
||||||
|
url = https://github.com/antsouchlos/nanofmt.git
|
||||||
2
components/nanofmt/CMakeLists.txt
Normal file
2
components/nanofmt/CMakeLists.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
idf_component_register(SRCS "nanofmt/src/serialize.cpp"
|
||||||
|
INCLUDE_DIRS "nanofmt/include")
|
||||||
1
components/nanofmt/nanofmt
Submodule
1
components/nanofmt/nanofmt
Submodule
Submodule components/nanofmt/nanofmt added at 9699dadf5e
@@ -13,6 +13,8 @@
|
|||||||
#include "esp_flash.h"
|
#include "esp_flash.h"
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
|
||||||
|
#include "nanofmt/format.h"
|
||||||
|
|
||||||
extern "C" void app_main(void)
|
extern "C" void app_main(void)
|
||||||
{
|
{
|
||||||
printf("Hello world!\n");
|
printf("Hello world!\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user