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
Tauno Magnusson
d61e4f0e95
Updated G431KB inline with review comments
2021-01-24 02:15:21 +01:00
Tauno Magnusson
1389b1ac9d
Adding CMakeLists.txt files for NUCLEO_G431KB
2021-01-24 02:15:21 +01:00
Tauno Magnusson
8ea0eb5a5c
Reverted to original README.md file
2021-01-24 02:15:21 +01:00
Tauno Magnusson
0368cab27b
Add: Added STM32G4 series to LP USB list
2021-01-24 02:15:21 +01:00
Tauno Magnusson
d720792191
G431 only has 1 Flash Bank. Code is written with the assumption all G4 devices has 2 Flash Banks. Fix: Commented out SYSCFG_MEMRMP_FB_MODE since stm32g431KB only has 1 Flash Bank. flash_api.c checks for this #define and if it's set understands it as if the chip has 2 flash banks. STM32G4xx_HAL_Driver/stm32g4xx_hal.c also needs to check for this #define since it has flash bank swapping commands that are called in the startup sequence. Fix: Check for SYSCFG_MEMRMP_FB_MODE in Enable/Disable Flash bank swapping.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
98e48828b1
Fix: Added ALIGN(8) for __etext section. This existed in mbed-6.3.0 version. I have not verified if it is truly needed, but it is better to err on the safe side.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
5bd272aabc
Adding support for NUCLEO_G431KB. Created this file based on G474RE file. Added support for USB - connected the HSI48 clock to USB (and RNG). Warning: I'm assuming Flash latency is the same as for G474RE.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
70bd5b916d
Adding support for NUCLEO_G431KB. Created this file based on G474RE. I have done a decent effort to port it / check it. However - Warning - Not everything is verified the the G431 Spec Sheets.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
936467ebab
Adding support for NUCLEO_G431KB. Created this file based on G474RE. Fully verified with Spec Sheets
2021-01-24 02:15:21 +01:00
Tauno Magnusson
f41641a3af
Update README.md
2021-01-24 02:15:20 +01:00
Tauno Magnusson
9dc882e7d2
Added entry for STM32 NUCLEO_G431KB Board
2021-01-24 02:15:20 +01:00