Add nanofmt as submodule

This commit is contained in:
Andreas Tsouchlos 2023-09-11 01:10:06 +02:00
parent 6f0acc90c3
commit da6a2d9d28
4 changed files with 8 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "components/nanofmt/nanofmt"]
path = components/nanofmt/nanofmt
url = https://github.com/antsouchlos/nanofmt.git

View File

@ -0,0 +1,2 @@
idf_component_register(SRCS "nanofmt/src/serialize.cpp"
INCLUDE_DIRS "nanofmt/include")

@ -0,0 +1 @@
Subproject commit 9699dadf5ed1396ab8fc3a994b86804d8e0d7a4a

View File

@ -13,6 +13,8 @@
#include "esp_flash.h"
#include "esp_system.h"
#include "nanofmt/format.h"
extern "C" void app_main(void)
{
printf("Hello world!\n");