- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi, I'm having some problems because I want to implement an operating system, the MicroC/OS-II, on the DE1 board.
First, I followed the tutorial "Introduction to the SOPC Builder" on Altera's site to create a SOPC project. After this, I followed the tutorial "Using MicroC/OS-II RTOS with the Nios II Processor Tutorial" on Altera's site too But, when I try to build the project, I receive the following errors: make: *** [../ucosii_bsp/-recurs-make-lib] Error 2 make[1]: *** [obj/HAL/src/alt_close.o] Error 1 # error "OS_CFG.H, Missing OS_TICKS_PER_SEC: Sets the number of ticks in one second" ucos_ii.h /ucosii_bsp/UCOSII/inc line 1708 C/C++ Problem I don't know how to solve it. I don't know if it is a problem from the SOPC I created, if I need something more. Or if it is a problem with the application on NIOS II SBT for Eclipse. Thank you.링크가 복사됨
4 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I don't think so. Can you explain me how to do this??
Sorry because I'm starting working with this board and I only studied the tutorials from the Altera's site. Thanks for the answer!!- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
In SOPC builder, you'll find the timer in the library: Peripherals > Microcontroller Peripherals > Interval timer
Set a timeout period of 10 ms and select the Simple periodic interrupt preset. Then regenerate your SOPC system and recompile Quartus project. I don't remember if the bsp settings are automatically adjusted. If not you may need to update them and select the timer you just created as system timer before recompiling the software.- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thank you. It's impossible for me to try it now, but as soon as I can I will try to do it and I will return to say if it works with me.
Thanks a lot!!!