Export_MC_UPLOADER

This commit is contained in:
kr rt 2025-01-11 12:41:08 +03:00
parent a0df138a71
commit 316de71d9a
2 changed files with 2 additions and 0 deletions

1
Export_MC_UPLOADER.sh Executable file
View File

@ -0,0 +1 @@
sudo echo "export MC_UPLOADER=\"$(pwd)\"" >> ~/.bashrc

View File

@ -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)