5 years, 7 months ago.

Getting a project for Silicon labs EFM32GG11B420F2048GL120

Hi, I am trying to create an mbed OS project with the chip i mentioned in the title (EFM32GG11B420F2048GL120). I am not being able to compile the project with the EFM32GG_STK3700 target. I have the latest version of GNU ARM and mbed-cli of version 1.7.5. I have set the path for the GCC_ARM_PATH and tool chain to GCC_ARM. I still can't compile the blinky example. mbed compile gives me the following error message:

WARNING: MBED_ARM_PATH set as environment variable but doesn't exist
WARNING: MBED_GCC_ARM_PATH set as environment variable but doesn't exist
usage: make.py [-h] [-m MCU] [-t TOOLCHAIN] [--color] [--cflags CFLAGS]
               [--asmflags ASMFLAGS] [--ldflags LDFLAGS] [-c]
               [--profile PROFILE] [--app-config APP_CONFIG] [-p PROGRAM]
               [-n PROGRAM] [-j JOBS] [-v] [--silent] [-D MACROS]
               [-S [{matrix,toolchains,targets}]] [-f GENERAL_FILTER_REGEX]
               [--stats-depth STATS_DEPTH] [--automated] [--host HOST_TEST]
               [--extra EXTRA] [--peripherals PERIPHERALS]
               [--dep DEPENDENCIES] [--source SOURCE_DIR]
               [--duration DURATION] [--build BUILD_DIR] [-N ARTIFACT_NAME]
               [-d DISK] [-s SERIAL] [-b BAUD] [-L] [--rpc] [--usb] [--dsp]
               [--testlib] [--build-data BUILD_DATA] [-l LINKER_SCRIPT]
make.py: error: Could not find executable for GCC_ARM.
Currently set search path: No path set
[mbed] ERROR: "c:\python27\python.exe" returned error.
       Code: 2
       Path: "C:\Users\SumanLahal\Desktop\try\mbed_blinky"
       Command: "c:\python27\python.exe -u C:\Users\SumanLahal\Desktop\try\mbed_blinky\.temp\tools\make.py -t GCC_ARM -m EFM32GG_STK3700 --source . --build .\BUILD\EFM32GG_STK3700\GCC_ARM"
       Tip: You could retry the last command with "-v" flag for verbose output
---

Could anyone please help how can i create a project for this chip? Has anyone tried with it? I appreciate your help.

Br, Suman

1 Answer

5 years, 7 months ago.

Hi Suman,

It looks like you have not set your GCC_ARM path correctly. On my Windows 10 computer I use the following command to set my GCC_ARM path with Mbed CLI: mbed config -G GCC_ARM_PATH "C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin"

Please make sure you are using the path to the root "bin" folder within your GCC_ARM installation directory for your GCC_ARM_PATH. More information about setting your toolchain directories can be viewed here: https://github.com/armmbed/mbed-cli#through-mbed-cli-configuration

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!