feat(tools): add binary size exceeded hint

This commit is contained in:
Alexey Lapshin
2024-10-04 13:54:03 +07:00
parent 6e5a178b31
commit 9d32a31657

View File

@@ -443,3 +443,7 @@
-
re: "discarded output section: .*\\.got"
hint: "Some objects being linked were compiled with the \"-fpic\"/\"-fpie\" options. These options may be suitable for \"linux\" builds, but must not be applied for esp32XX targets."
-
re: "(error: Total discarded sections size is \\d+ bytes)|(region [`'.\\w]+ overflowed by \\d+ bytes)"
hint: "The binary size has exceeded the limit. To resolve the issue consider reducing the binary size.\nYou can explore size optimization techniques in the documentation by running 'idf.py docs -sp api-guides/performance/size.html#reducing-overall-size'.\nNote that the linker performed the dead code elimination."