project-generator / project_generator

Project generators for various embedded tools (IDE). IAR, uVision, Makefile, CoIDE, Eclipse and many more in the roadmap!
Apache License 2.0
272 stars 95 forks source link

Add ARMC6 support for uvision/uvision5 #504

Closed mbrossard closed 1 year ago

mbrossard commented 1 year ago

Fixes #447

The handling of scatter files is still complicated because you need to replace

#! armcc -E

by something like:

#! armclang --target=arm-arm-none-eabi -march=armv7-m -E -x c

Meaning you need two otherwise identical scatter files to support uvision with ARMC5 and ARMC6 (and a third one if you want to support make_armclang).

0xc0170 commented 1 year ago

Hi, sorry for the delay, reviewing everything now

mathias-arm commented 1 year ago

As added information, for DAPLink, this is the kind of changes I did to support uvision_armc6: