fg71
Its looks like this vendor have made OpenPLC to work for VisionFive 2 that use Risc-V
 
From the last link you could find a version of OpenPLC that has a custom hardware_layers for the board.
Not sure if that version is based on OpenPLC_v3, it could be OpenPLC_v2
 
I though it was kind of cool to share, Risc-V hardware 🙂
Reply 1 0
thiagoralves
I’ve seen that already. They use an old version of v3. Considering that RP2350 has a RISC-V core and OpenPLC is compatible with it, I think it is safe to say that OpenPLC officially supports RISC-V as well! 😁
Reply 0 0
fg71
I would think RP2350 you pick the core to use in Arduino IDE, not sure if that is possible with OpenPLC
 
So how would you know if it use ARM or Risc-V from OpenPLC ??
 
I do know Giga have Dual core design M4 and M7 and the default core is M7, that why I asking.
Reply 0 0
thiagoralves
Screenshot 2025-02-04 at 1.16.24 PM.png
 
Just pick from the list. You can't use both at the same time, but you can use one or another
Reply 0 0
fg71
Nice, I didn't know you could have arch key in FQBN for platform key
Someone did a performance test between Cortex M33 and Risc-V and there was not so much difference between them.
Maybe the reason Raspberry Pi include Risc-V pair is to make Pico 3 with Risc-V only
Reply 0 0
thiagoralves
It would be nice to benchmark the same OpenPLC application running on each one of the cores. Have a gpio pin toggle at every scan cycle, and then put a ridiculously low scan cycle time like 100us, and measure the signals coming from the gpio pin on a scope.
Reply 0 0
Reply