Hugues Kamba
53cc382a96
CMake: Fix Cortex-M33-NS and Cortex-M33 ASM flags
...
The ASM flags were not supported by armclang, use the armclang alternatives.
Removed armlink --cpu flag as they generate a CMake configuration
time error. Furthermore, it is not necessary to specify the
processor or architecture as the linker auto-detects it from
the input object files.
See: https://developer.arm.com/documentation/101754/0615/armlink-Reference/armlink-Command-line-Options/--cpu-name--armlink-
2021-01-18 17:50:15 +00:00
Hugues Kamba
ea6661caf3
CMake: Fix GCC_ARM Cortex-M33 and Cortex-M33-NS support
...
Add missing toolchain option to specify the CPU core
2020-12-10 11:29:07 +00:00
Jamie Smith
36288029c1
Fix some formatting issues.
2020-12-08 02:28:50 -08:00
Jamie Smith
78be77ee5a
Change toolchain file to load core and toolchain options *before* compilers are loaded.
2020-12-03 10:57:23 -08:00
Hugues Kamba
46c35965c5
CMake: Create separate function to set MCU core compile defintions
...
The new function (mbed_set_cpu_core_definitions()) should always be
called as it has defintions needed by Mbed OS to work with that
particular MCU core.
mbed_set_cpu_core_options() should only be called if a third-party
toolchain file has not been used as it has compile options that can
cause conflicts.
2020-11-06 17:25:23 +00:00
Rajkumar Kanagaraj
7171f62489
Replace PUBLIC to INTERFACE keyword
2020-11-06 17:25:22 +00:00
Hugues Kamba
cac1b25465
CMake: Move modules under tools subdirectory
2020-11-06 17:25:21 +00:00