Commit Graph

32353 Commits (ff307188b75e0b0346902e083ff9ea9ef658ce72)

Author SHA1 Message Date
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
Martino Facchin 8ca0e9f161 BlockDevices: specify mbed namespace where needed 2021-02-02 12:49:09 +01:00
Jamie Smith d9819a72d1 Bring back CMAKE_EXECUTABLE_SUFFIX in map filename, with a vengeance! 2021-02-01 19:40:41 -08:00
Martin Kojtal 956b19775c
Merge pull request #14197 from paul-szczepanek-arm/gtest
Upgrade gtest to 1.10
2021-02-01 10:44:11 +00:00
Martin Kojtal 04100a14c2
Merge pull request #14092 from hugueskamba/hk_nfc_m24sr_support
NFC: Add support for M24SR driver
2021-02-01 09:39:26 +00:00
Jamie Smith 7f2abe6673 Add newline 2021-01-29 09:00:35 -08:00
Martin Kojtal 09e0ffda6e CMake rtos: add M55 to irq handlers, use m33 handlers = the same 2021-01-29 14:23:01 +00:00
Martin Kojtal 0bcd1f770f Add cortex-m55 to CMake support 2021-01-28 16:46:18 +00:00
adbridge 9b04617d04 Expose the public Stream API
Stream.h contains a public API which is not currently exposed via
mbed.h (when it should be). This commit fixes this.
2021-01-28 16:34:15 +00:00
Jamie Smith 52565ae6e2 Remove CMAKE_EXECUTABLE_SUFFIX where it doesn't belong. 2021-01-27 15:56:36 -08:00
Jamie Smith 068358d8d6 Set executable suffix in CMake 2021-01-27 15:53:56 -08:00
Ladislas de Toldi 7983d81b73
Update minimum version of intelhex to 2.3.0 2021-01-27 18:01:49 +01:00
kylejansen c401b61c09 Adding USB HS Support to the SDP-K1 2021-01-27 16:50:37 +00:00
Paul Szczepanek bd5f437896 return OK when stopping advertising that is not active 2021-01-27 16:32:57 +00:00
Paul Szczepanek 1fd8818dcd update version in readme 2021-01-27 12:48:57 +00:00
Martin Kojtal 0a990e702a CMake cores: align fpu settings
Move the fpu settings across all cores so they are aligned.
Some cores did not have fpu set for ARMClang. I matched here both toolchains to set up
the fpu the same (Only exception is soft vs hard - that is separate issue I would not like to touch
in this series).
2021-01-27 12:30:21 +00:00
Martin Kojtal 8e2c9575be CMake cores: remove dsp as it is on by default 2021-01-27 12:20:48 +00:00
Martin Kojtal 5d8d2bae76 CMake cores: fix dsp for M33FE (enabling it)
I realized we specified nodsp for M33 core but had march for FE parts enabled with dsp.
This fixes it.

M33F has no dsp. M33FE cores have dsp enabled.
2021-01-27 10:30:28 +00:00
Martin Kojtal 15acc009a0 CMake cores: remove march, not needed if we use mcpu 2021-01-27 10:25:48 +00:00
Paul Szczepanek 2fe6c7aa52 upgrade gtest to 1.10 2021-01-26 17:25:44 +00:00
Martin Kojtal 30065905b8 CMake cores: fix cpu flag
Couple of cores did not have common flag `--mcpu` set
2021-01-26 14:13:19 +00:00
jeromecoutant dd602689d2 LoraRadio test update for baremetal support 2021-01-26 14:47:56 +01:00
Hugues Kamba d0076a9e61 NFC: Add support for M24SR driver
The repository https://github.com/ARMmbed/mbed-nfc-m24sr
is no longer required to build applications that require
this driver.
2021-01-26 10:33:06 +00:00
Tauno Magnusson dc969ba1d9 After checking other parts of the code (trng_api.c and a few other board platforms (NUCLEO_F413ZH, ...)) it appears that even though the reset value defaults correctly it may be good practice to keep the HAL_RCCEx_PeriphCLKConfig statement that selects the HSI48CLK as source for USB/RNG. 2021-01-26 03:51:49 +01:00
Tauno Magnusson 21176e903a Removed the HAL_RCCEx_PeriphCLKConfig statement that was selecting the HSI48 CLK for USB. Assumption is that the STM32G4 reset value (defaults to HSI48 selected for USB) is preserved throughout Mbed initialization. 2021-01-26 03:27:37 +01:00
Tauno Magnusson 80f0a378fb Updated to enable HSI48 Clock also for USBDEVICE define in targets.json. Also added so that the CK48 Clock Mux selects HSI48 for both RNG and USB. Without these the RNG/USB will be clocked at PLLQ (170 MHz) and not work. 2021-01-26 02:51:03 +01:00
Tauno Magnusson 99d21b6a92 Fixed whitespaces (a tab that should be spaces) 2021-01-26 01:21:46 +01:00
mbedmain 0c6753bb82 Update Mbed version block 2021-01-25 14:58:06 +00:00
Martin Kojtal 343b19f9b2
Merge pull request #14180 from hugueskamba/hk_cmake_cypress_missing_file
Cypress: Fix CYTFM_064B0S2_4343W CMake build
2021-01-25 14:43:36 +00:00
Martin Kojtal 747de9f849 CMake cores: fix NS cores
Set DOMAIN_NS=1 only for _NS cores. We had it otherway around.
I verified one non NS target that was failing to build, plus also checked the old tools
that had this definitions:

```
   91:     "Cortex-M23-NS":   ["__CORTEX_M23", "ARM_MATH_ARMV8MBL", "DOMAIN_NS=1",
   92                          "__CMSIS_RTOS", "__MBED_CMSIS_RTOS_CM"],
   93      "Cortex-M23":      ["__CORTEX_M23", "ARM_MATH_ARMV8MBL", "__CMSIS_RTOS",
   94                          "__MBED_CMSIS_RTOS_CM"],
```
2021-01-25 12:21:40 +00:00
Hugues Kamba 9a1c24e254 CMake: Add support for Mbed TLS Greentea tests
The Mbed TLS Greentea tests can now be built with CMake.
2021-01-25 10:48:15 +00:00
Martin Kojtal 1b7b620528
Merge pull request #14175 from harmut01/serial_fix
Add declaration to expose enable_* functions from SerialBase
2021-01-25 07:48:18 +00:00
Martin Kojtal 4d1d987415
Merge pull request #14186 from hugueskamba/hk_cmake_nxp_cleanup
NXP: Fix CMake support and clean up
2021-01-25 07:47:56 +00:00
Martin Kojtal e7cd244d11
Merge pull request #14185 from hugueskamba/hk_cmake_fix_arm_mcu_core_flags
CMake: Correct ARM toolchain MCU core flags
2021-01-25 07:47:38 +00:00