Lazarus

Free Pascal => Other OS => Topic started by: ATILIUS on December 03, 2018, 02:36:34 pm

Title: fpc and ESP32
Post by: ATILIUS on December 03, 2018, 02:36:34 pm
Hello!

Does fpc support the ESP32 microcontroller?

The ESP32 is used in many development boards and offers Wi-Fi and Bluetooth wireless capabilities, and a dual core CPU.

It would be nice if the ESP32 could be programmed in PASCAL.

Cheers,
ATILIUS
Title: Re: fpc and ESP32
Post by: Laksen on December 03, 2018, 04:02:36 pm
No. Esp32 uses the xtensa arch
Title: Re: fpc and ESP32
Post by: peter@jazenga.com on October 04, 2020, 01:10:12 pm
yes using Xtensa cross compiler but its still beta
I have tried to set it up but so far no success
The compiler builds ok however I do not know where to put the xtensa binary files
Title: Re: fpc and ESP32
Post by: PascalDragon on October 04, 2020, 01:13:39 pm
Did you follow the directions on the Wiki (https://wiki.freepascal.org/Xtensa)?
Title: Re: fpc and ESP32
Post by: Arioch on September 08, 2022, 09:52:07 pm
No. Esp32 uses the xtensa arch

Not quite. Afair there are three lines in ESP 32, and two are using xtensa indeed, but one is using RISC-V

Like  ESP32-H2  or  ESP32-C3

I heard RISC-V support, perhaps not very stable yet, was added to FPC
Title: Re: fpc and ESP32
Post by: PascalDragon on September 11, 2022, 05:58:29 pm
No. Esp32 uses the xtensa arch

Not quite. Afair there are three lines in ESP 32, and two are using xtensa indeed, but one is using RISC-V

At the time the question was asked the RISC-V variants of the ESP32 did not exist yet.

I heard RISC-V support, perhaps not very stable yet, was added to FPC

Both RISC-V and Xtensa are stable enough to be considered usable.
TinyPortal © 2005-2018