Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mbed OS in Ubuntu 18.04 compiling the profram is giving me the following errors #976

Open
koushikbhat opened this issue Jun 19, 2020 · 2 comments

Comments

@koushikbhat
Copy link

[mbed] Working path "/home/koushik/lifecycletest_v2" (program)
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]
[--ignore IGNORE] [-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: "/usr/bin/python3" returned error.
Code: 2
Path: "/home/koushik/lifecycletest_v2"
Command: "/usr/bin/python3 -u /home/koushik/lifecycletest_v2/mbed-os/tools/make.py -t GCC_ARM -m LPC1768 --source . --build ./BUILD/LPC1768/GCC_ARM"

@ciarmcom
Copy link
Member

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers.
Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-743

@rwalton-arm
Copy link
Contributor

rwalton-arm commented Jun 25, 2020

Have you set the GCC_ARM_PATH using mbed config -G GCC_ARM_PATH path/to/gcc-arm-none-eabi-9-2019-q4-major/bin replacing path/to with the path to where the gcc compiler folder is located? For example, if I installed it to /usr/bin I would set the path to mbed config -G GCC_ARM_PATH /usr/bin/gcc-arm-none-eabi-9-2019-q4-major/bin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants