mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
add new tool path to .gitignore
add yield in hexdump to handle big dumps better.
This commit is contained in:
parent
5ff65d418f
commit
3b059e2ef4
1
.gitignore
vendored
1
.gitignore
vendored
@ -72,3 +72,4 @@ nbproject
|
|||||||
build/macosx/esptool-*-osx.zip
|
build/macosx/esptool-*-osx.zip
|
||||||
|
|
||||||
build/macosx/dist/osx-xtensa-lx106-elf.tgz
|
build/macosx/dist/osx-xtensa-lx106-elf.tgz
|
||||||
|
/hardware/esp8266com/esp8266/tools
|
||||||
|
@ -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++) {
|
for(uint32_t i = 0; i < len; i++) {
|
||||||
if(i % cols == 0) {
|
if(i % cols == 0) {
|
||||||
os_printf("\n[0x%08X] 0x%08X: ", mem, i);
|
os_printf("\n[0x%08X] 0x%08X: ", mem, i);
|
||||||
|
yield();
|
||||||
}
|
}
|
||||||
os_printf("%02X ", *mem);
|
os_printf("%02X ", *mem);
|
||||||
mem++;
|
mem++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user