Skip to content

Commit d52e712

Browse files
tools/sizes.py: Restore to the prior behavior regarding output destination
once `tools/sizes.py` outputted to `stderr` rather `stdout` before da4a19f (Arduino IDE 1.8.19 for Windows doesn't capture `stdout`, 2.0.0-rc6 does)
1 parent fd9af97 commit d52e712

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: tools/sizes.py

+2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
import argparse
2121
import os
2222
import subprocess
23+
import sys
2324

25+
sys.stdout = sys.stderr
2426

2527
def get_segment_sizes(elf, path, mmu):
2628
iram_size = 0

0 commit comments

Comments
 (0)