We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c73bbc1 commit b3884b1Copy full SHA for b3884b1
builder/frameworks/espidf.py
@@ -332,7 +332,7 @@ def _normalize_define(define_string):
332
define, value = define_string.split("=", maxsplit=1)
333
if any(char in value for char in (' ', '<', '>')):
334
value = f'"{value}"'
335
- elif any(char in value for char in ('"', '\'')):
+ elif '"' in value and not value.startswith("\\"):
336
value = value.replace('"', '\\"')
337
return (define, value)
338
return define_string
0 commit comments