8 years, 5 months ago.

Debugging a new yotta build target

Hello,

I built and run a simple hello-world application natively on Linux as per http://yottadocs.mbed.com/tutorial/tutorial.html#Creating%20an%20Executable. Now, I need to create a new yotta build configuration to build for ARM Cortex-M3 using the arm-uclinuxeabi toolchain.

I understand the manual about creating the new yotta target here http://yottadocs.mbed.com/tutorial/targets.html. However, how would I debug the build configuration? I mean, how would I see the actual invocation of the compiler/linker and the respective -march, -mtune etc collected by yotta from the target description? Adding -vvv to "yotta build" doesn't seem help.

Also, I see here https://docs.mbed.com/docs/mbed-client-guide/en/latest/porting-guide/#porting-mbed-client-to-different-platform that I need to "Contact support@mbed.org, to request for new development repositories for your target platform.". Please clarify on that requirement and could I develop for my new platform without such request.

Thanks in advance.

Regards, Sergei

Hello - best to ask this on forums.mbed.com

posted by Sam Grove 03 Dec 2015

Thanks. Finally found it out: <<yt build -- -v>>. Funny enough it was in <<yt build --help>> output and never mentioned throughout yotta documentation. -S

posted by Sergei Poselenov 06 Dec 2015
Be the first to answer this question.