chmod and paths

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2021-04-29 08:45:13 -05:00
1 parent 6320928795
commit 897291c470
12 files changed
+4 -4

No files matched your search

View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
+2 -2
View 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'