Martin Kojtal
1c429acb4e
Mergify: remove stale label when PR is merged
2021-02-22 15:54:02 +00:00
Martin Kojtal
3bb8de6ea3
Merge pull request #14308 from hugueskamba/hk_cmake_create_flash_cmsis_algo
...
Create FLASH CMSIS ALGO target to remove dependency on MBED_TARGET_LABELS
2021-02-22 14:36:44 +00:00
Martin Kojtal
29cfcd6d5f
Merge pull request #14307 from hugueskamba/hk_cmake_fix_nuvoton_targets
...
CMake: Fix some NUVOTON build
2021-02-22 12:12:18 +00:00
Hugues Kamba
c45e6ce13f
Remove usage of MBED_TARGET_LABELS in hal/ tests
...
This removes some dependency on targets.json
2021-02-19 19:15:47 +00:00
Hugues Kamba
7d49d4bce1
Create FLASH CMSIS ALGO target 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 16:56:37 +00:00
Hugues Kamba
a3a36ccb92
CMake: Fix some NUVOTON build
...
Correct source file listings for M251, M261.
Also remove unused input source files.
2021-02-19 16:48:32 +00:00
mbedmain
26606218ad
Update Mbed version block
2021-02-16 16:01:39 +00:00
Martin Kojtal
8bdc626ba7
Merge pull request #14286 from 0xc0170/cmake-fix-remove-target-workaround
...
CMake: remove workaround for targets prior refactor
2021-02-16 14:28:26 +00:00
Martin Kojtal
3894d73680
Merge pull request #14289 from hugueskamba/hk_cmake_refactor_cypress
...
CMake: Refactor Cypress targets
2021-02-16 13:43:35 +00:00
Hugues Kamba
68b6e6ff96
Fix post build mechanism with unique CMake custom targets
...
The CMake custom target must be unique to avoid more than one
Mbed target adding the same. Only the CMake custom command added for the
Mbed target being built is run as the custom CMake target now includes
the Mbed target name.
2021-02-15 17:39:27 +00:00
Hugues Kamba
ea6955bd1c
CMake: Refactor Cypress targets
...
Refactor all Cypress targets to be CMake buildsystem targets. This removes
the need for checking MBED_TARGET_LABELS repeatedly and allows us to be
more flexible in the way we include MBED_TARGET source in the build.
A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using target_link_libraries its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-15 17:20:23 +00:00
Martin Kojtal
8ba88427cd
Merge pull request #14284 from 0xc0170/cmake-refactor-arm-ssg
...
CMake Arm SSG: refactor CMake targets
2021-02-15 15:27:07 +00:00
Martin Kojtal
1dd411268b
Merge pull request #14030 from arduino/i2c_stm32_wrong_clock
...
STM32H7: Compute I2C timing according current I2C clock source
2021-02-15 14:38:11 +00:00
Martin Kojtal
266e5f8c81
Merge pull request #14275 from rwalton-arm/dev/rwalton-arm/fix-more-st-targets
...
Fix ST targets naming and linker script issues
2021-02-15 14:34:36 +00:00
Martin Kojtal
9d70cb2a56
CMake: remove workaround for targets prior refactor
...
As we refactored all targets, we can remove this workaround from the tree.
2021-02-15 14:11:09 +00:00
Robert Walton
fd63d33521
CMake: Fix STM32G0 target
2021-02-15 11:16:49 +00:00
Robert Walton
0c7bfe93e3
CMake: Generate response file before adding mbed-targets
...
We need to generate a "response file" to pass to the C preprocessor
when we preprocess the linker script, because of path length limitations
on Windows. We set the response file and bind the path to a global
property. The MBED_TARGET being built queries this global property when
it sets the linker script.
We must set this global property before the targets subdirectory is
added to the project. This is required because the MBED_TARGET depends
on the response file. If the path to the response file is not defined
when the target requests it the config definitions will not be passed
to CPP.
2021-02-15 11:12:18 +00:00
Robert Walton
91db89143e
Fix FF1705_L151CC target
2021-02-15 11:06:43 +00:00
Robert Walton
ed4027edf0
Fix STM32F103xB target
2021-02-15 11:06:43 +00:00
Robert Walton
c82c897e2b
Fix STM32F072xB target
2021-02-15 11:06:43 +00:00
Robert Walton
f2f927ebac
Fix NUCLEO_H743ZI2 target
2021-02-15 11:05:07 +00:00
Robert Walton
f6302dc108
Fix NUCLEO_L496ZG_P target
2021-02-15 11:05:07 +00:00
Robert Walton
956a8790c1
Fix DISCO_L4R9I target
2021-02-15 11:05:07 +00:00
Martin Kojtal
4c581120c5
Merge pull request #14270 from 0xc0170/cmake-refactor-maxim
...
CMake Maxim: fix targets naming
2021-02-15 11:04:18 +00:00
Martin Kojtal
fa62e80958
Merge pull request #14249 from jeromecoutant/PR_STM32WL_LORA
...
STM32WL : add LoRa support
2021-02-15 11:04:00 +00:00
Martin Kojtal
24c9d2458b
Merge pull request #14246 from 0xc0170/cmake-refactor-arm-fm
...
ARM FM: refactor CMake targets
2021-02-15 11:02:11 +00:00
Martin Kojtal
7647a2c623
Merge pull request #14244 from 0xc0170/cmake-refactor-analog-devices
...
Analog Devices: refactor CMake targets
2021-02-15 11:00:09 +00:00
Martin Kojtal
0adb917dab
CMake Arm SSG: refactor CMake targets
...
Create CMake target per each Mbed OS target.
2021-02-15 10:39:30 +00:00
Martin Kojtal
da34eecaf6
Merge pull request #14247 from rajkan01/refactor_greentea_cmakelist
...
CMake: Refactor Greentea test CMakeLists.txt
2021-02-15 10:28:32 +00:00
Martin Kojtal
34627b7d53
Merge pull request #14280 from hugueskamba/hk_cmake_refactor_wiced
...
CMake: Refactor WIO_EMW3166 support
2021-02-15 10:28:12 +00:00
Martin Kojtal
1516c57bf8
ARM FM CMake: fix CMakeLists names
2021-02-15 09:23:54 +00:00
Martin Kojtal
a922ed18a5
Analog Devices: fix CMakeLists names
2021-02-15 09:17:50 +00:00
Martin Kojtal
94f3c7b89b
Maxim CMake: fix sources for max32630fthr
2021-02-15 08:58:39 +00:00
Martin Kojtal
bc6679ebd6
Wiced: remove empty spaces
2021-02-15 08:49:44 +00:00
Martin Kojtal
c153880941
Merge pull request #14281 from harmut01/refactor-gigadevice
...
CMake: refactor GigaDevice targets
2021-02-15 08:48:12 +00:00
Martin Kojtal
5e094fe040
Merge pull request #14245 from jeromecoutant/PR_WL
...
STM32WL: I2C and ADC full support
2021-02-15 08:46:13 +00:00
Martin Kojtal
98659cfb78
Merge pull request #14282 from hugueskamba/hk_cmake_refactor_nuvoton
...
CMake: Refactor Nuvoton targets
2021-02-15 08:44:35 +00:00
jeromecoutant
81a44fc9ae
STM32WL: use correct include path
2021-02-15 08:54:06 +01:00
Martin Kojtal
51a6754e22
WicedInterface: fix styling
2021-02-14 20:00:25 +00:00
Martin Kojtal
64d4a7a58a
CMake Analog devices: fix linking to the main family target
2021-02-14 19:48:16 +00:00
Martin Kojtal
950baa2fe6
CMake fvp mps2: fix linking to arm-fm
2021-02-14 19:44:28 +00:00
Martin Kojtal
26d7b4d9d5
CMake Arm FM: fix linking libraries with arm-fm
...
Co-authored-by: Hugues Kamba-Mpiana <41612201+hugueskamba@users.noreply.github.com>
2021-02-14 19:43:39 +00:00
Martin Kojtal
2f09d7c057
Update WicedInterface.h
...
Fix the styling error
2021-02-14 19:35:37 +00:00
Martin Kojtal
e6bd22d68d
Update targets/TARGET_GigaDevice/TARGET_GD32F4XX/CMakeLists.txt
...
Co-authored-by: Hugues Kamba-Mpiana <41612201+hugueskamba@users.noreply.github.com>
2021-02-14 19:30:02 +00:00
Martin Kojtal
b446238441
CMake GigaDevice: fix exclude all for targets
...
Co-authored-by: Hugues Kamba-Mpiana <41612201+hugueskamba@users.noreply.github.com>
2021-02-14 19:28:06 +00:00
Martin Kojtal
ff307188b7
Merge pull request #14277 from hugueskamba/hk_fix_apollo3_heap_stack_location
...
Apollo3: Fix run time error due to memory mapping
2021-02-14 19:24:43 +00:00
Martin Kojtal
3ef03538f2
Merge pull request #14276 from harmut01/refactor_samsung
...
CMake: refactor Samsung targets
2021-02-14 19:24:25 +00:00
Martin Kojtal
ba1e7b53d0
Merge pull request #14272 from ladislas/ladislas/feature/cmake-current-binary-dir
...
Change CMAKE_BINARY_DIR to CMAKE_CURRENT_BINARY_DIR
2021-02-14 19:23:46 +00:00
Martin Kojtal
8321943ec8
Merge pull request #14235 from hugueskamba/hk_post_build_op
...
CMake: Add post build operation support
2021-02-14 19:23:19 +00:00
Martin Kojtal
9d6a60c7c5
Merge pull request #14279 from hugueskamba/hk_cmake_refactor_silabs
...
CMake: Refactor Silicon Laboratories targets
2021-02-14 19:22:05 +00:00