AN 1011: TinyML Applications in Altera FPGAs Using LiteRT for Microcontrollers

ID 848984
Date 4/07/2025
Public

Visible to Intel only — GUID: cxf1740103127742

Ixiasoft

Document Table of Contents

3.2.4. Building the LiteRT TinyML Application

Altera recommends importing the BSP and APP project into Ashling* RiscFree* IDE for Altera® FPGAs for better project management and user experience.
Alternatively, run the cmake and make command to build the application.
  • For debug build, select Debug configuration
    $ niosv-shell
    $ cmake -S software/app -B software/app/build/Debug -G "Unix Makefiles" \
    -DCMAKE_BUILD_TYPE=Debug
    $ make -C sw/app/build/Debug
    
  • For release build, select Release configuration
    $ niosv-shell
    $ cmake -S software/app -B software/app/build/Release -G "Unix Makefiles" \
    -DCMAKE_BUILD_TYPE=Release
    $ make -C sw/app/build/Release