chmod and paths
This commit is contained in:
parent
dd5e0f724a
commit
9d24ee8daf
0
Marlin/src/gcode/bedlevel/G35.cpp
Executable file → Normal file
0
Marlin/src/gcode/bedlevel/G35.cpp
Executable file → Normal file
0
buildroot/share/PlatformIO/scripts/mks_robin_mini.py
Executable file → Normal file
0
buildroot/share/PlatformIO/scripts/mks_robin_mini.py
Executable file → Normal file
0
buildroot/share/PlatformIO/scripts/mks_robin_nano.py
Executable file → Normal file
0
buildroot/share/PlatformIO/scripts/mks_robin_nano.py
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/board.cpp
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/board.cpp
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/board/board.h
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/board/board.h
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/pins_arduino.h
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/pins_arduino.h
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/variant.h
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/variant.h
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/wirish/boards.cpp
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/wirish/boards.cpp
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/wirish/boards_setup.cpp
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/CHITU_F103/wirish/boards_setup.cpp
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/megaextendedpins/pins_arduino.h
Executable file → Normal file
0
buildroot/share/PlatformIO/variants/megaextendedpins/pins_arduino.h
Executable file → Normal file
|
@ -77,8 +77,8 @@ import os
|
|||
|
||||
pwd = os.getcwd() # make sure we're executing from the correct directory level
|
||||
pwd = pwd.replace('\\', '/')
|
||||
if 0 <= pwd.find('buildroot/share/atom'):
|
||||
pwd = pwd[:pwd.find('buildroot/share/atom')]
|
||||
if 0 <= pwd.find('buildroot/share/vscode'):
|
||||
pwd = pwd[:pwd.find('buildroot/share/vscode')]
|
||||
os.chdir(pwd)
|
||||
print('pwd: ', pwd)
|
||||
|
||||
|
|
|
@ -92,9 +92,9 @@ else:
|
|||
get_com_port('COM', 'Hardware ID:', 13)
|
||||
|
||||
# avrdude_conf_path = env.get("PIOHOME_DIR") + '\\packages\\toolchain-atmelavr\\etc\\avrdude.conf'
|
||||
avrdude_conf_path = 'buildroot\\share\\atom\\avrdude.conf'
|
||||
avrdude_conf_path = 'buildroot\\share\\vscode\\avrdude.conf'
|
||||
|
||||
avrdude_exe_path = 'buildroot\\share\\atom\\avrdude_5.10.exe'
|
||||
avrdude_exe_path = 'buildroot\\share\\vscode\\avrdude_5.10.exe'
|
||||
|
||||
# source_path = env.get("PROJECTBUILD_DIR") + '\\' + env.get("PIOENV") + '\\firmware.hex'
|
||||
source_path = '.pio\\build\\' + env.get("PIOENV") + '\\firmware.hex'
|
||||
|
|
Loading…
Reference in a new issue