Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Simply, if You don't add particular component in QSYS, then those components are not enabled in BSP options and are not defined in system.h file. --- Quote End --- Ah ha! The error I was getting was: web_server.c:346: error: 'led_pio_base' undeclared (first use in this function)
The example Qsys design implements two Qsys submodules, one of which contains the LED_PIO component. I checked to see if it was defined in the system.h file as you suggested, and found that it had the name "PERIPHERAL_SUBSYSTEM_LED_PIO_BASE". I changed the web_server.c file to use this name instead of "LED_PIO_BASE" and it compiled and ran correctly. Thanks for your help and quick reply to my plea for help. Now, how do we get this information to Altera so they can make the correction to the example design?