2 months ago
SmartSnippets Studio: Cannot find arm-none-eabi-gcc
Posted bycricke25 points 5 repliesHi,
I have installed SmartSnippets Studio 2.0.16 and DA1468x_DA15xxx_SDK_1.0.14.108 (with hotfix applied) on a fresh Ubuntu 20.04 LTS VM.
Trying to build any project shows the following:
14:28:10 **** Build of configuration DA14683-00-Debug_QSPI for project ble_usbhid_dongle ****
make --silent all
Generate linker scripts.
/bin/sh: 1: arm-none-eabi-gcc: not found
make[2]: *** [../makefile.targets:11: mem.ld] Error 127
Building file: /home/chris/DA1468x_DA15xxx_SDK_1.0.14.1081/sdk/bsp/startup/config.c
Invoking: Cross ARM C Compiler
/bin/sh: 1: arm-none-eabi-gcc: not found
make[1]: *** [startup/subdir.mk:33: startup/config.o] Error 127
make: *** [makefile:63: all] Error 2
"make --silent all" terminated with exit code 2. Build might be incomplete.
Starting SmartSnippets Studio in the terminal shows the following:
chris@ubuntu-vm:~$ DiaSemi/SmartSnippetsStudio2.0.16/CDT/SmartSnippets_Studio.startup.sh
eclipse.launcher = /home/chris/DiaSemi/SmartSnippetsStudio2.0.16/CDT/SmartSnippets_Studio
eclipse.home.location = file:/home/chris/DiaSemi/SmartSnippetsStudio2.0.16/CDT/
SmartSnippets Studio installation path:/home/chris/DiaSemi/SmartSnippetsStudio2.0.16
工作室配置xml解析器:/home/chris/DA1468x_DA15xxx_SDK_1.0.14.1081/config/studio_config.xml
Studio config xml parser:/home/chris/DA1468x_DA15xxx_SDK_1.0.14.1081/config/SDK_config.xml
Found /home/chris/Ozone_Linux_V322b_x86_64/Ozone
Found /home/chris/SEGGER/JLink_6.40/JLinkGDBServer
Found /home/chris/SEGGER/JLink_6.12i/JLinkGDBServer
Found /home/chris/DiaSemi/SmartSnippetsStudio2.0.16/GCC/4_9-2015q3/bin/arm-none-eabi-gcc
Found /home/chris/SystemView_Linux_V330_x86_64/SystemView
Found /home/chris/Ozone_Linux_V322b_x86_64/Ozone
Found /home/chris/SEGGER/JLink_6.12i/JLinkGDBServer
Found /home/chris/SystemView_Linux_V330_x86_64/SystemView
Found /home/chris/Ozone_Linux_V322b_x86_64/Ozone
Found /home/chris/SEGGER/JLink_6.12i/JLinkGDBServer
Found /home/chris/SystemView_Linux_V330_x86_64/SystemView
SmartSnippets studio prompted me to install the ARM tools on first start up which I did and the startup script indicates it's found them.
This was asked before here:https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-b…
But the solution was not publicly stated.
任何帮助将不胜感激。
Best regards,
2 months ago
Hi PM_Dialog,
Thanks for your response.
Using SSS v1.6.3 I was able to build the example project.
It might be worth making it more clear on the DA1468x product page that v1.6.3 is the preferred version.
Both versions are listed under "Development Tools" and the document "UM-B-056 DA1468x Software Developers Guide" simply refers to "SmartSnippets™ Studio" in the prerequisites without specifying a version.
Furthermore the document "UM-B-057 User Manual SmartSnippets™ Studio" only refers to SSS v2.0.16.
I would like to highlight the feedback in this thread://www.xmece.com/forums/post/dialog-smartbond-bluet…
Best regards,
C
2 months ago
Hi cricke,
Glad that you are able to build the project. Apologies for the confusing but according to the release notes, the SSS 2.0.16 support the DA1468x product family as well.
//www.xmece.com/sites/default/files/2021-02/SmartSnippets_Studio_Release_Notes.pdf
I am using the ble_usbhid_dongle SDK1 example, but I am not able to replicate this. Can you please try to re-install the SSS 2.0.16 and give a try?
Please make sure that the .metadata folder is deleted from the workspace directory. See also the attached screenshot and check that the correct toolchain has been selected.
Thanks, PM_Dialog
Attachment | Size |
---|---|
SSS_2_0_16.zip | 53.72 KB |
2 months ago
Hi PM_Dialog,
Thanks for looking into replicating the issue.
I currently don't have time to mess with SSS installations and will just stick with v1.6.3; unless there is any great benefit to using v2?
What is Dialog's stance on adding official Makefile support to the SDK?
It would provide much more flexibility to developers at seemingly small cost to yourselves.
They could be formulated similarly to this one that is used in a project based on the DA14681-00 (I've not yet tested this Makefile).
https://github.com/mxc-foundation/node-prod-firmware/blob/master/Makefi…
Best regards,
C
2 months ago
Hi cricke,
Thanks for your question online. Since you are using DA1468x product family and SDK1, the recommended version for the SmartSnippets Studio is version 1.6.3. You will find this version in the DA1468x product page under the “Development Tools” section:
//www.xmece.com/products/bluetooth-low-energy/da14682-and-da14683#tab-field_tab_content_resources
Could you please give a try with SSS v1.6.3?
Thanks, PM_Dialog