- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
i am trying to build the simple socket server example but i have got the following error when i doing this in nios2ide version 9.0 Severity and Description Path Resource Location Creation Time Id system_description/alt_sys_init.c error: `UART1_IRQ_INTERRUPT_CONTROLLER_ID' undeclared (first use in this function) simple_socket_server_1 line 106 1265647964234 32 system_description/alt_sys_init.c error: `UART1_IRQ_INTERRUPT_CONTROLLER_ID' undeclared (first use in this function) simple_socket_server_1_syslib line 106 1265647907092 29 but i don't have any idea what i can do can any one tell me what i can do to solve this problemLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is an odd problem. You've obviously got a uart in the system. alt_sys_init.c generated code in it to initialize the UART but it can't find a MACRO definition that it expects. Look in your "system.h" file to see if the macro "UART1_IRQ_INTERRUPT_CONTROLLER_ID" indeed does or does not exist.
Did you make changes to your system recently. Have you tried a "Clean Project" of both your project and system library before rebuilding? Jake- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
i look in system.h and i don't find UART1_IRQ_INTERRUPT_CONTROLLER_ID what is the meaning of that value and how i can set it thank yow jak for your help- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your SoPC system must have a component called UART1 in it. It's very odd that it's getting added to the alt_sys_init but not to system.h. Did you try cleaning the project. None of the project's files are accidentally write-protected are they?
Jake
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