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
Tauno Magnusson
00c45f259f
Update README.md
2021-01-24 02:15:20 +01:00
Hugues Kamba
dd6c5b3ab0
NXP: Remove LPC55S69 CMake listing
...
Support for LPC55S69 had been removed without removing references in CMake.
2021-01-22 11:13:02 +00:00
Hugues Kamba
425b9a7311
NXP: Use armclang shebang in scatter files
...
The armclang shebang is required in the scatter file in order to build with CMake.
2021-01-22 11:11:42 +00:00
Hugues Kamba
db189bae6d
CMake: Correct ARM toolchain MCU core flags
...
Some armasm flags are passed to the ASM whilst we actually use armclang to invoke it. This causes build failures as armclang is not compatible with armasm flags.
This commit passes the same flags to all tools in the chain.
2021-01-22 10:54:47 +00:00
Harrison Mutai
619ca54735
Remove lock from enable_* function overrides
2021-01-21 11:09:50 +00:00
Harrison Mutai
0214a156e7
Implement override of enable_* functions
2021-01-21 10:20:49 +00:00
Martin Kojtal
83c18dd67c
Merge pull request #14099 from hugueskamba/hk_cmake_greentea_cordio
...
CMake: Add support for CORDIO Greentea tests
2021-01-20 21:14:33 +00:00
Martin Kojtal
5f541b22d0
Merge pull request #14142 from hugueskamba/hk_heap_size_fix_stm32l4
...
STM32L4: Correct heap size formula
2021-01-20 14:58:45 +00:00
Martin Kojtal
aeabb9382b
Merge pull request #14137 from rajkan01/fix_fatfilesytem_unmount
...
Storage: Fix FATFileSystem unmount issue
2021-01-20 14:53:24 +00:00
Martin Kojtal
dc40c47cfa
Merge pull request #14169 from artokin/nanostack_release_12_8_0_to_master
...
Nanostack release v12.8.0
2021-01-20 14:38:16 +00:00
Hugues Kamba
21840a4e92
Cypress: Fix CYTFM_064B0S2_4343W CMake build
...
List missing CAT1A files.
2021-01-20 14:13:50 +00:00
Martin Kojtal
d2b6797439
Merge pull request #14159 from jeromecoutant/PR_CMAKE_F7
...
CMAKE : correct "Cortex-M7F" link parameter
2021-01-20 14:08:16 +00:00
caodd
9a7b2a8647
Fix minimal-printf floating point decimal output error
2021-01-20 20:54:34 +08:00