mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 23:49:22 +02:00
* set fpu type correctly for riscv32-freertos
This commit is contained in:
parent
87ec3d6fad
commit
71e0c12c88
@ -5087,7 +5087,12 @@ begin
|
|||||||
|
|
||||||
{$if defined(riscv32) or defined(riscv64)}
|
{$if defined(riscv32) or defined(riscv64)}
|
||||||
{ RISC-V defaults }
|
{ RISC-V defaults }
|
||||||
if (target_info.abi = abi_riscv_hf) then
|
if target_info.system = system_riscv32_freertos then
|
||||||
|
begin
|
||||||
|
if not(option.FPUSetExplicitly) then
|
||||||
|
init_settings.fputype:=fpu_soft;
|
||||||
|
end
|
||||||
|
else if (target_info.abi = abi_riscv_hf) then
|
||||||
begin
|
begin
|
||||||
{$ifdef riscv32}
|
{$ifdef riscv32}
|
||||||
if not option.CPUSetExplicitly then
|
if not option.CPUSetExplicitly then
|
||||||
|
Loading…
Reference in New Issue
Block a user