Commit Graph

32547 Commits (a3c09d0a3fa729dfcc8365098a31bb8490ad2d4c)

Author SHA1 Message Date
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
pennam 506390bcf8 Increase FLAG_TIMEOUT to avoid misleading triggers 2021-02-01 09:13:33 +01:00
pennam 7544f7ef24 Use the proper clock source for any I2C instance 2021-02-01 09:13:21 +01:00
pennam 28a3475c5c STM32: Compute I2C timing according current I2C clock source and required I2C clock 2021-01-31 14:02:01 +01: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
Tauno Magnusson fa0474239b Autogenerated file using 'python targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py -t M40_Nucleo_NUCLEO-G431KB'. Had to do some modifications since the autogenerated files contained errors. 2021-01-24 04:25:42 +01:00
Tauno Magnusson f871eff405 Reverted to a pure copy of 474RE system_clock.c since it was updated with RNG clock fixes. Removing USB Clock enablement (USB will not work out-of-the box but will require users to modify system_clock.c to enable its clock) - this inline with changes to targets.json where I removed the USBDEVICE define 2021-01-24 03:18:06 +01:00
Tauno Magnusson bfd1f09c26 USBDEVICE removed from G431KB as per ARMmbed policy (only boards with physical USBDEVICE should define it in targets.json) 2021-01-24 02:48:59 +01:00
Tauno Magnusson 173cc1fe29 Cleaning out workaround patches for G431KB now that Flash Bank Switching has been fixed on G4xxx level (ARMmbed/mbed-os patch #14149) 2021-01-24 02:44:09 +01:00
Tauno Magnusson e4fb7402c3 Fixed a typo (incorrectly referring to G474RE instead of G431KB) 2021-01-24 02:41:18 +01:00
Tauno Magnusson 3ff04fa81e Cleaned up and verified file 2021-01-24 02:15:22 +01:00