mirror of https://github.com/arendst/Tasmota.git
Final? fix for map file with IDF4.4
This commit is contained in:
parent
18442c7e57
commit
4209f7d1cb
|
@ -37,14 +37,14 @@ def bin_map_copy(source, target, env):
|
|||
proj_build_dir = env["PROJECT_BUILD_DIR"]
|
||||
#build_dir = env["BUILD_DIR"]
|
||||
pio_env = env["PIOENV"]
|
||||
src_dir = env["PROJECT_SRC_DIR"]
|
||||
map_name = str(src_dir).split(os.path.sep)[2]
|
||||
proj_dir = env["PROJECT_DIR"]
|
||||
map_name = str(proj_dir).split(os.path.sep)[-1]
|
||||
map_new_loc = proj_build_dir + os.path.sep + pio_env + os.path.sep + map_name + ".map"
|
||||
#print("proj_build_dir: {}".format(proj_build_dir))
|
||||
#print("pioenv: {}".format(pio_env))
|
||||
#print("src_dir: {}".format(src_dir))
|
||||
#print("build_dir: {}".format(build_dir))
|
||||
#print("map_name: {}".format(map_name))
|
||||
#print("proj_dir: {}".format(proj_dir))
|
||||
#print("map_new_loc: {}".format(map_new_loc))
|
||||
|
||||
# move Tasmota.map to map/<variant>.map
|
||||
|
|
Loading…
Reference in New Issue