Forum Discussion

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

Drivers and Inc Files for PIO

Hello:

I am using a Cyclone Dev kit ( 1C20) while I am waiting for the delivery of our Cyclone II board. I need to access the pio inputs and output on the dev board to simulate our system. Alter running the Nios2Config tool for eCos, I notice the PIO functions and inc files are not included in my install path. The system.h file clearly references them.

Any thoughts?

Graham....

2 Replies

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

    OK..................................

    Read previous post and added the following to my makefile CFLAGS

    -I'$(SOPC_KIT_NIOS2)'/components/altera_avalon_pio/inc -I$(PREFIX)/include/cyg/hal
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by graham615@May 27 2005, 03:32 PM

    ok..................................

    read previous post and added the following to my makefile cflags

    -i'$(sopc_kit_nios2)'/components/altera_avalon_pio/inc -i$(prefix)/include/cyg/hal

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=7299)

    --- quote end ---

    --- Quote End ---

    so in my make file i can see

    CFLAGS = -I$(INSTALL_DIR)/include

    then what i have to modify,,

    thanks,

    NIrav