Community
cancel
Showing results for 
Search instead for 
Did you mean: 
NHsie4
Novice
1,147 Views

ISSM_2016.2.094 New project Build Error

Jump to solution

Hi, I download the "Intel® System Studio for Microcontrollers Update 2" for Windows* platform recently.

( reference : /thread/114358 https://communities.intel.com/thread/114358 )

There is the software environment

1

OS

Windows 8.1 64-bits

2

ISSM Version

ISSM_2016.2.094 (w_cembd_mv_p_1.0.2.094)

I create some new project for Intel Microcontrollers.

And click the Build button to compile project.

No.

SOC =

Target

APP_NAME

1

quark_se

x86

Hello_World

2

quark_se

x86

Quark_LED_Blink

3

quark_se

x86

<td style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid wi...

Accepted Solutions
Michelle_C_Intel
Employee
54 Views

It looks like you have a similar issue to this thread - which was a PATH problem --

Can you you try updating the PATH setting in the C:/IntelSWTools/ISSM_2016.2.094/issm_env.bat to below and restart ISSM. Let me know if this works.

::

:: Extend PATH with ISSM tools

::

set PATH=C:\WINDOWS\System32\Wbem

set PATH=%ISSM_UTILS_ROOT%;%ISSM_TOOLCHAIN_BIN%;%ISSM_TOOLCHAIN_UTILS%;%ISSM_TOOLS_ROOT%/python;%ISSM_TOOLS_ROOT%/python3;%DFU_UTILS%;%PATH%

-Michelle.

View solution in original post

2 Replies
Michelle_C_Intel
Employee
55 Views

It looks like you have a similar issue to this thread - which was a PATH problem --

Can you you try updating the PATH setting in the C:/IntelSWTools/ISSM_2016.2.094/issm_env.bat to below and restart ISSM. Let me know if this works.

::

:: Extend PATH with ISSM tools

::

set PATH=C:\WINDOWS\System32\Wbem

set PATH=%ISSM_UTILS_ROOT%;%ISSM_TOOLCHAIN_BIN%;%ISSM_TOOLCHAIN_UTILS%;%ISSM_TOOLS_ROOT%/python;%ISSM_TOOLS_ROOT%/python3;%DFU_UTILS%;%PATH%

-Michelle.

View solution in original post

NHsie4
Novice
54 Views

Dear Michelle :

The project in ISSM_2016.2.094 build successfully after set PATH:

My command prompt :

C:\Windows\system32>set PATH=C:\WINDOWS\System32\Wbem

C:\Windows\system32>set PATH=%ISSM_UTILS_ROOT%;%ISSM_TOOLCHAIN_BIN%;%ISSM_TOOLCHAIN_UTILS%;%ISSM_TOOLS_ROOT%/python;%ISSM_TOOLS_ROOT%/python3;%DFU_UTILS%;%PATH%

C:\Windows\system32>cd C:\IntelSWTools\ISSM_2016.2.094

C:\IntelSWTools\ISSM_2016.2.094>iss_mcu_ide_eclipse-launcher.bat

Copyright (C) 1985-2016 Intel Corporation. All rights reserved.

Intel(R) Compiler 2016.0 using LLVM technology (package 025)

It also works after edit C:\IntelSWTools\ISSM_2016.2.094\issm_env.bat

::

:: Extend PATH with ISSM tools

::

set PATH=C:\WINDOWS\System32\Wbem

There is my final issm_env.bat :

@ECHO off

:: -----------------------------------------------------------------------------

:: Copyright (c) 2016 Intel Corporation

:: -----------------------------------------------------------------------------

::

:: General-purpose variables

::

:: Root directory for the installed ISSM

set ISSM_ROOT=%~dp0

:: Change backslashes to slahes

set "ISSM_ROOT=%ISSM_ROOT:\=/%"

:: Strip the trailing slash

set ISSM_ROOT=%ISSM_ROOT:~0,-1%

:: Root directory for the tools

set ISSM_TOOLS_ROOT=%ISSM_ROOT%/tools

:: Legacy variable

set ISSM_PATH=%ISSM_TOOLS_ROOT%

:: Root directory for the toolchain

set ISSM_TOOLCHAIN_ROOT=%ISSM_TOOLS_ROOT%/compiler/gcc-ia/5.2.1

set ISSM_TOOLCHAIN_GCC_IA_ROOT=%ISSM_TOOLCHAIN_ROOT%

set ISSM_TOOLCHAIN_GCC_ARC_ROOT=%ISSM_TOOLS_ROOT%/compiler/gcc-arc/4.8.5

set ISSM_TOOLCHAIN_LLVM_IA_ROOT=%ISSM_TOOLS_ROOT%/compiler_llvm/linux/

:: Binaries directory for the toolchain

set ISSM_TOOLCHAIN_BIN=%ISSM_TOOLCHAIN_ROOT%/bin

:: Prefix for toolchain binaries, ex. i586-intel-elfiamcu-gcc

set ISSM_TOOLCHAIN_PREFIX=i586-intel-elfiamcu-

:: Binutils for the toolchain, without prefix %ISSM_TOOLCHAIN_PREFIX%

set ISSM_TOOLCHAIN_UTILS=%ISSM_TOOLCHAIN_ROOT%/i586-intel-elfiamcu/bin/

:: GCC version

for /f %%i in ('%ISSM_TOOLCHAIN_BIN%/%ISSM_TOOLCHAIN_PREFIX%gcc -dumpversion') do set ISSM_TOOLCHAIN_GCC_VERSION=%%i

:: Debugger

set ISSM_DEBUGGER_ROOT=%ISSM_TOOLS_ROOT%/debugger

:: Utils

set ISSM_UTILS_ROOT=%ISSM_TOOLS_ROOT%/utils

:: Python

set PYTHONHOME=%ISSM_TOOLS_ROOT%/python

:: LLVM-based toolchain

IF EXIST %ISSM_TOOLCHAIN_LLVM_IA_ROOT%/bin/xcompilervars.bat (

call %ISSM_TOOLCHAIN_LLVM_IA_ROOT%/bin/xcompilervars.bat -platform mcu

)

:: DFU

set DFU_UTILS=%ISSM_TOOLS_ROOT%/dfu_utils/1.3

::

:: Application specific variables

::

:: BSP

set ISSM_BSP_ROOT=%ISSM_ROOT%/firmware/bsp/1.4.0

set IAMCU_TOOLCHAIN_DIR=%ISSM_TOOLCHAIN_GCC_IA_ROOT%/bin

set ARCMCU_TOOLCHAIN_DIR=%ISSM_TOOLCHAIN_GCC_ARC_ROOT%/bin

:: IPP

set IPPROOT=%ISSM_ROOT%/firmware/lib/ipp/1.2.0

set IPP_LIBRARY_PATH=%IPPROOT%

:: Zephyr

set ZEPHYR_GCC_VARIANT=issm

set ISSM_INSTALLATION_PATH=%ISSM_ROOT%

set ZEPHYR_BASE=%ISSM_ROOT%/firmware/zephyr/1.7.0

set MINGW_DIR=C:/mingw/msys/1.0

set ISSM_TOOLCHAIN_IA_SELECT="gcc"

set TINYCRYPT_SRC_DIR=%ISSM_ROOT%/firmware/lib/tinycrypt-0.2.6

::

:: Extend PATH with ISSM tools

::

set PATH=C:\WINDOWS\System32\Wbem

set PATH=%ISSM_UTILS_ROOT%;%ISSM_TOOLCHAIN_BIN%;%ISSM_TOOLCHAIN_UTILS%;%ISSM_TOOLS_ROOT%/python;%ISSM_TOOLS_ROOT%/python3;%DFU_UTILS%;%PATH%

:: Add 101 support by default

set ISSM_ENABLE_101_SUPPORT=1

Thanks,

NoSheng.