From 316de71d9a120816d2baa46627949a5e1fcd4f75 Mon Sep 17 00:00:00 2001 From: kr rt Date: Sat, 11 Jan 2025 12:41:08 +0300 Subject: [PATCH] Export_MC_UPLOADER --- Export_MC_UPLOADER.sh | 1 + flash_uploader.mk | 1 + 2 files changed, 2 insertions(+) create mode 100755 Export_MC_UPLOADER.sh diff --git a/Export_MC_UPLOADER.sh b/Export_MC_UPLOADER.sh new file mode 100755 index 0000000..f56215b --- /dev/null +++ b/Export_MC_UPLOADER.sh @@ -0,0 +1 @@ +sudo echo "export MC_UPLOADER=\"$(pwd)\"" >> ~/.bashrc diff --git a/flash_uploader.mk b/flash_uploader.mk index 8c7de80..2631135 100644 --- a/flash_uploader.mk +++ b/flash_uploader.mk @@ -29,6 +29,7 @@ erase: openocd -f $(OPEN_OCD_PROGRAMMER_CFG) \ -f $(OPEN_OCD_MK_CFG) \ -c "flash init; init; reset halt; flash erase_sector 0 1 last " \ + #-c "flash init; init; reset halt; flash write_image erase"\ -c shutdown \ flash-st: $(BIN)