Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 3 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:
1 Answer
9 years, 3 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 17 Aug 2015I 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 17 Aug 2015Hi,
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 03 Sep 2015