Add nanofmt as submodule
This commit is contained in:
parent
6f0acc90c3
commit
da6a2d9d28
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
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 9699dadf5ed1396ab8fc3a994b86804d8e0d7a4a
|
||||||
@ -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");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user