Vikas Katariya
ab09a6934b
Add mbedtls_ecc_group_to_psa() to PSA in TF-M 1.2
...
The PSA headers imported from TF-M does not contain a declaration of
mbedtls_ecc_group_to_psa(), which is expected by pk.c from Mbed TLS.
This leads to an "undefined symbol" error when using the ARM toolchain
to compile an application for a TF-M target.
2021-02-25 14:02:56 +00:00
Vikas Katariya
260a33574b
core: Upgrade TFM v1.2 related files
...
These files have been imported/copied from:
* ARMmbed/trusted-firmware-m
* ARMmbed/tf-m-tests
These are generic files, which are required for TF-M v1.2 integration
with Mbed OS for PSA_V8M and PSA_DUAL_CORE targets.
2021-02-25 14:02:56 +00:00
Vikas Katariya
b0da9d0cdf
Switch to using `TARGET_TFM_LATEST`
...
Rather than maintaining a specific `TARGET_TFM_V1_x`, its better to use
more generic name `TARGET_TFM_LATEST` to avoid confusion on the latest
TFM version supported by Mbed OS
* Rename the folder from `TARGET_TFM_V1_1` to `TARGET_TFM_LATEST`
* Update the CmakeLists.txt
* Change the name of the MUSCA targets to maintain uniformity
with TF-M v1.2
* Update target.json for PSA_V8_M to use `TFM_LATEST`
2021-02-25 14:02:55 +00:00
Lingkai Dong
410a1bad6b
Import mbedtls-2.24 and Mbed PSA Service (non-TFM)
...
Files have been automatically imported by setting MBED_TLS_RELEASE to
mbedtls-2.24.0 in connectivity/mbedtls/tools/importer/Makefile and
running `make` in that directory.
2021-02-25 14:02:55 +00:00
Lingkai Dong
e0d2c3d03a
Fix paths in Mbed TLS importer
...
Note: Now we need to export common.h to the include path, because
this header is now also needed by PSA Crypto service.
2021-02-25 14:02:54 +00:00
Lingkai Dong
e3641576d0
Move hash_wrappers.c to platform subdirectory
...
hash_wrappers.c is specific to Mbed OS, moving it into platform
as its original directory is for imported Mbed TLS source only.
2021-02-25 14:02:54 +00:00
Lingkai Dong
9e48b782b9
Add copyright header to hash_wrappers.c
2021-02-25 14:02:54 +00:00
Martin Kojtal
36b6013afe
Merge pull request #14350 from LDong-Arm/fix_iar_config_conflict
...
ARM_MPS2_Target: Fix conflicts in IAR configuration
2021-02-25 13:18:45 +00:00
Lingkai Dong
c1d115e25b
Fix conflicts in IAR configuration
...
In `targets.json`, the base target ARM_MPS2_Target does not have `iar`
in `supported_c_libs`. But its inherited targets have `IAR` in
`supported_toolchains`, causing configuration check to fail.
2021-02-25 12:03:26 +00:00
Martin Kojtal
7da6100ff6
Merge pull request #14304 from hugueskamba/hk_cmake_remove_app_target_reference
...
CMake: Refactor post-build hook to remove APP_TARGET references
2021-02-25 10:41:44 +00:00
Martin Kojtal
737153bcc1
Merge pull request #14328 from hugueskamba/hk_cmake_fix_greentea_tests
...
CMake: Fix Greentea tests
2021-02-24 16:09:55 +00:00
Martin Kojtal
8340ea2d2b
Merge pull request #14305 from paul-szczepanek-arm/cordio-host-fix-index
...
BLE: fix indexing of array in Cordio host stack
2021-02-23 14:23:21 +00:00
Martin Kojtal
6c08123dff
Merge pull request #14313 from hugueskamba/hk_cmake_fix_cortex_m33_gcc
...
CMake: Fix Cortex-M33 GCC build
2021-02-23 14:23:01 +00:00
Hugues Kamba
1ba3b73a30
CMake: Fix Greentea tests
...
* Specify new Greentea tests build steps in README
* Correct path to generated CMake configuration module
2021-02-23 13:08:43 +00:00
Martin Kojtal
57a6fe3a8e
Merge pull request #14314 from hugueskamba/hk_cmake_fix_musca_ns
...
CMake: Fix ARM MUSCA NS targets build
2021-02-23 11:04:38 +00:00
Martin Kojtal
88a242f749
Merge pull request #14306 from hugueskamba/hk_cmake_create_cmsis_cortex_libs
...
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
2021-02-23 08:36:49 +00:00
Martin Kojtal
da51cb2185
Merge pull request #14318 from harmut01/example_build_errors
...
CMake: Fix path to STM32F0 GCC linker scripts
2021-02-23 08:36:27 +00:00
Martin Kojtal
14a5c79a33
Merge pull request #14298 from ARMmbed/cmake-remove-debug-print
...
CMake: remove debug print
2021-02-23 08:35:45 +00:00
Martin Kojtal
7b6c7cc2ad
Merge pull request #14295 from 0xc0170/cmake-remove-iar
...
CMake remove IAR references in the tree
2021-02-22 20:10:40 +00:00
Martin Kojtal
7369b63769
Merge pull request #14300 from harmut01/baremetal_arm_ssg
...
Add bare metal support to ARM_MPS2_Target family of targets
2021-02-22 20:10:25 +00:00
Martin Kojtal
120b25f138
Merge pull request #14315 from hugueskamba/hk_cmake_fix_nuvonton_m261
...
NUVOTON: Remove CMake listing of M261 include directory that do not exist
2021-02-22 20:10:02 +00:00
Martin Kojtal
8bff51dea1
Merge pull request #14311 from hugueskamba/hk_cmake_fix_cortex_a9_gcc
...
CMake: Fix Cortex-A9 builds with GCC_ARM
2021-02-22 20:09:55 +00:00
Martin Kojtal
778f833108
Merge pull request #14316 from hugueskamba/hk_cmake_fix_max32625
...
MAX32625: Fix CMake build
2021-02-22 20:09:33 +00:00
Martin Kojtal
dbbdd0f077
Merge pull request #14309 from hugueskamba/hk_cmake_fix_stm32f091xc_gcc_arm
...
CMake: Fix STM32F091XC Mbed targets GCC_ARM build
2021-02-22 15:56:05 +00:00
Hugues Kamba
cd6cb71c29
CMake: Fix Cortex-M33 GCC build
...
The GCC flag to specify the floating-point hardware (`mfpu`) does not accept
the value `none`. The default value is `auto` which causes the compiler to
select the floating-point and Advanced SIMD instructions based on the
settings of -mcpu and -march. The extension option `+nofp` has been added
to disable floating point instructions.
2021-02-22 15:21:20 +00:00
Martin Kojtal
3bb8de6ea3
Merge pull request #14308 from hugueskamba/hk_cmake_create_flash_cmsis_algo
...
Create FLASH CMSIS ALGO target to remove dependency on MBED_TARGET_LABELS
2021-02-22 14:36:44 +00:00
Harrison Mutai
5899dd0bc7
Fix path to GCC linker scripts
...
The linux filesystem is case sensitive, this was causing our nightly build to
fail when attempting to find the script with its lower case name. The
name of the file has been kept the same as this seems to be STMs
convention.
2021-02-22 14:07:52 +00:00
Hugues Kamba
80c679cc27
MAX32625: Fix CMake build
...
* Correct board CMake target name to match board name
* Make MAX32625 depend on MAXIM CMake target to inherit its include dirs
* Correct path to linker files
2021-02-22 13:38:32 +00:00
Hugues Kamba
3eb5296996
NUVOTON: Remove CMake listing of M261 include directory that do not exist
...
Remove listing of include directory that do not exist
2021-02-22 12:53:17 +00:00
Hugues Kamba
0ce36ac5e2
CMake: Fix ARM MUSCA NS targets build
...
Add the missing CMake targets for NS Mbed boards.
2021-02-22 12:17:41 +00:00
Martin Kojtal
29cfcd6d5f
Merge pull request #14307 from hugueskamba/hk_cmake_fix_nuvoton_targets
...
CMake: Fix some NUVOTON build
2021-02-22 12:12:18 +00:00
Paul Szczepanek
53cf06278a
use the ccb instead of looking up the conn id
2021-02-22 11:31:25 +00:00
Hugues Kamba
261deae561
CMake: Fix Cortex-A9 builds with GCC_ARM
...
Add the `-march` flag for Cortex-A9 GCC_ARM in order to
generate instructions for the armv7-a machine type.
2021-02-22 11:28:06 +00:00
Hugues Kamba
11a445be95
CMake: Fix STM32F091XC Mbed targets GCC_ARM build
...
The linker file for the GCC_ARM toolchain was not
correctly listed.
2021-02-19 20:28:25 +00:00
Hugues Kamba
c45e6ce13f
Remove usage of MBED_TARGET_LABELS in hal/ tests
...
This removes some dependency on targets.json
2021-02-19 19:15:47 +00:00
Hugues Kamba
7d49d4bce1
Create FLASH CMSIS ALGO target to remove dependency on MBED_TARGET_LABELS
...
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 16:56:37 +00:00
Hugues Kamba
a3a36ccb92
CMake: Fix some NUVOTON build
...
Correct source file listings for M251, M261.
Also remove unused input source files.
2021-02-19 16:48:32 +00:00
Hugues Kamba
2c3481297c
CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
...
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 13:39:32 +00:00
Paul Szczepanek
9a25b7b7cd
use dmConnId_t for conn id
2021-02-19 12:52:47 +00:00
Paul Szczepanek
b271ee853a
fix Cordio attsCsfActClientState index parameter
...
instead of using a handle this should be conn id
there were two calls using it differently
2021-02-19 12:45:09 +00:00
Hugues Kamba
0eae4f6c3f
CMake: Refactor post-build hook to remove APP_TARGET references
...
There should not be a reference to APP_TARGET in Mbed OS as end-users
may decide to use a different name for the CMake variable to store their
application name.
2021-02-19 11:52:57 +00:00
Harrison Mutai
0000b37124
Fix indentation in RW_IRAM1 load region description
2021-02-19 10:09:25 +00:00
Harrison Mutai
9f5f3ea855
Fix indentation in ER_IROM1 load region description
2021-02-18 14:47:36 +00:00
Harrison Mutai
b31ce7a9c7
Refactor ARM MSP2 target scatter files for bare metal support
2021-02-18 14:44:46 +00:00
Harrison Mutai
0f233735af
Add bare metal support to ARM_MPS2_Target family of targets
2021-02-18 09:34:16 +00:00
Martin Kojtal
546cdafbd9
CMake: remove debug print
2021-02-17 16:50:13 +00:00
Martin Kojtal
85c2d7a25c
CMake: remove IAR references as they are not supported
2021-02-17 09:19:03 +00:00
Martin Kojtal
09dd4d2582
CMake platform: remove IAR related CMakeLists
...
Not supported
2021-02-17 09:15:50 +00:00
mbedmain
26606218ad
Update Mbed version block
2021-02-16 16:01:39 +00:00
Martin Kojtal
8bdc626ba7
Merge pull request #14286 from 0xc0170/cmake-fix-remove-target-workaround
...
CMake: remove workaround for targets prior refactor
2021-02-16 14:28:26 +00:00