ソースを参照

* compilation fixed with -Oodfa

florian 2 年 前
コミット
139a382bf1
1 ファイル変更1 行追加2 行削除
  1. 1 2
      compiler/systems/t_freertos.pas

+ 1 - 2
compiler/systems/t_freertos.pas

@@ -1453,8 +1453,7 @@ begin
           '--config $OUTPUT/sdkconfig --fragments';
 
   { Pick corresponding linker fragments list for SDK version }
-  if (current_settings.controllertype = ct_esp32c3) then
-    idf_index:=esp32c3_v5_0;
+  idf_index:=esp32c3_v5_0;
 
   for S in esp_fragment_list[idf_index] do
     cmdstr:=cmdstr+' $IDF_PATH/components/'+S+'.lf';