Browse Source

esp32.rom.api.ld was only introduced in esp-idf v4.3. Remove invalid linker search path.

ccrause 3 years ago
parent
commit
4640120dbd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/systems/t_freertos.pas

+ 2 - 2
compiler/systems/t_freertos.pas

@@ -1273,8 +1273,8 @@ begin
        '-T esp32.rom.ld -T esp32.rom.libgcc.ld -T esp32.rom.newlib-data.ld -T esp32.rom.syscalls.ld -T esp32.rom.newlib-funcs.ld '+
        '-T '+esp_out_ld_filename+' -T '+esp_project_ld_filename+' '+
        '-L $IDF_PATH/components/esp32/ld -T esp32.peripherals.ld';
-      if idf_version>=40200 then
-        Info.ExeCmd[1]:=Info.ExeCmd[1]+' -L $IDF_PATH/components/esp32_rom/esp32/ld -T esp32.rom.api.ld';
+      if idf_version>=40300 then
+        Info.ExeCmd[1]:=Info.ExeCmd[1]+' -T esp32.rom.api.ld';
     end
   else
     begin