Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Employee
1,180 Views

In ISSM Gold, how does the Zephyr CONFIG_QMSI_INSTALL_PATH get configured for External QMSI BSP (1.1.0) ?

Hi, i have modified the prj.conf file to use the (external) QMSI BSP. I cannot seem to get the path parameter set correctly. I have set it in the project properties, and have tried all kinds of syntax in the prj.conf file. I always get the error below (after deleting the outdir folder, clean project, and refreshing each time).

# These are Zephyr project configuration items - to include the QMSI BSP...

CONFIG_QMSI=y

CONFIG_QMSI_INSTALL_PATH=" what goes here ? "

CONFIG_HAS_QMSI=y

CONFIG_QMSI_BUILTIN=n

CONFIG_QMSI_LIBRARY=y

LD ../src/built-in.o

LINK zephyr.lnk

c:/intelswtools/issm_2016.1.067/tools/compiler/gcc-ia/5.2.1/bin/../lib/gcc/i586-intel-elfiamcu/5.2.1/../../../../i586-intel-elfiamcu/bin/ld.exe: cannot find -lqmsi

collect2.exe: error: ld returned 1 exit status

make[2]: *** [.tmp_zephyr.prebuilt] Error 1

make[2]: Leaving directory `/c/IntelSWTools/ISSM_2016.1.067/workspace/Philosophers/outdir'

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/c/IntelSWTools/ISSM_2016.1.067/workspace/Philosophers/zephyr'

make: *** [all] Error 2

10:20:27 Build Finished (took 1m:17s.98ms)

0 Kudos
3 Replies
Highlighted
3 Views

In Linux I set it to below and the project will build fine.

CONFIG_QMSI_INSTALL_PATH="$(ISSM_BSP_ROOT)/build/release/quark/x86/libqmsi"

However in Windows I am see the same issue you are - It would appear to be an issue with MinGW finding the Library.

I'm currently trying to see if there is a workaround for this so I will let you know...

--Michelle.

0 Kudos
Highlighted
3 Views

So it seems it cannot find the library as it is expecting to be called libqmsi.a and that is not the default name when you build it.

(In Linux a symbolic link is created to that is why it was working there).

As a workaround I just made a copy of the file and named it libqmsi.a

To build libqmsi on Windows ....

c:\IntelSWTools\ISSM_2016.1.067>issm_env.bat

 

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

 

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

c:\IntelSWTools\ISSM_2016.1.067>cd %ISSM_BSP_ROOT%

c:\IntelSWTools\ISSM_2016.1.067\firmware\bsp\1.1>make libqmsi SOC=quark_se{or quark_d2000} TARGET=x86 {or sensor}

Then set the CONFIG_QMSI_INSTALL_PATH to the directory where the output file is :

e.g. for quark_se / x86 set it to :

CONFIG_QMSI_INSTALL_PATH="$(ISSM_BSP_ROOT)/build/release/quark_se/x86/libqmsi"

Let me know if this works for you ...

regards,

Michelle.

Highlighted
Employee
3 Views

Thanks Michelle !

I got it.

0 Kudos