6 months ago.
Keil Compile issue After CLI export
I am trying to use mbed cli to export the example "mbed-os-example-blinky“ to uvision project， All the step (import, compile, export) are ok on my side.
But when I compile the uvision project, I encountered the below error: "Fatal error: C3907U: Via file '.\build\6lowpan_iphc.i' command too long for buffer."
mbed os version is 5.11
It seems the project include too many path and the -I parameter is too long, but I don't how to resolve.
5 months, 3 weeks ago.
We are able to build projects exported to Keil MDK / uVsion just fine:
... compiling ac_stream.c... compiling 6lowpan_iphc.c... compiling aes_mbedtls_adapter.c... compiling address.c... ...
You are using a very old version of uVision and we suspect that's the source of the problem.
Could you upgrade to something newer? They are now on release v5.26.
Ralph, Team Mbed
4 months, 3 weeks ago.
My team have encountered this exact same issue and it was resolved by switching to Python 2.7 rather than 3.x for the mbed scripts. Performing the export using 3.x always fails, with 2.7 there is no problem.
You need to log in to post a question