Nios® V Processor Software Developer Handbook

ID 743810
Date 4/01/2024
Public
Document Table of Contents

11.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 19. BSP Editor
  5. Define -fno-tree-vectorize in hal.make.cflags_user_flags.
    Figure 20. Custom GCC Flags