visual studio code arduino output path is not specified code example

Example: vscode arduino [Warning] Output path is not specified. Unable to reuse previously compiled files. Upload could be slow. See README.

/*You need to specify the output path for the compilation of each sketch you
compile. You can do that by pressing f1, typing in ".vscode/arduino.json" and
adding the line specifying the address of the folder you want to use to keep
the previous compilations.
*/
	"output": "...../build"
    
//You need to do this for each sketch where you want to reuse the previous
//compilations

Tags:

C Example