Commit Graph

20 Commits (feature-cmake-object-libraries)

Author SHA1 Message Date
Martin Kojtal d56af904d7 CMake: rename -obj to -objects libraries
Easier to understand
2021-03-15 10:05:58 +00:00
Martin Kojtal 1850c03d5e CMake cmsis: revert object for cmsis-cortex-x libs
These are part of cmsis + core, they only extend them thus reverting the change back to
INTERFACE lib.
2021-03-15 10:05:57 +00:00
Martin Kojtal 3d14be1341 CMake cmsis: remove unused linking 2021-03-15 10:05:57 +00:00
Martin Kojtal b0b242eba0 CMake: remove util function, link object libs regularly 2021-03-15 10:05:55 +00:00
Martin Kojtal 6b18cb3923 CMake cmsis: use util function 2021-03-15 10:05:48 +00:00
Martin Kojtal 11cd2820b2 CMake: hit object library cyclic deps error 2021-03-15 10:05:47 +00:00
Martin Kojtal f0d67431ff CMake: fix deps on other libraries 2021-03-15 10:05:45 +00:00
Martin Kojtal 494d0c0711 CMake: turn mbed-core into interface + obj libraries 2021-03-15 10:05:43 +00:00
Martin Kojtal 88a242f749
Merge pull request #14306 from hugueskamba/hk_cmake_create_cmsis_cortex_libs
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
2021-02-23 08:36:49 +00:00
Hugues Kamba 2c3481297c CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 13:39:32 +00:00
Martin Kojtal 85c2d7a25c CMake: remove IAR references as they are not supported 2021-02-17 09:19:03 +00:00
Martin Kojtal 09e0ffda6e CMake rtos: add M55 to irq handlers, use m33 handlers = the same 2021-01-29 14:23:01 +00:00
Rajkumar Kanagaraj e7c0d93ad4 CMake: add mbed-os and mbed-baremetal targets
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core

The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.

This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj d2be577b01 CMake: split rtos from core target
Add or remove and directories containing source files, header files, and macro definitions that implement RTOS support.
This includes:
- cmsis/CMSIS_5/CMSIS/RTOS2/
- cmsis/device/rtos/
- rtos/source/ConditionVariable.cpp
- rtos/source/Thread.cpp
2020-11-06 17:25:22 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj 8016a53400 CMake: replace usage of the mbed_add_cmake_directory_if_labels() function (#13754)
Directories that start with special prefixes (TARGET_, FEATURE_, COMPONENT_)  are added to the build based on Mbed target configuration from targets.json instead of calling utility function mbed_add_cmake_directory_if_labels().
2020-11-06 17:25:21 +00:00
Hugues Kamba 0e257b0730 CMake: Fix location of M33 exception handler source file 2020-11-06 17:25:21 +00:00
Hugues Kamba a0fbe2947a CMake: Fix build failure due to CMSIS restructure 2020-11-06 17:25:20 +00:00
Martin Kojtal 0bb4ff04c6 cmsis: remove math header file
It was removed in 6.0 (see reference below), and it was reintroduced when we updated
cmsis from the upstream. We missed to remove the commit adding the file in the cmsis
importer. This fixes it and the file should not be introduced again.

Fixes #13823

Already removed in 6.0: https://github.com/ARMmbed/mbed-os/pull/12055
2020-11-02 10:23:45 +00:00
Hugues Kamba 834e530abd CMSIS: Restructure ported CMSIS_5
See docs/adr/0001_cmsis_component_source_structure_recommendations.md
For details information.
2020-09-01 15:55:13 +01:00