Building C project

Applications, development tools, FPGA, C, WEB
pavel
Posts: 789
Joined: Sat May 23, 2015 5:22 pm

Re: Building C project

Post by pavel » Wed Jul 28, 2021 2:21 pm

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.

gagagou_
Posts: 5
Joined: Wed Jul 28, 2021 8:42 am

Re: Building C project

Post by gagagou_ » Wed Jul 28, 2021 2:31 pm

Thanks for the anwser,
By baremetal u mean the creation of the code with the .elf, the u-boot file etc ?

pavel
Posts: 789
Joined: Sat May 23, 2015 5:22 pm

Re: Building C project

Post by pavel » Wed Jul 28, 2021 4:18 pm

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

User avatar
redpitaya
Site Admin
Posts: 880
Joined: Wed Mar 26, 2014 7:04 pm

Re: Building C project

Post by redpitaya » Thu Aug 12, 2021 10:59 am

Please check the red pitaya github page for examples.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 19 guests