From 21794b789296683b7ae00a209a42f35ab1023fa1 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Wed, 7 Apr 2021 03:44:30 +0300 Subject: [PATCH] pio: create .map file for the resulting .elf --- code/scripts/pio_main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/scripts/pio_main.py b/code/scripts/pio_main.py index aee153bc..9e1ae582 100644 --- a/code/scripts/pio_main.py +++ b/code/scripts/pio_main.py @@ -26,6 +26,8 @@ import os CI = "true" == os.environ.get("CI") +env.ProcessFlags("-Wl,-Map -Wl,${BUILD_DIR}/${PROGNAME}.map") + # Always show warnings for project code projenv.ProcessUnFlags("-w")