From 840eab60aa4fe8a25761084c2e14aa52bbe60a4b Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 28 Apr 2018 22:40:54 -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 "TWANG32.ino" needs to be inside a sketch folder named "TWANG32". Create this folder, move the file, and continue? After clicking "OK" the Arduino IDE currently moves only the file TWANG32.ino to the new folder, leaving behind the other source files. This causes compilation of the sketch to fail: TWANG32-master\TWANG32\TWANG32.ino:30:23: fatal error: twang_mpu.h: No such file or directory --- Boss.h => TWANG32/Boss.h | 0 Conveyor.h => TWANG32/Conveyor.h | 0 Enemy.h => TWANG32/Enemy.h | 0 Lava.h => TWANG32/Lava.h | 0 Particle.h => TWANG32/Particle.h | 0 SoundData.h => TWANG32/SoundData.h | 0 Spawner.h => TWANG32/Spawner.h | 0 TWANG32.ino => TWANG32/TWANG32.ino | 0 iSin.h => TWANG32/iSin.h | 0 settings.h => TWANG32/settings.h | 0 sound.h => TWANG32/sound.h | 0 twang_mpu.h => TWANG32/twang_mpu.h | 0 wifi_ap.h => TWANG32/wifi_ap.h | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename Boss.h => TWANG32/Boss.h (100%) rename Conveyor.h => TWANG32/Conveyor.h (100%) rename Enemy.h => TWANG32/Enemy.h (100%) rename Lava.h => TWANG32/Lava.h (100%) rename Particle.h => TWANG32/Particle.h (100%) rename SoundData.h => TWANG32/SoundData.h (100%) rename Spawner.h => TWANG32/Spawner.h (100%) rename TWANG32.ino => TWANG32/TWANG32.ino (100%) rename iSin.h => TWANG32/iSin.h (100%) rename settings.h => TWANG32/settings.h (100%) rename sound.h => TWANG32/sound.h (100%) rename twang_mpu.h => TWANG32/twang_mpu.h (100%) rename wifi_ap.h => TWANG32/wifi_ap.h (100%) diff --git a/Boss.h b/TWANG32/Boss.h similarity index 100% rename from Boss.h rename to TWANG32/Boss.h diff --git a/Conveyor.h b/TWANG32/Conveyor.h similarity index 100% rename from Conveyor.h rename to TWANG32/Conveyor.h diff --git a/Enemy.h b/TWANG32/Enemy.h similarity index 100% rename from Enemy.h rename to TWANG32/Enemy.h diff --git a/Lava.h b/TWANG32/Lava.h similarity index 100% rename from Lava.h rename to TWANG32/Lava.h diff --git a/Particle.h b/TWANG32/Particle.h similarity index 100% rename from Particle.h rename to TWANG32/Particle.h diff --git a/SoundData.h b/TWANG32/SoundData.h similarity index 100% rename from SoundData.h rename to TWANG32/SoundData.h diff --git a/Spawner.h b/TWANG32/Spawner.h similarity index 100% rename from Spawner.h rename to TWANG32/Spawner.h diff --git a/TWANG32.ino b/TWANG32/TWANG32.ino similarity index 100% rename from TWANG32.ino rename to TWANG32/TWANG32.ino diff --git a/iSin.h b/TWANG32/iSin.h similarity index 100% rename from iSin.h rename to TWANG32/iSin.h diff --git a/settings.h b/TWANG32/settings.h similarity index 100% rename from settings.h rename to TWANG32/settings.h diff --git a/sound.h b/TWANG32/sound.h similarity index 100% rename from sound.h rename to TWANG32/sound.h diff --git a/twang_mpu.h b/TWANG32/twang_mpu.h similarity index 100% rename from twang_mpu.h rename to TWANG32/twang_mpu.h diff --git a/wifi_ap.h b/TWANG32/wifi_ap.h similarity index 100% rename from wifi_ap.h rename to TWANG32/wifi_ap.h