Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
321 Discussions

Bad bare metal getting started instructions

FredSkar
Beginner
305 Views

Hello,

I'm trying to setup a simple bare metal project with FreeRTOS. But I have some issues regarding the compiler and HWlib.

I have followed the getting started guide (https://www.intel.com/content/www/us/en/programmable/documentation/lro1424280108409.html) and got a hello world example up and running. But when I want to use FreeRTOS I need to interface the hardware for example interrupt and timers. So I tried to compile HWlib with my hello world project, but I get the same error that I have seen others post about here (for example here https://community.intel.com/t5/Intel-SoC-FPGA-Embedded/Declarations-for-UART-MAX-LEN-and-log-buf-Cyc...)

When I try to remove the parts where the missing definitions are used I get errors that my compiler can't find several libraries. Is there any documentation that I'm missing on how to use HWlib in a bare metal project? 

I have installed SOC EDS 20.1 with the bundled linaro gcc 7.5.0 compiler. 

0 Kudos
1 Reply
Isaac_V_Intel
Employee
281 Views

Hello Fredscar,


I have seen that you already installed the environment, so the next step that I recommend you to follow the next link [1]to the section "Arria 10 or Cyclone V bare metal Using SoC EDS"

There you can have the correct procedure to compile all the necessary libraries.


[1] https://rocketboards.org/foswiki/Documentation/SoCEDS#Cyclone_V_Bare_Metal_Example_Using_SoC_EDS_Sta...


Best regards,

Isaac Vazquez.


Reply