diff --git a/.gitmodules b/.gitmodules
index ef1f0e4e0c0e3e5b1bdb854c0576552a0a6befe8..6312824c72922d9c617a0bfe5a7e281965e5e29d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
-[submodule "firmware/avr8_smbus_battery_monitor"]
-	path = firmware/avr8_smbus_battery_monitor
+[submodule "avr8_smbus_battery_monitor"]
+	path = avr8_smbus_battery_monitor
 	url = ssh://git@gitlab.iri.upc.edu:2202/labrobotica/firmware/avr8_smbus_battery_monitor.git
diff --git a/firmware/avr8_smbus_battery_monitor b/avr8_smbus_battery_monitor
similarity index 100%
rename from firmware/avr8_smbus_battery_monitor
rename to avr8_smbus_battery_monitor