Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

12.6. Enabling MicroC/TCP-IP Protocol Stack

You can use Nios® V Command Shell CLI to enable µC/TCP-IP software package with the following command:
Note: Disable the vectorization in GCC because µC/TCP-IP stack is not compatible with GCC compiler.
niosv-bsp -c -t=ucosii -e="enable_sw_package uc_tcp_ip" \
-e=”set_setting hal.make.cflags_user_flags \
{-fno-tree-vectorize}” \
-s=<.qsys file> -p=<.qpf file>
Alternately, you can also enable it through Quartus® Prime using the following steps:
  1. Open the Platform Designer.
  2. Click the BSP Editor tab.
  3. Click the BSP Software Packages tab.
  4. Tick the Enable checkbox.
    Figure 20. BSP Editor
  5. Define -fno-tree-vectorize in hal.make.cflags_user_flags.
    Figure 21. Custom GCC Flags