Skip to content

Commit

Permalink
add new tool path to .gitignore
Browse files Browse the repository at this point in the history
add yield in hexdump to handle big dumps better.
  • Loading branch information
Links2004 committed May 18, 2015
1 parent 5ff65d4 commit 3b059e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ nbproject
build/macosx/esptool-*-osx.zip

build/macosx/dist/osx-xtensa-lx106-elf.tgz
/hardware/esp8266com/esp8266/tools
1 change: 1 addition & 0 deletions cores/esp8266/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 3b059e2

Please sign in to comment.