@@ -68,14 +68,12 @@ the `data` folder, so any non-code files outside the `data` folder are stripped.
68
68
69
69
#### ` sketch.json `
70
70
71
- Arduino CLI and Arduino Web Editor use a file named sketch.json, located in the sketch root folder, to store sketch
72
- metadata.
71
+ Arduino Web Editor use a file named ` sketch.json ` , located in the sketch root folder, to store sketch metadata. This
72
+ file is not used by the Arduino CLI or the Arduino IDE, if you're not an Arduino Web Editor user you can safely ignore
73
+ it.
73
74
74
- The ` cpu ` key contains the board configuration information. This can be set via
75
- [ ` arduino-cli board attach ` ] ( commands/arduino-cli_board_attach.md ) or by selecting a board in the Arduino Web Editor
76
- while the sketch is open. With this configuration set, it is not necessary to specify the ` --fqbn ` or ` --port ` flags to
77
- the [ ` arduino-cli compile ` ] ( commands/arduino-cli_compile.md ) or [ ` arduino-cli upload ` ] ( commands/arduino-cli_upload.md )
78
- commands when compiling or uploading the sketch.
75
+ The ` cpu ` key contains the board configuration information. This can be set by selecting a board in the Arduino Web
76
+ Editor while the sketch is open.
79
77
80
78
The ` included_libs ` key defines the library versions the Arduino Web Editor uses when the sketch is compiled. This is
81
79
Arduino Web Editor specific because all versions of all the Library Manager libraries are pre-installed in Arduino Web
@@ -88,6 +86,9 @@ This is an optional file named `sketch.yaml`, located in the root folder of the
88
86
Inside the sketch project file the user can define one or more "profiles": each profile is a description of all the
89
87
resources needed to build the sketch (platform and libraries each pinned to a specific version).
90
88
89
+ The sketch project file is also used in the [ ` arduino-cli board attach ` ] ( commands/arduino-cli_board_attach.md ) command
90
+ to store the currently selected board and port.
91
+
91
92
For more information see the [ sketch project file] ( sketch-project-file.md ) documentation.
92
93
93
94
### Secrets
0 commit comments