Community
cancel
Showing results for 
Search instead for 
Did you mean: 
FredSkar
Beginner
209 Views

Bad bare metal getting started instructions

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
185 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