diff --git a/stm32/aioc-fw/.cproject b/stm32/aioc-fw/.cproject
index 84c280b..02ff771 100644
--- a/stm32/aioc-fw/.cproject
+++ b/stm32/aioc-fw/.cproject
@@ -123,7 +123,7 @@
-
+
@@ -136,7 +136,7 @@
-
+
@@ -226,7 +226,14 @@
-
+
+
+
+
+
+
+
+
diff --git a/stm32/aioc-fw/makefile.targets b/stm32/aioc-fw/makefile.targets
new file mode 100644
index 0000000..ba47e9c
--- /dev/null
+++ b/stm32/aioc-fw/makefile.targets
@@ -0,0 +1,13 @@
+dfu-suffix: $(OBJCOPY_BIN)
+ifneq ("$(wildcard /usr/bin/dfu-suffix)","")
+ dfu-suffix -c $(FILENAME) || dfu-suffix -a $(FILENAME) -p $(PID) -v $(VID) -d $(DID)
+else
+ @echo "Skipping DFU suffix generation, because dfu-suffix tool was not found"
+endif
+
+dfu-util: dfu-suffix
+ifneq ("$(wildcard /usr/bin/dfu-util)","")
+ dfu-util -d $(VID):$(PID) -a 0 -s 0x08000000:leave -D $(FILENAME)
+else
+ @echo "Skipping DFU programming, because dfu-util tool was not found"
+endif