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

Problems with LPCXpresso export #1655

Closed
janjongboom opened this issue Apr 6, 2016 · 5 comments
Closed

Problems with LPCXpresso export #1655

janjongboom opened this issue Apr 6, 2016 · 5 comments

Comments

@janjongboom
Copy link
Contributor

https://developer.mbed.org/questions/68593/Offline-toolchains-CodeRed-versus-LPCXpr/

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 13, 2016

I am not much familiar with lpcxpresso project. We should have a quick look why it fails to compile. @janjongboom want to help with this one?

@JojoS62
Copy link
Contributor

JojoS62 commented Apr 13, 2016

I've tried also to export a LPC1768 project to LPCXpresso and it works fine. The code in the issue from R. Plant shows a linker error with undefined 'fprintf'. I find this only in older mbed versions in api/error.h, so I guess that the project just needs a mbed lib update. Or the project uses an (obsolete?) define for DEVICE_STDIO_MESSAGES.
old error.h:
#if DEVICE_STDIO_MESSAGES #include <stdio.h> #define error(...) (fprintf(stderr, __VA_ARGS__), exit(1)) #else #define error(...) (exit(1)) #endif

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 14, 2016

@JojoS62 Thanks for sharing. I'll ask for the mbed lib version

@ciarmcom
Copy link
Member

ciarmcom commented Aug 1, 2016

ARM Internal Ref: IOTMORF-208

@sg- sg- removed the mirrored label Aug 12, 2016
@sg-
Copy link
Contributor

sg- commented Jan 16, 2017

Confirmed to be resolved

@sg- sg- closed this as completed Jan 16, 2017
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

5 participants