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
Build failure when building for LPC11U35_401 with ARMC6 #15
Comments
thanks for the report. @RonEld Can you send a patch to Mbed OS fixing this us ticker? |
@0xc0170
Shouldn't this be done best by the partner? |
This should be OK to do without target testing as long as build is all good for this target. For the 1st, we would need target testing.. However if us ticker was ported and we introduced this new define few months back, I dont see a reason why not add it - is the target usable without us ticker? It's not. |
cc @toyowata would you be able to test us ticker for this platform? |
I just quick test for this platform. My test branch is here: I did...
I still got link erros, so I changed:
Now, I got no link errors. Then, I copied the mbed-os-example-blinky-baremetal binary to the target and got runtime error below:
Note that The LPC11U35_401 is Mbed 2 only target. There should be done proper porting/testing for Mbed OS 5 even baremetal profile? |
baremetal should equal to mbed 2 (at least if we are concerned here about ARM toolchain). It should work. Thanks for testing,the target is broken and no longer builds :/ |
Not even regular test builds? This might move to Mbed OS and should be fixed. |
@toyowata Thanks for testing. |
I removed the
By adding "5" in the |
@toyowata How shall we fix this issue? using your test branch and integrate it via PR to Mbed OS? |
Internal Jira reference: https://jira.arm.com/browse/IOTCORE-1419 |
Building the example for LPC11U35_401 with toolchain ARMC6 results in the following build error:
I believe the
Undefined symbol _scanf_mbtowc
error has been fixed in ARMmbed/mbed-os#10704 and thembed-os.lib
requires updating to latest versoin, once next Mbed OS release is published.I believe error
Undefined symbol us_ticker_irq_handler
is because the targets.json doesn't have deviceUS_TICKER
forLPC11U35_401
. To resolve this, either addUS_TICKER
DEVICE in ``targets.jsonor add
#if DEVICE_USTICKER` in the targets' us_ticker.c fileNote that same errors happen with
ARM
toolchain which is mentioned as supported toolchainThis was reported in the forum
The text was updated successfully, but these errors were encountered: