22~/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-objdump -S .pio/build/esp32dev/src/main.cpp.o | less
33
44# stack trace. copy 'back trace' addresses as argument
5- ~/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line -pfiaC -e .pio/build/esp32dev/firmware.elf 0x400D2230:0x3FFD7CB0 0x400D846A:0x3FFD7CE0
5+ ~/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line -pfiaC -e .pio/build/esp32dev/firmware.elf
66
77# revert changes to last commit
88git reset --hard HEAD
@@ -12,51 +12,3 @@ git add . && git commit -m "." && git push
1212
1313# tag with date and time
1414TAG=$(date "+%Y-%m-%d--%H-%M") && git tag $TAG && git push origin $TAG
15-
16- # stack trace
17- #include "esp_debug_helpers.h"
18- esp_backtrace_print(10);
19-
20- ----------------------------------------------------------------------
21- // allocate DMA buffers
22- dma_buf_1 = static_cast<uint16_t *>(malloc(dma_buf_size_B));
23- dma_buf_2 = static_cast<uint16_t *>(malloc(dma_buf_size_B));
24- if (!dma_buf_1 or !dma_buf_2) {
25- printf("!!! could not allocate DMA buffers");
26- while (true)
27- ;
28- }
29- ----------------------------------------------------------------------
30- // clang-format off
31- {0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0},
32- {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
33- {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
34- {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
35- {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
36- {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
37- {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
38- {0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0},
39- {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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