Replies: 3 comments 2 replies
-
Hello @chamobit RuSTy does indeed work on real hardware. I don't know about the Arduino Opta or the RP2350 but cross compiling a target application should work by design since LLVM is a cross compiler there are things to consider however that I will mention at the end. To compile an application to a different target try the following:
plc build --target=<target> You can add a Some things to consider:
|
Beta Was this translation helpful? Give feedback.
-
Hi, first of all congratulations for the project. |
Beta Was this translation helpful? Give feedback.
-
Many thanbks, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thanks a lot for this project!
I'm wondering if you've been able to test Rusty on a real PLC, such as the Arduino Opta, or on a microcontroller like the RP2040 or RP2350. I'm trying to make a comparison with the OpenPLC (Matiec) based compiler, which uses a form of physical addressing to describe the supported hardware.
Since 2024, I understand that LLVM should be able to generate code for the ARM architecture. However, it would be great to have an end-to-end example of running Rusty-generated Structured Text code on the Arduino Opta, RP2350, or similar devices.
Perhaps such an example already exists, and I've simply been unable to find it in the documentation.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions