Closed teetak01 closed 8 years ago
$ env | grep GCC GCC_ARM_PATH=/usr/bin/arm-none-eabi-gcc
$ which arm-none-eabi-gcc /usr/bin/arm-none-eabi-gcc
$ arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977] Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
My file-structure: home/teetak01/dev/mbed-cli Trying to import to dev/ => The mbed-os codebase and tools were not found.
Import to => home/teetak01/Morpheus-client/ => Clones all repos and builds.
Is this working correctly? Why I cannot have both mbed-cli and the module under /home/teetak01/dev ?
The build folder is hidden for some reason. Probably should be visible.
Hi @teetak01, are you trying to build mbed Client without mbed OS?
Nope, only observed really strange problems while I was trying to build mbed Client for K64F for the first time. Is there some limitations on the directory structures with morpheus?
For clarification, I did get it to build and running on K64F just fine.
@teetak01 do you still experience this issue? Can you update to the latest mbed CLI and re-test?
updated mbed-cli but still having very strange problem with one folder. I can build under $HOME/morpheus-dev/ but not under $HOME/dev/ ??? Is there something in the /dev/ folder that is causing conflicts with mbed-cli?
teetak01@machine:~/morpheus-dev/mbed-Client-Morpheus-from-source$ mbed compile -t GCC_ARM -m K64F -j 0 -v
[mbed] Working path "/home/teetak01/morpheus-dev/mbed-Client-Morpheus-from-source" (program)
[mbed] Exec "python /home/teetak01/morpheus-dev/mbed-Client-Morpheus-from-source/mbed-os/tools/make.py -D TARGET_LIKE_MBED -t GCC_ARM -m K64F --source . --build ./.build/K64F/GCC_ARM -v -j 0"" in /home/teetak01/morpheus-dev/mbed-Client-Morpheus-from-source
Building project mbed-Client-Morpheus-from-source (K64F, GCC_ARM)
Image: ./.build/K64F/GCC_ARM/mbed-Client-Morpheus-from-source.bin
teetak01@machine:~/morpheus-dev/mbed-Client-Morpheus-from-source$
teetak01@machine:~/dev$ cp -r ../morpheus-dev/mbed-Client-Morpheus-from-source/ .
teetak01@machine:~/dev$ cd mbed-Client-Morpheus-from-source/
teetak01@machine:~/dev/mbed-Client-Morpheus-from-source$ mbed compile -t GCC_ARM -m K64F -j 0 -v
[mbed] Working path "/home/teetak01/dev/mbed-Client-Morpheus-from-source" (library)
[mbed ERROR] The mbed OS codebase or tools were not found in "/home/teetak01/dev".
---
My mbed-cli resides in $HOME/dev/mbed-cli. All my yotta-stuff is also under $HOME/dev/
Is there possibility to get more debug out of mbed-cli? Yotta had the -vvv.
This is not affecting my development, but very strange issue which I would like to understand.
New laptop, running natively Ubuntu 14.04, no previous Neo/Moprheus components on this
Just cloned ´mbed-cli´ to root of $HOME (sudo python setup.py install)
Cloned my program to root of $HOME Tried to build with morpheus, claims that mbed tools were not found
Made a new folder under $HOME, cloned my program under it => Now mbed tools work.
Very strange behavior. Is there something in the build-scripts that it cannot handle same root folder for ´mbed-cli´ and the program you are building? Cannot really figure out what I could be doing wrong.
Debugged this with @screamerbg . The issue was an broken .git repo in my $HOME/dev/ folder.
Another issue I hade (on the other laptop) was that I was expecting (in yotta-way) that when I try to build a program, it will automatically also download all required components. Instead it checked if it can find any mbed-os components, it did not, and gave a fail.
Thanks for help, I'll leave this open, but you can close this if you have no follow-up questions.
Thanks for the time and the feedback @teetak01.
Following the README, was doing this:
mbed import https://developer.mbed.org/teams/Morpheus/code/mbed-Client-Morpheus-from-source/ cd mbed-Client-Morpheus-from-source
teetak01@machine:~/dev/mbed-cli/mbed-Client-Morpheus-from-source (master)$ mbed compile -t GCC_ARM -m K64F -j 0
[mbed ERROR] The mbed-os codebase and tools were not found.
README does not mention anything that I should install something else still?
Using Ubuntu 14.04 on virtualbox.