I have worked around this issue by fixing this up in the _compiler_reload macro in the toolchain_IARARM.cmake file.
Currently I can use the IAR toolchain to build musca_a, an519, an521, sse-200_aws, lpcxpresso55s69.
I get some linking issues with psoc64 and I've never ported musca_b1 or musca_s1 due to a lack of hardware for testing/debugging.
I don' see any work having been done for the an524 and I didn't bother with an539 as that appears deprecated.
Thomas
Den 2020-08-25 kl. 13:39, skrev Thomas Törnblom:
I've started looking at the new build system, and it looks like a nice improvement.
I have a problem, that likely has a simple solution, although I'm not sure which.
I've looked at the AN521 target, and the preload.cmake file is included very early from the root CMakeLists.txt
The first line of preload.cmake is:
set(CMAKE_SYSTEM_PROCESSOR cortex-m33+nodsp)
For IAR that line should be:
set(CMAKE_SYSTEM_PROCESSOR Cortex-M33.no_dsp)
I need to discriminate between the toolchains already there, but I haven't figured out what the best way would be to do that. Not much is setup at this moment in the run.
Ideas?
Thomas
--
*Thomas Törnblom*, /Product Engineer/ IAR Systems AB Box 23051, Strandbodgatan 1 SE-750 23 Uppsala, SWEDEN Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01 E-mail: thomas.tornblom@iar.com mailto:thomas.tornblom@iar.com Website: www.iar.com http://www.iar.com Twitter: www.twitter.com/iarsystems http://www.twitter.com/iarsystems