- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm trying to use LEDs on my DE2-70 board. When I add LED NIOS2 driver in menuconfig of uCLinux I get error during compilation. /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c: In function 'pio_led_init': /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c:81: error: 'USER_LED_PIO_8OUT_BASE' undeclared (first use in this function) /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c:81: error: (Each undeclared identifier is reported only once /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c:81: error: for each function it appears in.) /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c: In function 'pio_init': /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c:117: error: 'USER_LED_PIO_8OUT_BASE' undeclared (first use in this function) /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c: In function 'pio_exit': /home/lukasz/workspace/nios2-linux/linux-2.6/arch/nios2/drivers/pio.c:142: error: 'USER_LED_PIO_8OUT_BASE' unde How I have to define in nios.h my LEDs and how name it in SOPC to work with them?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page