Page 2 of 2

Re: Building C project

Posted: Wed Jul 28, 2021 2:21 pm
by pavel
gagagou_ wrote:
Wed Jul 28, 2021 2:03 pm
Hum so there is no way to use a C program written with Xilinx SDK in the Redpitaya Ubuntu ?
I've to change everything to match linux headers and fonctions ?
If you write a bare metal application, then it runs on bare metal and cannot run on Linux. The code for a bare metal application should use the bare metal headers, libraries, compilers, linkers, etc.

If you write a Linux application, then it runs on Linux and cannot run on bare metal. The code for a Linux application should use the Linux headers, libraries, compilers, linkers, etc.

Xilinx SDK can be used for both types of applications (bare metal and Linux) but libraries, compilers, linkers, etc are different for these types of applications and cannot be mixed.

Re: Building C project

Posted: Wed Jul 28, 2021 2:31 pm
by gagagou_
Thanks for the anwser,
By baremetal u mean the creation of the code with the .elf, the u-boot file etc ?

Re: Building C project

Posted: Wed Jul 28, 2021 4:18 pm
by pavel
Bare metal means without operating system. It's a very common term:

https://en.wikipedia.org/wiki/Bare_machine

https://xilinx-wiki.atlassian.net/wiki/ ... +Libraries

Re: Building C project

Posted: Thu Aug 12, 2021 10:59 am
by redpitaya
Please check the red pitaya github page for examples.