Skip to content

Commit e50ef90

Browse files
author
Brian Baltz
committed
Merge pull request arduino#141 from bbaltz505/memory_size
Fixing sketch size calculation (text + ctors + rodata + datas
2 parents 1f3899a + c7b30f4 commit e50ef90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ arduino_101.vid.0x2A03.warning=Uncertified
1010

1111
arduino_101.upload.tool=arduino101load
1212
arduino_101.upload.protocol=script
13-
arduino_101.upload.maximum_size=196608
13+
arduino_101.upload.maximum_size=155648
1414
arduino_101.upload.use_1200bps_touch=true
1515
arduino_101.upload.wait_for_upload_port=false
1616
arduino_101.upload.native_usb=false

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ recipe.output.save_file={build.project_name}.{build.variant}.hex
8585

8686
## Compute size
8787
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
88-
recipe.size.regex=Total\s+([0-9]+).*
88+
recipe.size.regex=^(?:text|ctors|rodata|datas)\s+([0-9]+).*
8989

9090
# Arc Uploader/Programmers tools
9191
# -------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy