Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

hwlib and socal headers

I was wondering how to get the hwlib and socal dependencies into linux so that I can properly compile ARM code? I have them on windows, which is where I have DS-5 installed, but I'm using a VM (linux guest) to develop the embedded code.

Thanks!

R/

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Linux application may be no rights to direct access to hardware, only through device drivers. Or I has wrong ?

    In 3 examples with SoC EDS Altera-s HWLIB is not used, all .h-files is from system.

    Search all files with "-Linux-" in c:/altera/14.0/embedded/examples/software and try run its in DS-5. "HelloWorld" not work with devices obvious, "Push-Button" is obscure, and Blinking-LED open all necessary devices through fopen() ! :)