- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
There is no official support of converting Arduino code to Nios II C code. The longest way would be to re-write the example you use in Arduino to a bare-metal code for Nios II.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @FJumaah for your fast response, I really appreciate that.
Can you give me a start to learn how to do so? I am starting my new company and need to move all the ARDUINO projects to FPGA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello sir,
Arduino uses special functions of C language which is not supported in Nios II. the code that will be used to run the Arduino needs to be re-written in a plain C format to be compatible with Nios II. If there are libraries behind that Arduino code, you can use them directly with Nios II. However, this can be easily done if your libraries are written in C, if they are written in C++, you might find some challenges in handling them for Nios II since C++ requires large amount of memory to run on Nios II.
Hope this might help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ohhh, I see. So there is no way to have the code transferred automatically. I will work on manual translation.
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
check out NIOSDUINO
https://www.youtube.com/watch?v=YhavjKajX_w
https://github.com/dimag0g/nios_duino
Hope this helps
All the best
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page