naming *.map file changes

in Arduino Core 2.0.3.
This commit is contained in:
Jason2866 2022-03-28 23:18:53 +02:00 committed by GitHub
parent 33120a85f4
commit 4496f6f111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -79,7 +79,11 @@ def get_source_map_path(env) -> pathlib.Path:
proj_dir = pathlib.Path(env["PROJECT_DIR"])
map_name = proj_dir.parts[-1] + ".map"
fwmap_path = proj_build_dir / get_variant(env) / map_name
if fwmap_path.is_file():
return fwmap_path
map_name = "firmware.map"
fwmap_path = proj_build_dir / get_variant(env) / map_name
if fwmap_path.is_file():
return fwmap_path