Commit Graph

32336 Commits (0460a85ddd57c76c6b26d75f679483a4626f64fb)

Author SHA1 Message Date
Martin Kojtal 9607ceaebf
Merge pull request #13975 from adbridge/eventq
Update EventQueue API to use chrono times
2021-02-08 12:44:39 +00:00
reme 6220ca5fd5 STM32WL : ADDING CORTEX-M4 LINK OPTION
Add link option in file used for compilation.
Due to a bug in mbedtools environment.
2021-02-08 09:42:51 +00:00
reme b9e2fab52a STM32WL : ADDING ARM PACK MANAGER SUPPORT
Add STM32WL information in index.json file
Adding sector
2021-02-08 09:42:51 +00:00
reme 2fa8ccf869 STM32WL : ADDING TARGET SUPPORT
Add STM32WL information in targets.json file
2021-02-08 09:42:50 +00:00
reme 470e98ed1f STM32WL : ADDING NUCLEO STM32WL55JC SUPPORT
Add code concerning all STM32WL55JC platforms
- system clock, pin and peripheral definition
  mbedtools make file

Modify CmakeList to adapt to mbedtools evolution
2021-02-08 09:42:50 +00:00
reme 4c35eb33ed STM32WL : ADDING STM32WL55xC SUPPORT
Add code concerning all STM32WL55xC platforms
- Scatter loader and start-up files for
  ARM, GCC and IAR compilers.
- cmsis file
- Update CMakeLists.txt due to mbtools evolution
2021-02-08 08:27:24 +00:00
reme 91e7676cc4 STM32WL : ADDING STM32WL SUPPORT
Add code concerning all STM32WL platforms
- STM32 Cube Firmware

Update CMakeLists.txt due to mbedtools evolution
2021-02-08 08:22:19 +00:00
Saheer Babu 51d3afe04a example-psa - add MUSCA_S1 and update baudrate 2021-02-05 14:46:09 +00:00
Martin Kojtal dd33463518
Merge pull request #14205 from multiplemonomials/master
CMake: better detection of memap dependencies
2021-02-05 10:13:18 +00:00
Martin Kojtal d3eaca5e27
Merge pull request #14230 from arduino/nrf52_pwm_deinit
nRF52: clean pwm structures on deinit
2021-02-05 10:11:49 +00:00
Martin Kojtal bff8b8e152
Merge pull request #14232 from hugueskamba/hk_fix_cypress_mcu_psoc6_m4
CMake: Fix Cypress MCU_PSOC6_M4 build
2021-02-05 10:11:30 +00:00
Martin Kojtal fb0d646f23
Merge pull request #14179 from caoddx/fix-minimal-printf
Fix minimal-printf floating point decimal output error
2021-02-05 10:10:39 +00:00
reme 5a2835c18c STM32WL : ADDING STM32 SUPPORT
Add code concerning all STM32 platforms
2021-02-05 08:04:31 +00:00
Martin Kojtal e6565a4486
Merge pull request #14031 from arduino/blockdevices_namespaces
BlockDevices: specify mbed namespace where needed
2021-02-04 20:08:07 +00:00
Martin Kojtal fef6a6a9aa
Merge pull request #14199 from rwalton-arm/dev/rwalton-arm/refactor-st-mbed-targets
Refactor ST Mbed targets to be CMake buildsystem targets
2021-02-04 19:45:57 +00:00
Robert Walton d9e184b6c6 cmake: Refactor ST targets
Refactor all ST 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-04 15:26:36 +00:00
Robert Walton 0e491cc0cf cmake: Refactor mbed_set_mbed_target_linker_script
Move the mbed_set_mbed_target_linker_script function into its own file
and make it set the linkerscript on the target passed in, rather than
setting the linkerscript on the top level mbed-core target. We use
CMake's automatic forwarding of usage requirements to forward the linker
script to the top level target.

