Skip to content

Commit 3739403

Browse files
committed
.
1 parent 055ce28 commit 3739403

File tree

2 files changed

+11
-52
lines changed

2 files changed

+11
-52
lines changed

etc/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
about 'User_Setup.h'
1+
# clipboard.txt
2+
* various command lines and notes
3+
4+
# todo.txt
5+
* todo list and suggestions
6+
7+
# User_Setup.h
28
* manufacturer provided 'TFT_eSPI' settings
3-
* specified in 'platformio.ini'
9+
* settings specified in 'platformio.ini' instead of copying the file into 'lib/TFT_eSPI-2.5.43'
410

5-
if device does not show up as '/dev/ttyUSB0' on linux
11+
# troubleshooting
12+
device does not show up as '/dev/ttyUSB0' on linux
613
* service 'brltty' might be the problem
714
* disable it and related services or uninstall it

etc/clipboard.txt

Lines changed: 1 addition & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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
88
git reset --hard HEAD
@@ -12,51 +12,3 @@ git add . && git commit -m "." && git push
1212

1313
# tag with date and time
1414
TAG=$(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,1},
40-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
41-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
42-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
43-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
44-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
45-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
46-
47-
{0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0},
48-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
49-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
50-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
51-
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
52-
{1,1,1,1,1,1,1,1,1,1,1,1,1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