]> granicus.if.org Git - esp-idf/commit
examples: don't enable buffering on stdout in console examples
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 13 Mar 2019 12:19:55 +0000 (20:19 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 13 Mar 2019 12:32:37 +0000 (20:32 +0800)
commit945bd36884763f955747da5293db9aec15fcb71c
tree9d2e332463a732a290a66014099c748143f6e9c7
parentfa57fb3c1c59f2a6590f4f410cf2d741c6caef4f
examples: don't enable buffering on stdout in console examples

newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
examples/ethernet/iperf/main/iperf_example_main.c
examples/peripherals/i2c/i2c_tools/main/i2ctools_example_main.c
examples/system/console/main/console_example_main.c
examples/wifi/iperf/main/iperf_example_main.c
examples/wifi/simple_sniffer/main/simple_sniffer_example_main.c