8 years, 8 months ago.

Code Red Tool chain support

Hi,

Is Code Red Tool chain support included in mbed3.0 alpha 3 release? If not available, is there a plan to include the support?

Regards, Giri

Question relating to:

mbed OS Alpha3 Partners

1 Answer

8 years, 8 months ago.

Hello,

We use yotta as "build tool". You can find more information https://github.com/ARMmbed/yotta. Check docs available at http://docs.yottabuild.org/

Are you asking about toolchain which is part of lpcxpresso (used to be code red) https://www.lpcware.com/lpcxpresso/home ?

Hi,

Yes. We want to know whether LPCXpresso tool chain supported or not.

Regards, Giri

posted by Bangaragiri G 17 Aug 2015

I haven't used LPCXpresso toolchain, but it should build, because:

Here's a snippet from one gcc target toolchain cmakefile:

# find the compiler and associated tools that we need:
find_program(ARM_NONE_EABI_GCC arm-none-eabi-gcc)
find_program(ARM_NONE_EABI_GPP arm-none-eabi-g++)
find_program(ARM_NONE_EABI_OBJCOPY arm-none-eabi-objcopy)

You can find it here https://github.com/ARMmbed/target-mbed-gcc

A note, We are still talking only building an app/library, no debugging/exporting project files.

posted by Martin Kojtal 17 Aug 2015

Hi,

We tried to compile alpha3 release using LPCXpresso tool chain. But we are getting the folllowing error.

otta_modules/cmsis-core-nxp-jn517x/cmsis-core-nxp-jn517x -IC:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/source -include "C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/build/nxpdk5-jn517x-gcc /yotta_config.h" -o source/CMakeFiles/mbed.dir/C_/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/source/SerialBase.cpp.obj -c C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/source/SerialBase.cpp In file included from C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/mbed/platform.h:26:0, from C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/mbed/SerialBase.h:19, from C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/source/SerialBase.cpp:16: c:\lpcxpresso_7.8.0_426\lpcxpresso\tools\arm-none-eabi\include\c++\4.9.3\cstdlib: In function 'long long int std::abs(long long int)': c:\lpcxpresso_7.8.0_426\lpcxpresso\tools\arm-none-eabi\include\c++\4.9.3\cstdlib:174:20: error: conflicting declaration of C function 'long long int std::abs(long long int)' abs(long long x) { return builtin_llabs (x); } ^ c:\lpcxpresso_7.8.0_426\lpcxpresso\tools\arm-none-eabi\include\c++\4.9.3\cstdlib:166:3: note: previous declaration 'long int std::abs(long int)' abs(long i) { return builtin_labs(i); } ^ In file included from C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/source/SerialBase.cpp:17:0: C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/mbed/wait_api.h: At global scope: C:/mbed/mbedOS-alpha3-release/libraries/mbed-sdk/mbed/wait_api.h:63:1: error: expected '}' at end of input }

Any pointers on where to look to fix the compilation issue?

Regards, Giri

posted by Bangaragiri G 03 Sep 2015