Forum > Embedded

What is the current status of Risc-V Target?

<< < (3/3)

Espressif will base a new esp32 version on riscv32:

I was just wondering the other evening how much work would be involved in modifying the Escape DLX simulator that Jonas et al. contributed a few years ago for RISC-V.



I am currently porting a project (about 10000 lines of code) from AVR to STM32F103/ARM Cortex M3 and simultaneously to GD32VF103/RISC-V/RV32IMAC and this goes pretty well. In my opinion, the state of the RISC-V compiler is surprisingly good. Hut ab ;-)

There is a minor issue concerning interrupts ( When the non vectored interrupt feature of the GD32VF103 interrupt controller is sufficient, then Pascal interrupt procedures are working. In vectored mode, one could write inline assembler interrupt routines with the nostackframe attribute.

As far as I can see at the moment, the execution speed of the GD32VF103 is faster than the STM32F103.  I think the main reason for this is, that the STM32F103 needs two wait states, when the program runs from Flash. The code size is roughly twice as large for the RISC-V controller.

Regards, Bernd.

How can i start learning to use FreePascal for RISC-V?
What are the steps to install RISC-V RTL, under what OS, How?
Any advise?
I have been see that fpcupdeluxe have an option to generate something...

@jma_sp, which device do you want to use?

Before, I did some tests on the CH32V307, basic functionality worked. Later I ported a project to the CH32V103, basic tests also worked, but the larger project crashed repeatedly shortly after startup when powering some periphery, could be a hardware issue though. I didn't investigate further due to lack of time.

The compiler I generate with a short batch file. Works quite well. If you are interested, I can share it.


[0] Message Index

[*] Previous page

Go to full version