mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
tools/sizes.py: Restore to the prior behavior regarding output destination (#8572)
once `tools/sizes.py` outputted to `stderr` rather `stdout` before da4a19fdacd7a859da395e014c9e0fded99aa985 (Arduino IDE 1.8.19 for Windows doesn't capture `stdout`, 2.0.0-rc6 does)
This commit is contained in:
parent
fd9af97e00
commit
48b60f4651
@ -20,7 +20,9 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import sys
|
||||||
|
|
||||||
|
sys.stdout = sys.stderr
|
||||||
|
|
||||||
def get_segment_sizes(elf, path, mmu):
|
def get_segment_sizes(elf, path, mmu):
|
||||||
iram_size = 0
|
iram_size = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user