fix reported data size and percentage

This commit is contained in:
me-no-dev 2016-10-17 15:31:51 +03:00
parent 17c8ceb1b9
commit 0ccde6cc1a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ esp32.name=ESP32 Dev Module
esp32.upload.tool=esptool esp32.upload.tool=esptool
esp32.upload.maximum_size=1044464 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.upload.wait_for_upload_port=true
esp32.serial.disableDTR=true esp32.serial.disableDTR=true

View File

@ -81,7 +81,7 @@ recipe.output.save_file={build.project_name}.{build.variant}.bin
## Compute size ## Compute size
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" 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=^(?:\.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]+).*
# ------------------------------ # ------------------------------