Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi,
Thanks for your prompt response. I enabled the Hardware Serial Devices in ConfigTool. I have also added the extra compiler CFLAGS options to my makefile: -I'$(SOPC_KIT_NIOS2)'/components/altera_avalon_lcd_16207/inc -I$(PREFIX)/include/cyg/hal I rebuilt the library and the LCD is now working for me. Thanks! P.S. I added -I'$(SOPC_KIT_NIOS2)'/components/altera_avalon_pio/inc -I$(PREFIX)/include/cyg/hal so I could use any of the PIO devices in my hardware. However, I get an undefined reference to IOWR_ALTERA_AVALON_PIO_DATA when I tried to use it like shown below: IOWR_ALTERA_AVALON_PIO_DATA(LED_PIO_BASE, 1); // turn on LED# 1 I am curious if the PIO devices have an enable/disable feature in the configtool too?