You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ "${item:0:23}"!="-mfix-esp32-psram-cache"&&"${item:0:18}"!="-fmacro-prefix-map"&&"${item:0:20}"!="-fdiagnostics-color=" ]];then
111
+
if [[ "${item:0:23}"!="-mfix-esp32-psram-cache"&&"${item:0:18}"!="-fmacro-prefix-map"&&"${item:0:20}"!="-fdiagnostics-color="&&"${item:0:19}"!="-fdebug-prefix-map="]];then
105
112
C_FLAGS+="$item"
106
113
fi
107
114
fi
@@ -115,7 +122,7 @@ set -- $str
115
122
foritemin"${@:2:${#@}-5}";do
116
123
prefix="${item:0:2}"
117
124
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$prefix"!="-O" ]];then
118
-
if [[ "${item:0:23}"!="-mfix-esp32-psram-cache"&&"${item:0:18}"!="-fmacro-prefix-map"&&"${item:0:20}"!="-fdiagnostics-color=" ]];then
125
+
if [[ "${item:0:23}"!="-mfix-esp32-psram-cache"&&"${item:0:18}"!="-fmacro-prefix-map"&&"${item:0:20}"!="-fdiagnostics-color="&&"${item:0:19}"!="-fdebug-prefix-map="]];then
119
126
AS_FLAGS+="$item"
120
127
if [[ $C_FLAGS==*"$item"* ]];then
121
128
PIO_CC_FLAGS+="$item"
@@ -134,7 +141,7 @@ set -- $str
134
141
foritemin"${@:2:${#@}-5}";do
135
142
prefix="${item:0:2}"
136
143
if [[ "$prefix"!="-I"&&"$prefix"!="-D"&&"$item"!="-Wall"&&"$item"!="-Werror=all"&&"$item"!="-Wextra"&&"$prefix"!="-O" ]];then
137
-
if [[ "${item:0:23}"!="-mfix-esp32-psram-cache"&&"${item:0:18}"!="-fmacro-prefix-map"&&"${item:0:20}"!="-fdiagnostics-color=" ]];then
144
+
if [[ "${item:0:23}"!="-mfix-esp32-psram-cache"&&"${item:0:18}"!="-fmacro-prefix-map"&&"${item:0:20}"!="-fdiagnostics-color="&&"${item:0:19}"!="-fdebug-prefix-map="]];then
# Temporary measure to fix issues caused by https://github.com/espressif/esp-idf/commit/dc4731101dd567cc74bbe4d0f03afe52b7db9afb#diff-1d2ce0d3989a80830fdf230bcaafb3117f32046d16cf46616ac3d55b4df2a988R17
412
+
forfin`find "$item" -name '*.inc'`;do
413
+
rel_f=${f#*$item}
414
+
rel_p=${rel_f%/*}
415
+
mkdir -p "$out_cpath$rel_p"
416
+
cp -n $f"$out_cpath$rel_p/"
417
+
done
418
+
# Temporary measure to fix issues caused by https://github.com/espressif/esp-idf/commit/dc4731101dd567cc74bbe4d0f03afe52b7db9afb#diff-1d2ce0d3989a80830fdf230bcaafb3117f32046d16cf46616ac3d55b4df2a988R17
406
419
if [[ "$fname"=="bt"&&"$out_sub"=="/include/$IDF_TARGET/include"&&-f"$ipath/controller/$IDF_TARGET/esp_bt_cfg.h" ]];then
0 commit comments