Skip to content

Commit 45f49e6

Browse files
committed
Move sketch to appropriately named subfolder
The Arduino IDE requires that a sketch be located in a folder of the same name. Although the name of the repository does match the sketch name, when GitHub's popular Clone or download > Download ZIP feature is used to download a repository the branch/release/commit name is appended to the folder name, causing a mismatch. When opening a file that does not meet this sketch/folder name matching requirement the Arduino IDE presents a dialog: The file "DebugWireDebuggerProgrammer.ino" needs to be inside a sketch folder named "DebugWireDebuggerProgrammer". Create this folder, move the file, and continue? After clicking "OK" the Arduino IDE currently moves only the file DebugWireDebuggerProgrammer.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail: DebugWireDebuggerProgrammer-master\DebugWireDebuggerProgrammer\DebugWireDebuggerProgrammer.ino:25:26: fatal error: OnePinSerial.h: No such file or directory #include "OnePinSerial.h"
1 parent 919ebc6 commit 45f49e6

File tree

3 files changed

+0
-0
lines changed

3 files changed

+0
-0
lines changed
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)