Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ac42c88

Browse filesBrowse files
committed
platform.txt: use iwithprefixbefore to shorten the command lines
The command line for the ESP32 compilers is very long, and it is causing problems on Windows systems, which enforce a hard 32kbytes line limit. This patch uses the iprefix/iwithprefixbefore options to shorten the compiler command line by changing "-I{compiler.sdk.path}/include/aaa" "-I{compiler.sdk.path}/include/bbb" "-I{compiler.sdk.path}/include/ccc" ... to: -iprefix "{compiler.sdk.path}/include/" -iwithprefixbefore aaa -iwithprefixbefore bbb -iwithprefixbefore ccc ... Some targets have up to 200 paths so this can save A LOT of space. On a sample run this patch shortened a single compile command from 28777 bytes to 10728.
1 parent 627e1b1 commit ac42c88
Copy full SHA for ac42c88

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.