From 77afb9d4cf4abcec2a12e5997a5b616fe9be98d1 Mon Sep 17 00:00:00 2001
From: Julius Ritter
Date: Fri, 29 Apr 2022 16:16:10 +0200
Subject: [PATCH] Small change in Firmware/platformio.ini
---
Firmware/platformio.ini | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Firmware/platformio.ini b/Firmware/platformio.ini
index 0742e85..14d55b1 100644
--- a/Firmware/platformio.ini
+++ b/Firmware/platformio.ini
@@ -30,7 +30,8 @@ build_flags =
-D AVR8_BREAKPOINT_MODE=2
debug_tool = avr-stub
-debug_port = /dev/ttyUSB0 ; TODO: this should be infered automagically
+;debug_port = /dev/ttyUSB0 ; Linux Port TODO: this should be infered automagically
+debug_port = COM6 ; Windows COM Port
; add GDB stub implementation
lib_deps =
@@ -44,7 +45,8 @@ build_flags =
-D DEBUG
upload_protocol = jtag3
-upload_flags = -p, atmega1284 ; fix signature error with JTAGICE
+upload_flags = -p, atmega1284, -F ; fix signature error with JTAGICE
+upload_port = usb
; Atmel-ICE based AVR debug is not directly supported by PIO as of 04.2020. As not
; available at home, not an issue for DMM at the moment.