diff --git a/docs/sketch-specification.md b/docs/sketch-specification.md index 374814e6ec2..8976120c368 100644 --- a/docs/sketch-specification.md +++ b/docs/sketch-specification.md @@ -5,17 +5,17 @@ The programs that run on Arduino boards are called "sketches". This term was inh ## Sketch folders and files +The sketch root folder name and code file names must start with a basic letter (`A`-`Z` or `a`-`z`) or number (`0`-`9`), +followed by basic letters, numbers, underscores (`_`), dots (`.`) and dashes (`-`). The maximum length is 63 characters. + +Support for names starting with a number was added in Arduino IDE 1.8.4. + ### Sketch root folder Because many Arduino sketches only contain a single .ino file, it's easy to think of that file as the sketch. However, it is the folder that is the sketch. The reason is that sketches may consist of multiple code files and the folder is what groups those files into a single program. -The sketch root folder name must start with a basic letter (`A`-`Z` or `a`-`z`) or number (`0`-`9`), followed by basic -letters, numbers, underscores (`_`), dots (`.`) and dashes (`-`). The maximum length is 63 characters. - -Support for sketch folder names starting with a number was added in Arduino IDE 1.8.4. - ### Primary sketch file Every sketch must contain a `.ino` file with a file name matching the sketch root folder name.