Closed maxpeng closed 8 years ago
ARM Internal Ref: IOTCLT-724
Hi @maxpeng . Thank you for reporting this. As an immediate fix to this, you can change one line in target module:
yotta_targets/frdm-k64f-gcc/target.json
There change the "kinetis-k64-gcc": "^2.0.0"
line to this=> "kinetis-k64-gcc": "2.0.2"
After that you should be able to build the example. Apologies for this. The issue will be resolved promptly.
With the change as you described, I am able to build the example.
But I don't know why the change had been reverted for kiletis-k64f-gcc v2.1.0, please see Merge pull request #5 from ARMmbed/fix_non_contingent_ram .
Fix is now in yotta. Yotta update should be enough. If not rm -rf yotta_targets
and yt clean
.
Fix version 2.2.0
@maxpeng Let me know if you still have any issues.
Hi Teetak01, no problem now, thanks!
Sorry, I have one question about the fix.
Target frdm-k64f-gcc inherits kinetics-64f-gcc, I thought frdm-k64f-gcc/ld/K64FN1M0xxx12.ld would override kinetics-64f-gcc/ld/K64FN1M0xxx12.ld, why does the fix update kinetics-64f-gcc/ld/K64FN1M0xxx12.ld instead of frdm-k64f-gcc/ld/K64FN1M0xxx12.ld?
When will the linker use frdm-k64f-gcc/ld/K64FN1M0xxx12.ld?
Hi @maxpeng that is a good question. I could not figure out if it is ever used. In fact, I opened a ticket on that for the target to check if there is something missing.
Hi @teetak01, thanks!
I could not build this example with arm gcc (5_3_2016q1 release) on Windows, it failed with following error: