Skip to content

Commit 67218d5

Browse files
committed
Rebase on mbed 6.0.0.-alpha2
Branch arduino_rebased200309
1 parent 54f3ed5 commit 67218d5

File tree

164 files changed

+1155
-1321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+1155
-1321
lines changed

cores/arduino/mbed/components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Drv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*!
22
* Copyright (c) 2015, Freescale Semiconductor, Inc.
33
* All rights reserved.
4+
* SPDX-License-Identifier: BSD-3-Clause
45
*
56
* \file MCR20Drv.h
67
*

cores/arduino/mbed/components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Overwrites.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*!
22
* Copyright (c) 2015, Freescale Semiconductor, Inc.
33
* All rights reserved.
4+
* SPDX-License-Identifier: BSD-3-Clause
45
*
56
* \file MCR20Overwrites.h
67
* Description: Overwrites header file for MCR20 Register values

cores/arduino/mbed/components/802.15.4_RF/mcr20a-rf-driver/source/MCR20Reg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*!
22
* Copyright (c) 2015, Freescale Semiconductor, Inc.
33
* All rights reserved.
4+
* SPDX-License-Identifier: BSD-3-Clause
45
*
56
* \file MCR20reg.h
67
* MCR20 Registers

cores/arduino/mbed/components/802.15.4_RF/mcr20a-rf-driver/source/XcvrSpi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*!
22
* Copyright (c) 2015, Freescale Semiconductor, Inc.
33
* All rights reserved.
4+
* SPDX-License-Identifier: BSD-3-Clause
45
*
56
* \file XcvrSpi.h
67
*

cores/arduino/mbed/components/TARGET_PSA/TARGET_TFM/COMPONENT_SPE/inc/tfm_spm_signal_defs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
#define PSA_PLATFORM_LC_SET_MSK (1UL << PSA_PLATFORM_LC_SET_MSK_POS)
6363
#define PSA_PLATFORM_SYSTEM_RESET_MSK_POS (6UL)
6464
#define PSA_PLATFORM_SYSTEM_RESET_MSK (1UL << PSA_PLATFORM_SYSTEM_RESET_MSK_POS)
65+
#define PSA_PLATFORM_IOCTL_MSK_POS (7UL)
66+
#define PSA_PLATFORM_IOCTL_MSK (1UL << PSA_PLATFORM_IOCTL_MSK_POS)
6567

6668
/* -----------------------------------------------------------------------------
6769
* ITS Signals
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/*
2+
* Copyright (c) 2018-2020, Arm Limited. All rights reserved.
3+
*
4+
* SPDX-License-Identifier: BSD-3-Clause
5+
*
6+
*/
7+
8+
#ifndef __TFM_PLATFORM_API__
9+
#define __TFM_PLATFORM_API__
10+
11+
#include <limits.h>
12+
#include <stdint.h>
13+
#include "psa/client.h"
14+
15+
#ifdef __cplusplus
16+
extern "C" {
17+
#endif
18+
19+
/**
20+
* \brief TFM secure partition platform API version
21+
*/
22+
#define TFM_PLATFORM_API_VERSION_MAJOR (0)
23+
#define TFM_PLATFORM_API_VERSION_MINOR (3)
24+
25+
/*!
26+
* \enum tfm_platform_err_t
27+
*
28+
* \brief Platform service error types
29+
*
30+
*/
31+
enum tfm_platform_err_t {
32+
TFM_PLATFORM_ERR_SUCCESS = 0,
33+
TFM_PLATFORM_ERR_SYSTEM_ERROR,
34+
TFM_PLATFORM_ERR_INVALID_PARAM,
35+
TFM_PLATFORM_ERR_NOT_SUPPORTED,
36+
37+
/* Following entry is only to ensure the error code of int size */
38+
TFM_PLATFORM_ERR_FORCE_INT_SIZE = INT_MAX
39+
};
40+
41+
typedef int32_t tfm_platform_ioctl_req_t;
42+
43+
/*!
44+
* \brief Performs a platform-specific service
45+
*
46+
* \param[in] request Request identifier (valid values vary
47+
* based on the platform)
48+
* \param[in] input Input buffer to the requested service (or NULL)
49+
* \param[in,out] output Output buffer to the requested service (or NULL)
50+
*
51+
* \return Returns values as specified by the \ref tfm_platform_err_t
52+
*/
53+
enum tfm_platform_err_t tfm_platform_ioctl(tfm_platform_ioctl_req_t request,
54+
psa_invec *input,
55+
psa_outvec *output);
56+
57+
58+
#ifdef __cplusplus
59+
}
60+
#endif
61+
62+
#endif /* __TFM_PLATFORM_API__ */

cores/arduino/mbed/components/TARGET_PSA/services/attestation/qcbor/inc/qcbor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Copyright (c) 2016-2018, The Linux Foundation.
33
Copyright (c) 2018-2019, Laurence Lundblade.
44
All rights reserved.
5+
SPDX-License-Identifier: BSD-3-Clause
56
67
Redistribution and use in source and binary forms, with or without
78
modification, are permitted provided that the following conditions are

cores/arduino/mbed/components/TARGET_PSA/services/attestation/qcbor/test/UsefulBuf_Tests.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Copyright (c) 2016-2018, The Linux Foundation.
33
Copyright (c) 2018, Laurence Lundblade.
44
All rights reserved.
5+
SPDX-License-Identifier: BSD-3-Clause
56
67
Redistribution and use in source and binary forms, with or without
78
modification, are permitted provided that the following conditions are

cores/arduino/mbed/components/TARGET_PSA/services/attestation/qcbor/test/qcbor_decode_tests.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Copyright (c) 2016-2018, The Linux Foundation.
33
Copyright (c) 2018-2019, Laurence Lundblade.
44
All rights reserved.
5+
SPDX-License-Identifier: BSD-3-Clause
56
67
Redistribution and use in source and binary forms, with or without
78
modification, are permitted provided that the following conditions are

cores/arduino/mbed/components/TARGET_PSA/services/attestation/qcbor/test/qcbor_encode_tests.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Copyright (c) 2016-2018, The Linux Foundation.
33
Copyright (c) 2018-2019, Laurence Lundblade.
44
All rights reserved.
5+
SPDX-License-Identifier: BSD-3-Clause
56
67
Redistribution and use in source and binary forms, with or without
78
modification, are permitted provided that the following conditions are

0 commit comments

Comments
 (0)