I have submitted a pull request that addresses the spiService on wp76xx and wp77xx issue. If you test the code in the pull request, pleease leave a comment in the pull request indicating whether it works for you or not.
Hey, so I have changed the trigger.h, yet i am still not able to see the sensor files . I have gone through the entire thread carefully. I am not sure how do you integrate the drivers bmi160 and bmp280.
I am new with this system, help will be appreciated.
thanks
did you follow here to build the mangoH Red image:
Also SW401 switch 3 needs to be “ON” on the mangOH_Red board in order to power up the Gyroscope/ Accelerometer.
Hey, thanks for replying,
Yes i have done all the required steps .
I still get this error:
[1/51] Compiling liblegato source file
**FAILED: /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/crc.c.o **
**/gcc --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/crc.c.o.d -c /home/amil/mangoh/legato_framework/legato/framework/liblegato/crc.c -o /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/crc.c.o -Wall -Werror -DLEGATO_EMBEDDED -fPIC -I/home/amil/mangoh/legato_framework/legato/framework/daemons/linux -g -O2 -fno-omit-frame-pointer -I/home/amil/mangoh/legato_framework/legato/framework/liblegato/linux -DLE_COMPONENT_NAME=framework -I/home/amil/mangoh/legato_framework/legato/framework/include -I/home/amil/mangoh/legato_framework/legato/framework/liblegato -DDISABLE_SMACK=0 -DLE_SVCDIR_SERVER_SOCKET_NAME=“"/tmp/legato/serviceDirectoryServer"” -DLE_SVCDIR_CLIENT_SOCKET_NAME=“"/tmp/legato/serviceDirectoryClient"” **
/bin/sh: /gcc: No such file or directory
[2/51] Compiling liblegato source file
**FAILED: /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/singlyLinkedList.c.o **
**/gcc --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/singlyLinkedList.c.o.d -c /home/amil/mangoh/legato_framework/legato/framework/liblegato/singlyLinkedList.c -o /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/singlyLinkedList.c.o -Wall -Werror -DLEGATO_EMBEDDED -fPIC -I/home/amil/mangoh/legato_framework/legato/framework/daemons/linux -g -O2 -fno-omit-frame-pointer -I/home/amil/mangoh/legato_framework/legato/framework/liblegato/linux -DLE_COMPONENT_NAME=framework -I/home/amil/mangoh/legato_framework/legato/framework/include -I/home/amil/mangoh/legato_framework/legato/framework/liblegato -DDISABLE_SMACK=0 -DLE_SVCDIR_SERVER_SOCKET_NAME=“"/tmp/legato/serviceDirectoryServer"” -DLE_SVCDIR_CLIENT_SOCKET_NAME=“"/tmp/legato/serviceDirectoryClient"” **
/bin/sh: /gcc: No such file or directory
[3/51] Compiling liblegato source file
**FAILED: /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/doublyLinkedList.c.o **
**/gcc --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/doublyLinkedList.c.o.d -c /home/amil/mangoh/legato_framework/legato/framework/liblegato/doublyLinkedList.c -o /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/doublyLinkedList.c.o -Wall -Werror -DLEGATO_EMBEDDED -fPIC -I/home/amil/mangoh/legato_framework/legato/framework/daemons/linux -g -O2 -fno-omit-frame-pointer -I/home/amil/mangoh/legato_framework/legato/framework/liblegato/linux -DLE_COMPONENT_NAME=framework -I/home/amil/mangoh/legato_framework/legato/framework/include -I/home/amil/mangoh/legato_framework/legato/framework/liblegato -DDISABLE_SMACK=0 -DLE_SVCDIR_SERVER_SOCKET_NAME=“"/tmp/legato/serviceDirectoryServer"” -DLE_SVCDIR_CLIENT_SOCKET_NAME=“"/tmp/legato/serviceDirectoryClient"” **
/bin/sh: /gcc: No such file or directory
[4/51] Compiling liblegato source file
**FAILED: /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/utf8.c.o **
**/gcc --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/utf8.c.o.d -c /home/amil/mangoh/legato_framework/legato/framework/liblegato/utf8.c -o /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/utf8.c.o -Wall -Werror -DLEGATO_EMBEDDED -fPIC -I/home/amil/mangoh/legato_framework/legato/framework/daemons/linux -g -O2 -fno-omit-frame-pointer -I/home/amil/mangoh/legato_framework/legato/framework/liblegato/linux -DLE_COMPONENT_NAME=framework -I/home/amil/mangoh/legato_framework/legato/framework/include -I/home/amil/mangoh/legato_framework/legato/framework/liblegato -DDISABLE_SMACK=0 -DLE_SVCDIR_SERVER_SOCKET_NAME=“"/tmp/legato/serviceDirectoryServer"” -DLE_SVCDIR_CLIENT_SOCKET_NAME=“"/tmp/legato/serviceDirectoryClient"” **
/bin/sh: /gcc: No such file or directory
[5/51] Compiling liblegato source file
**FAILED: /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/addr.c.o **
**/gcc --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/addr.c.o.d -c /home/amil/mangoh/legato_framework/legato/framework/liblegato/linux/addr.c -o /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/addr.c.o -Wall -Werror -DLEGATO_EMBEDDED -fPIC -I/home/amil/mangoh/legato_framework/legato/framework/daemons/linux -g -O2 -fno-omit-frame-pointer -I/home/amil/mangoh/legato_framework/legato/framework/liblegato/linux -DLE_COMPONENT_NAME=framework -I/home/amil/mangoh/legato_framework/legato/framework/include -I/home/amil/mangoh/legato_framework/legato/framework/liblegato -DDISABLE_SMACK=0 -DLE_SVCDIR_SERVER_SOCKET_NAME=“"/tmp/legato/serviceDirectoryServer"” -DLE_SVCDIR_CLIENT_SOCKET_NAME=“"/tmp/legato/serviceDirectoryClient"” **
/bin/sh: /gcc: No such file or directory
[6/51] Compiling liblegato source file
**FAILED: /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/args.c.o **
**/gcc --sysroot=/opt/swi/y22-ext-wp76xx/sysroots/armv7a-neon-poky-linux-gnueabi -MMD -MF /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/args.c.o.d -c /home/amil/mangoh/legato_framework/legato/framework/liblegato/linux/args.c -o /home/amil/mangoh/legato_framework/legato/build/wp76xx/framework/obj/args.c.o -Wall -Werror -DLEGATO_EMBEDDED -fPIC -I/home/amil/mangoh/legato_framework/legato/framework/daemons/linux -g -O2 -fno-omit-frame-pointer -I/home/amil/mangoh/legato_framework/legato/framework/liblegato/linux -DLE_COMPONENT_NAME=framework -I/home/amil/mangoh/legato_framework/legato/framework/include -I/home/amil/mangoh/legato_framework/legato/framework/liblegato -DDISABLE_SMACK=0 -DLE_SVCDIR_SERVER_SOCKET_NAME=“"/tmp/legato/serviceDirectoryServer"” -DLE_SVCDIR_CLIENT_SOCKET_NAME=“"/tmp/legato/serviceDirectoryClient"” **
/bin/sh: /gcc: No such file or directory
ninja: build stopped: subcommand failed.
Makefile.framework:147: recipe for target ‘liblegato’ failed
make[2]: *** [liblegato] Error 1
make[2]: Leaving directory ‘/home/amil/mangoh/legato_framework/legato’
Makefile:314: recipe for target ‘framework_wp76xx’ failed
make[1]: *** [framework_wp76xx] Error 2
make[1]: Leaving directory ‘/home/amil/mangoh/legato_framework/legato’
Makefile:34: recipe for target ‘legato_wp76xx’ failed
make: *** [legato_wp76xx] Error 2
I am running it on ubuntu 18.04 LTS
Thanks!
“/bin/sh: /gcc: No such file or directory” means the toolchain path of WP76 is not correct.
You can check by “export” command.
hi am, alsso getting the same issue have you resolved the problem?
Please post the error message