Angus Gratton
5055290baf
build system: Add idf_size.py tool for better "make size" output & analysis
...
Add new "make size_components" and "make size_files" targets for analysing makeup of the ELF file.
Plain "make size" output now looks like this:
Total sizes:
DRAM .data size: 11156 bytes
DRAM .bss size: 22304 bytes
Used static DRAM: 33460 bytes ( 294220 available, 10.2% used)
Used static IRAM: 80480 bytes ( 50592 available, 61.4% used)
Flash code: 421463 bytes
Flash rodata: 103824 bytes
Total image size:~ 616923 bytes (.bin may be padded larger)
2017-06-21 15:43:22 +10:00
Henrik Maier
b95bef4d9b
Update idf_monitor.py to make --toolchain-prefix argument work
...
--toolchain-prefix command line argument was not taken into account when specified
Merges https://github.com/espressif/esp-idf/pull/617
2017-05-18 10:47:19 +10:00
Angus Gratton
e88226c256
idf_monitor: Use ANSI color codes for all output we inject into stderr
2017-03-23 10:41:14 +08:00
Angus Gratton
5f3b9876b8
idf_monitor: Fix issues using Ctrl-F/Ctrl-A/gdb with older pyserial
...
Previously error was "AttributeError: 'Console' object has no attribute 'cancel'"
2017-03-21 16:08:06 +08:00
Angus Gratton
e477ce93e9
idf_monitor: Small fixes (baud rate, EOL, /dev/tty.X on macOS, Ctrl-T on failure)
...
* "make monitor" not passed the configured baud rate
Closes #436 https://github.com/espressif/esp-idf/issues/436
* Pass toolchain prefix from sdkconfig into monitor tool
* Allow setting EOL in idf_monitor.py, use CRLF by default
* Detect if /dev/tty.X is used on macOS, warn and replace with /dev/cu.X
* If a build fails or gdb exits, ignore Ctrl-T (allowing Ctrl-T Ctrl-A/F to be same key sequence everywhere)
* Add a note about winpty on Windows
Ref https://github.com/espressif/esp-idf/commit/02fdf8271de3a6db2ab9d4d6f023c160c84ebdbe#commitcomment-21369196
2017-03-21 16:00:32 +08:00
Angus Gratton
1544544f8a
tools: New idf_monitor 'make monitor' tool for smarter monitor output
2017-03-13 09:31:45 +08:00