From 3b059e2ef43461b3b266aff4b0cc444cd69c16de Mon Sep 17 00:00:00 2001 From: Markus Sattler Date: Mon, 18 May 2015 19:56:08 +0200 Subject: [PATCH] add new tool path to .gitignore add yield in hexdump to handle big dumps better. --- .gitignore | 1 + cores/esp8266/debug.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 3c8c0fe5c..d88f1f2da 100644 --- a/.gitignore +++ b/.gitignore @@ -72,3 +72,4 @@ nbproject build/macosx/esptool-*-osx.zip build/macosx/dist/osx-xtensa-lx106-elf.tgz +/hardware/esp8266com/esp8266/tools diff --git a/cores/esp8266/debug.cpp b/cores/esp8266/debug.cpp index 5e280122e..68d3a6b82 100644 --- a/cores/esp8266/debug.cpp +++ b/cores/esp8266/debug.cpp @@ -26,6 +26,7 @@ void ICACHE_RAM_ATTR hexdump(uint8_t *mem, uint32_t len, uint8_t cols) { for(uint32_t i = 0; i < len; i++) { if(i % cols == 0) { os_printf("\n[0x%08X] 0x%08X: ", mem, i); + yield(); } os_printf("%02X ", *mem); mem++;