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

This commit is contained in:
ccrause 2022-01-18 08:19:43 +02:00 committed by FPK
parent 73287c35d2
commit 4640120dbd

View File

@ -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