From 743a0dbea25e0796ee1ca7e3d4aaa222217da21b Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Fri, 3 Feb 2023 15:39:24 +0100 Subject: [PATCH 1/2] Added missing file extensions from sketch specification --- docs/sketch-specification.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sketch-specification.md b/docs/sketch-specification.md index 6dddad5d028..c219f7f3c4c 100644 --- a/docs/sketch-specification.md +++ b/docs/sketch-specification.md @@ -35,7 +35,7 @@ The following extensions are supported: - .cpp - C++ files. - .c - C Files. - .S - Assembly language files. -- .h - Header files. +- .h, .hpp, .hh - Header files. - .tpp, .ipp - Header files (available from Arduino CLI 0.19.0). For information about how each of these files and other parts of the sketch are used during compilation, see the From 3f3c2513615960dbf37661aca390158304c9840b Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 16 Feb 2023 14:56:42 +0100 Subject: [PATCH 2/2] Update docs/sketch-specification.md Co-authored-by: per1234 --- docs/sketch-specification.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/sketch-specification.md b/docs/sketch-specification.md index c219f7f3c4c..105c220cfed 100644 --- a/docs/sketch-specification.md +++ b/docs/sketch-specification.md @@ -35,8 +35,11 @@ The following extensions are supported: - .cpp - C++ files. - .c - C Files. - .S - Assembly language files. -- .h, .hpp, .hh - Header files. -- .tpp, .ipp - Header files (available from Arduino CLI 0.19.0). +- .h, .hpp, .hh [1](#hpp-hh-note) - Header files. +- .tpp, .ipp [2](#tpp-ipp-note) - Header files. + + 1 `.hpp` and `.hh` supported from Arduino IDE 1.8.0/arduino-builder 1.3.22.
+ 2 Supported from Arduino CLI 0.19.0. For information about how each of these files and other parts of the sketch are used during compilation, see the [Sketch build process documentation](sketch-build-process.md).