Zynq UltraScale+ MPSoC FreeRTOS Development


The purpose of this page is to describe how to create FreeRTOS BSP freertos821_xilinx_v1_0 for ARM Cortex-R5 based Zynq UltraScale+ MPSoC projects.

SOFTWARE TOOLS AND SYSTEM REQUIREMENTS

  • Xilinx Vivado/SDK

INSTALLATION AND OPERATING INSTRUCTIONS

  • Install the Xilinx SDK <Version>

To create the FreeRTOS BSP with a demo application for Cortex-R5 into a SDK design project:

1) Select File-->New-->Board Support Package
fressrtos.png
2) Specify hardware design file and select finish
frtos.png

frtos1.png

3) To create FreeRTOS BSP for cortex-R5
  • Select processor psu_cortexr5_0/1 for cortex-r5 core 0/1
  • Select freertos821_xilinx in Board Support Package OS option and select finish
frtos3.png
4) A window called Board Support Package Settings lisitng all the drivers and libraries included in the bsp will pop up. Make changes if required.

frtos4.png
5) Click OK and wait for BSP to build
frtos5.png
6) There is a hello world demo application available for FreeRTOS R5 BSP which can be built from SDK. It can be created as follows:
  • Select File-->New-->Application Project
frtos7.png
  • Select processor psu_cortexr5_0/1 and OS platform freertos821_xilinx
  • Select Use Existing to use the existing bsp and select Next
frtos8.png
  • From Available templates select FreeRTOS Hello World and Select finish .elf file will be created. They can be found in the respective debug folder of
application project.
frtos9.png

frtos10.png