heinbali01 wrote on Friday, March 25, 2016:
Hi Sting,
Try the following steps:
Unpack the entire ZIP in e.g. c:\temp\xilinx
Start 2015.4
File -> Switch -> Other -> enter e.g. “c:\temp\xilinx\workspace”
File -> Import -> General -> Existing project into workspace
Root directory enter:
C:\temp\xilinx\FreeRTOS-Plus\Demo\FreeRTOS_Plus_TCP_and_FAT_Zynq_SDK
and press TAB
The box will fill with three projects. Select them all and press OK.
When I press “Project -> Build All”, indeed I get mentioned error, a missing xparameters.h
Solution:
Press File -> New -> Board support package (BSP)
Do not use the default but this location for the BSP :
C:\temp\xilinx\FreeRTOS-Plus\Demo\FreeRTOS_Plus_TCP_and_FAT_Zynq_SDK
- Hardware platform: MicroZed_hw_platform
- CPU: ps7_cortexa9_0
- standalone (because the project already contains FreeRTOS kernel)
Press Finish
Choose libraries (none are needed) and press OK
Now right-click in “Project Explorer” on RTOSDemo
, select Project references and make sure that these are selected:
MicroZed_hw_platform
standalone_bsp_0
It makes the main project (RTOSDemo
) dependent on these 2 sub-projects, they will be included when building.
Now try “Project->Build All” again. RTOSDemo.elf
will be created.
And also this file will be present:
..\standalone_bsp_0\ps7_cortexa9_0\include\xparameters.h
Have a look at the attachment of this post: ‘MicroZed_debug.png’, it might answer your next questions
Regards.