DesignWare ARC MetaWare Development Toolkit (MWDT)

  1. You need to have ARC MWDT installed on your host.

  2. Set these environment variables:

    • Set ZEPHYR_TOOLCHAIN_VARIANT to arcmwdt.

    • Set ARCMWDT_TOOLCHAIN_PATH to the toolchain installation directory. MWDT installation provides METAWARE_ROOT so simply set ARCMWDT_TOOLCHAIN_PATH to $METAWARE_ROOT/../ (Linux) or %METAWARE_ROOT%\..\ (Windows)

  3. To check that you have set these variables correctly in your current environment, follow these example shell sessions (the ARCMWDT_TOOLCHAIN_PATH values may be different on your system):

    # Linux:
    $ echo $ZEPHYR_TOOLCHAIN_VARIANT
    arcmwdt
    $ echo $ARCMWDT_TOOLCHAIN_PATH
    /home/you/ARC/MWDT_2019.12/
    
    # Windows:
    > echo %ZEPHYR_TOOLCHAIN_VARIANT%
    arcmwdt
    > echo %ARCMWDT_TOOLCHAIN_PATH%
    C:\ARC\MWDT_2019.12\