AN 669: Drive-On-Chip Design Example for Cyclone V Devices

ID 683466
Date 5/15/2022
Document Table of Contents

5.3.1. Compiling the µC/OS-II HPS Software with the Arm GUI

You must have an Arm Development Studio license to compile the HPS software. Alternatively you can compile the software with the Arm script.
  1. Run the SoC EDS command shell.
  2. In the SoC EDS command shell, type <your_ArmDS_install_path_in_Cygwin_expresstion>/bin/cmdsuite.exe, for example:
    /cygdrive/c/Program\Files/Arm/Development\ Studio\ 2021.1/bin/cmdsuite.exe
  3. Set default toolchain environment by typing select_toolchain, then enter the number for Arm Compiler 6.
  4. In the SoC EDS command shell, type armds_ide&.
    The Arm Development Studio IDE Launcher opens.
  5. Browse to <project_dir>/software, click Select Folder, then click Launch.
  6. Click Finish to close the preferences wizard.
    Note: Close the welcome to Development Studio tab if it shows.
  7. Import the makefile project DOC_TANDEM_CVSX:
    1. Select File > Import to open the Import window.
    2. Select General > Existing Projects into Workspace and click Next.
    3. Click Select Root Directory and browse to the project directory, DOC_TANDEM_CVSX in the workspace directory, DOC_TANDEM_CVSX.
    4. Click OK.
    5. Click Finish.
  8. Rebuild the DOC_TANDEM_CVSX project: right-click DOC_TANDEM_CVSX project and click Build Project.