From 97a8f011f1a539ebe3638086abc43435196c9f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Csaba?= Date: Fri, 23 Feb 2024 22:46:01 +0100 Subject: [PATCH] feat: header includes --- src/cppCode.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cppCode.ts b/src/cppCode.ts index 5ea18b8..09809c1 100644 --- a/src/cppCode.ts +++ b/src/cppCode.ts @@ -18,6 +18,10 @@ const psychicTemplate = ` //files: {{fileCount}} //memory: {{fileSize}} +#include +#include +#include + {{#each sources}} const uint8_t data{{this.index}}[{{this.length}}] = { {{this.bytes}} }; {{#if ../isEtag}} @@ -58,6 +62,9 @@ const asyncTemplate = ` //files: {{fileCount}} //memory: {{fileSize}} +#include +#include + {{#each sources}} const uint8_t data{{this.index}}[{{this.length}}] PROGMEM = { {{this.bytes}} }; {{#if ../isEtag}}