From 642f540df29f507bb6f98c2c1a4251c74a07cbc8 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 11 May 2018 00:54:51 -0700 Subject: [PATCH] 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 the contents of 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 "TommyPROM.ino" needs to be inside a sketch folder named "TommyPROM". Create this folder, move the file, and continue? After clicking "OK" the Arduino IDE currently moves only the file TommyPROM.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail: TommyPROM-master\TommyPROM\TommyPROM.ino:13:23: fatal error: Configure.h: No such file or directory #include "Configure.h" --- CmdStatus.cpp => TommyPROM/CmdStatus.cpp | 0 CmdStatus.h => TommyPROM/CmdStatus.h | 0 Configure.h => TommyPROM/Configure.h | 0 PromAddressDriver.cpp => TommyPROM/PromAddressDriver.cpp | 0 PromAddressDriver.h => TommyPROM/PromAddressDriver.h | 0 PromDevice.cpp => TommyPROM/PromDevice.cpp | 0 PromDevice.h => TommyPROM/PromDevice.h | 0 PromDevice28C.cpp => TommyPROM/PromDevice28C.cpp | 0 PromDevice28C.h => TommyPROM/PromDevice28C.h | 0 PromDevice8755.cpp => TommyPROM/PromDevice8755.cpp | 0 PromDevice8755.h => TommyPROM/PromDevice8755.h | 0 TommyPROM.ino => TommyPROM/TommyPROM.ino | 0 XModem.cpp => TommyPROM/XModem.cpp | 0 XModem.h => TommyPROM/XModem.h | 0 14 files changed, 0 insertions(+), 0 deletions(-) rename CmdStatus.cpp => TommyPROM/CmdStatus.cpp (100%) rename CmdStatus.h => TommyPROM/CmdStatus.h (100%) rename Configure.h => TommyPROM/Configure.h (100%) rename PromAddressDriver.cpp => TommyPROM/PromAddressDriver.cpp (100%) rename PromAddressDriver.h => TommyPROM/PromAddressDriver.h (100%) rename PromDevice.cpp => TommyPROM/PromDevice.cpp (100%) rename PromDevice.h => TommyPROM/PromDevice.h (100%) rename PromDevice28C.cpp => TommyPROM/PromDevice28C.cpp (100%) rename PromDevice28C.h => TommyPROM/PromDevice28C.h (100%) rename PromDevice8755.cpp => TommyPROM/PromDevice8755.cpp (100%) rename PromDevice8755.h => TommyPROM/PromDevice8755.h (100%) rename TommyPROM.ino => TommyPROM/TommyPROM.ino (100%) rename XModem.cpp => TommyPROM/XModem.cpp (100%) rename XModem.h => TommyPROM/XModem.h (100%) diff --git a/CmdStatus.cpp b/TommyPROM/CmdStatus.cpp similarity index 100% rename from CmdStatus.cpp rename to TommyPROM/CmdStatus.cpp diff --git a/CmdStatus.h b/TommyPROM/CmdStatus.h similarity index 100% rename from CmdStatus.h rename to TommyPROM/CmdStatus.h diff --git a/Configure.h b/TommyPROM/Configure.h similarity index 100% rename from Configure.h rename to TommyPROM/Configure.h diff --git a/PromAddressDriver.cpp b/TommyPROM/PromAddressDriver.cpp similarity index 100% rename from PromAddressDriver.cpp rename to TommyPROM/PromAddressDriver.cpp diff --git a/PromAddressDriver.h b/TommyPROM/PromAddressDriver.h similarity index 100% rename from PromAddressDriver.h rename to TommyPROM/PromAddressDriver.h diff --git a/PromDevice.cpp b/TommyPROM/PromDevice.cpp similarity index 100% rename from PromDevice.cpp rename to TommyPROM/PromDevice.cpp diff --git a/PromDevice.h b/TommyPROM/PromDevice.h similarity index 100% rename from PromDevice.h rename to TommyPROM/PromDevice.h diff --git a/PromDevice28C.cpp b/TommyPROM/PromDevice28C.cpp similarity index 100% rename from PromDevice28C.cpp rename to TommyPROM/PromDevice28C.cpp diff --git a/PromDevice28C.h b/TommyPROM/PromDevice28C.h similarity index 100% rename from PromDevice28C.h rename to TommyPROM/PromDevice28C.h diff --git a/PromDevice8755.cpp b/TommyPROM/PromDevice8755.cpp similarity index 100% rename from PromDevice8755.cpp rename to TommyPROM/PromDevice8755.cpp diff --git a/PromDevice8755.h b/TommyPROM/PromDevice8755.h similarity index 100% rename from PromDevice8755.h rename to TommyPROM/PromDevice8755.h diff --git a/TommyPROM.ino b/TommyPROM/TommyPROM.ino similarity index 100% rename from TommyPROM.ino rename to TommyPROM/TommyPROM.ino diff --git a/XModem.cpp b/TommyPROM/XModem.cpp similarity index 100% rename from XModem.cpp rename to TommyPROM/XModem.cpp diff --git a/XModem.h b/TommyPROM/XModem.h similarity index 100% rename from XModem.h rename to TommyPROM/XModem.h