xilinx SDK 实现 lwIP Application 问题
时间:10-02
整理:3721RD
点击:
板子: spartan-6 XL45, EDK 版本:14.6
XPS上加入ethernet core, 生成bitstream 下载至板子已无问题。
但是SDK中建立xilkernel lwIP echo 模板app之后,编译不通过(wizard生成,木有改过)。
先是有PLATFORM_TIMER_INTERRUPT_MASK 为定义问题,我手工在platform_config.h中define之后,又出现如下error:
multiple definition of `_interrupt_handler'
google之AR# 37429, 说因为xilkernel 不像standalone,不会给初始化interrupt,给的solution是:
In order to initialize interrupts for Xilkernel, one must call xilkernel_main() at which point interrupts for the OS are initialized. In the thread that is launched from xilkernel_main(), you can register more handlers and enable the interrupts for other resources by using the register_int_handler() and enable_interrupt() functions.
但是我找不到哪里是OS初始化interrupt的地方,也不知道如何register more handlers?
求教大神! 万分感谢!
XPS上加入ethernet core, 生成bitstream 下载至板子已无问题。
但是SDK中建立xilkernel lwIP echo 模板app之后,编译不通过(wizard生成,木有改过)。
先是有PLATFORM_TIMER_INTERRUPT_MASK 为定义问题,我手工在platform_config.h中define之后,又出现如下error:
multiple definition of `_interrupt_handler'
google之AR# 37429, 说因为xilkernel 不像standalone,不会给初始化interrupt,给的solution是:
In order to initialize interrupts for Xilkernel, one must call xilkernel_main() at which point interrupts for the OS are initialized. In the thread that is launched from xilkernel_main(), you can register more handlers and enable the interrupts for other resources by using the register_int_handler() and enable_interrupt() functions.
但是我找不到哪里是OS初始化interrupt的地方,也不知道如何register more handlers?
求教大神! 万分感谢!
小编问题解决了没有,我也遇到了一直卡在这