From 0ccde6cc1ad668fbc6cc246fc071655970228fea Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Mon, 17 Oct 2016 15:31:51 +0300 Subject: [PATCH] fix reported data size and percentage --- boards.txt | 2 +- platform.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards.txt b/boards.txt index 3835d5c3..8d304558 100644 --- a/boards.txt +++ b/boards.txt @@ -6,7 +6,7 @@ esp32.name=ESP32 Dev Module esp32.upload.tool=esptool esp32.upload.maximum_size=1044464 -esp32.upload.maximum_data_size=114688 +esp32.upload.maximum_data_size=294912 esp32.upload.wait_for_upload_port=true esp32.serial.disableDTR=true diff --git a/platform.txt b/platform.txt index 96415179..ac4d7be8 100644 --- a/platform.txt +++ b/platform.txt @@ -81,7 +81,7 @@ recipe.output.save_file={build.project_name}.{build.variant}.bin ## Compute size recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" recipe.size.regex=^(?:\.iram0\.text|\.dram0\.text|\.flash\.text|\.dram0\.data|\.flash\.rodata|)\s+([0-9]+).* -recipe.size.regex.data=^(?:\.dram0\.data|\.flash\.rodata|\.dram0\.bss)\s+([0-9]+).* +recipe.size.regex.data=^(?:\.dram0\.data|\.dram0\.bss)\s+([0-9]+).* # ------------------------------