This commit also adds a condition to check whether the MBED_TARGET is a
CMake buildsystem target. If it is we will just link to it in the
idiomatic CMake way, if it's not then we use the 'old' mechanism of
setting the linkerscript for the mbed-core target. This check will be
useful when we refactor MBED_TARGETS to be CMake buildsystem targets as
it will allow us to do the refactoring incrementally.
2021-02-04 15:26:33 +00:00
Robert Walton 8f47212085 cmake: Remove whitespace from mbed-os/CMakeLists.txt 2021-02-04 15:23:49 +00:00
adbridge c7c30fe9f7 Remove trailing space 2021-02-04 14:25:29 +00:00
adbridge d1b768ad9a Tweak events API update and update Greentea tests accordingly 2021-02-04 12:48:41 +00:00
Jamie Smith 7b03aeaf98 Rebase against master 2021-02-03 14:16:07 -08:00
Jamie Smith 9e2b04e945 Whitespace formatting changes. 2021-02-03 14:12:29 -08:00
Jamie Smith 0a67fef995 Add intelhex version info (same as #14201) 2021-02-03 14:12:29 -08:00
Jamie Smith df60d42aed Realized that companion Python script is actually not needed at all, can be replaced with command line 2021-02-03 14:12:28 -08:00
Jamie Smith 8eca0cffb2 Fix incorrect comment in tools/cmake/python_packagecheck.py
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-02-03 14:12:28 -08:00
Jamie Smith e61a45a0c3 Add extra lines as requested 2021-02-03 14:12:27 -08:00
Jamie Smith 049f1a7bf6 Fix indentation error in tools/cmake/CheckPythonPackage.cmake
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-02-03 14:12:27 -08:00
Jamie Smith fafb08c1b7 Reformat tools/cmake/CheckPythonPackage.cmake
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-02-03 14:12:27 -08:00
Jamie Smith 947c804295 Parse requirements.txt in CMake 2021-02-03 14:12:26 -08:00
Jamie Smith c667747309 Fix license header 2021-02-03 14:11:54 -08:00
Jamie Smith c193527305 Add intelhex to requirements.txt as it's a dependency of memap. 2021-02-03 14:11:54 -08:00
Jamie Smith 029486e640 Add FindPythonPackage and use it to detect memap dependencies 2021-02-03 14:11:53 -08:00
Martin Kojtal 7135c6545a
Merge pull request #14215 from flippy84/master
STM: Fix Hal_GetTick wrap around errors
2021-02-03 14:17:59 +00:00
Martin Kojtal 78bbe274f1
Merge pull request #14203 from kylejansen/sdpk1-usb
Adding USB HS Support to the SDP-K1
2021-02-03 14:17:43 +00:00
Martin Kojtal 733975220d
Merge pull request #14228 from ARMmbed/rename_greentea_test_macro
CMake: rename greentea test macro
2021-02-03 14:17:20 +00:00
Martin Kojtal 24f035ef3e
Merge pull request #14204 from multiplemonomials/cmake-exe-suffix
Set executable suffix in CMake
2021-02-03 14:17:00 +00:00
Hugues Kamba 59bb225f40 CMake: Fix Cypress MCU_PSOC6_M4 build
Ensure the RTOS source file are included
if the full profile is used. The macro CY_RTOS_AWARE
is added whenever the full profile is used
2021-02-03 14:15:07 +00:00
Martin Kojtal 6dd44e7ec7
Merge pull request #14190 from 0xc0170/fix_ns_cores
CMake cores: fix NS cores
2021-02-03 10:17:21 +00:00
Martin Kojtal d48cc295f2
Merge pull request #14213 from 0xc0170/dev_add_cortexm55
Add cortex-m55 to CMake support
2021-02-03 09:39:32 +00:00
Martin Kojtal f7ed864e8d
Merge pull request #13979 from taunomagnusson/master
Support for ST STM32 NUCLEO-G431KB Development Board
2021-02-03 09:37:14 +00:00
Martin Kojtal 40cd33001d
Merge pull request #14195 from jeromecoutant/PR_LORA_BARE
LoraRadio test update for baremetal support
2021-02-03 09:31:41 +00:00
Martin Kojtal 5e1d13886c
Merge pull request #14202 from paul-szczepanek-arm/fix-stop-advert
BLE: return OK when stopping advertising set that is not active
2021-02-03 09:31:24 +00:00
Martin Kojtal 8a788c9a55
Merge pull request #14212 from adbridge/master
Expose the public Stream API
2021-02-03 09:31:03 +00:00
Andreas Carlsson 38b9e8ee5f STM: prevent task switch errors in HAL_GetTick 2021-02-03 09:42:15 +01:00
Martino Facchin 56c508b974 nRF52: properly clean pwm structures on deinit() 2021-02-03 09:36:27 +01:00
Rajkumar Kanagaraj 6824b14e48 CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
Martin Kojtal 2e964006b7
Merge pull request #14196 from 0xc0170/fix-cores-gcc
CMake cores: fix cpu/fpu flags
2021-02-02 14:18:13 +00:00
Martin Kojtal 276e835e4b
Merge pull request #14181 from hugueskamba/hk_cmake_greentea_mbedtls
CMake: Add support for Mbed TLS Greentea tests
2021-02-02 14:17:18 +00:00
Martin Kojtal ba6f566bd8
Merge pull request #14201 from ladislas/ladislas-update-python-intelhex
Update maximum version of intelhex to 2.3.0
2021-02-02 13:08:29 +00:00
Oliver Wildtgrube 6b0215c687 fix namespaces for MBED_NO_GLOBAL_USING_DIRECTIVE feature
added namespaces in various files
2021-02-02 12:49:11 +01:00