Skip to content

Commit ce91e0e

Browse files
committed
ext: hal: atmel: sam: update to version 2.3.98
This is an import of Atmel SAM E70 HAL version 2.3.98, and only for the revision A of the chip. The files have been passed through dos2unix to minimize the differences with the previous version which seems to also have been imported that way. All the patches that have been applied on the previous version have been removed. Signed-off-by: Aurelien Jarno <[email protected]>
1 parent 69a3566 commit ce91e0e

Some content is hidden

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

109 files changed

+22950
-27277
lines changed

ext/hal/atmel/asf/sam/include/same70/README

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Origin:
55
Microchip Packs Repository
66
http://packs.download.atmel.com/
77

8-
Atmel SAME70 Series Device Support (2.0.78)
9-
http://packs.download.atmel.com/Atmel.SAME70_DFP.2.0.78.atpack
8+
Atmel SAME70 Series Device Support (2.3.98)
9+
http://packs.download.atmel.com/Atmel.SAME70_DFP.2.3.98.atpack
1010

1111
Status:
12-
version 2.0.78
12+
version 2.3.98
1313

1414
Purpose:
1515
Official package for SAM E70.
@@ -21,7 +21,7 @@ Description:
2121

2222
URL:
2323
http://packs.download.atmel.com/
24-
http://packs.download.atmel.com/Atmel.SAME70_DFP.2.0.78.atpack
24+
http://packs.download.atmel.com/Atmel.SAME70_DFP.2.3.98.atpack
2525

2626
commit:
2727
n/a
@@ -34,19 +34,3 @@ License:
3434

3535
License Link:
3636
https://www.apache.org/licenses/LICENSE-2.0
37-
38-
Patch Lst:
39-
* Add missing header files symbols for Atmel SAM E70
40-
Several missing symbols for same70q21 SoC are added:
41-
- TC Channel Mode Register: Waveform Mode definitions
42-
- Legacy peripheral IDs definitions
43-
- DACC alternate pin functions
44-
45-
* Remove unused and broken preprocessor macros
46-
Header files from Atmel ASF define several preprocessor macros
47-
which are unused and break compilation with some toolchains.
48-
This patch removes those macros. Currently only from same70q21.h
49-
header file which is used by SAM E70 Xplained target board.
50-
51-
* Add missing interrupt number definitions
52-
Adds missing interrupt definitions for SAM GMAC Priority Queues.

ext/hal/atmel/asf/sam/include/same70/component-version.h

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
2-
* ile
2+
* \file
33
*
4-
* rief Component version header file
4+
* \brief Component version header file
55
*
6-
* Copyright (c) 2016 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
6+
* Copyright (c) 2018 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
77
*
88
* \license_start
99
*
@@ -29,27 +29,26 @@
2929
#define _COMPONENT_VERSION_H_INCLUDED
3030

3131
#define COMPONENT_VERSION_MAJOR 2
32-
#define COMPONENT_VERSION_MINOR 0
32+
#define COMPONENT_VERSION_MINOR 3
3333

3434
//
3535
// The COMPONENT_VERSION define is composed of the major and the minor version number.
3636
//
3737
// The last four digits of the COMPONENT_VERSION is the minor version with leading zeros.
38-
// The rest of the COMPONENT_VERSION is the major version, with leading zeros. The COMPONENT_VERSION
39-
// is at least 8 digits long.
38+
// The rest of the COMPONENT_VERSION is the major version.
4039
//
41-
#define COMPONENT_VERSION 00020000
40+
#define COMPONENT_VERSION 20003
4241

4342
//
4443
// The build number does not refer to the component, but to the build number
4544
// of the device pack that provides the component.
4645
//
47-
#define BUILD_NUMBER 78
46+
#define BUILD_NUMBER 98
4847

4948
//
5049
// The COMPONENT_VERSION_STRING is a string (enclosed in ") that can be used for logging or embedding.
5150
//
52-
#define COMPONENT_VERSION_STRING "2.0"
51+
#define COMPONENT_VERSION_STRING "2.3"
5352

5453
//
5554
// The COMPONENT_DATE_STRING contains a timestamp of when the pack was generated.
@@ -59,7 +58,7 @@
5958
// "%Y-%m-%d %H:%M:%S"
6059
//
6160
//
62-
#define COMPONENT_DATE_STRING "2016-10-24 16:50:28"
61+
#define COMPONENT_DATE_STRING "2018-01-30 13:59:10"
6362

6463
#endif/* #ifndef _COMPONENT_VERSION_H_INCLUDED */
6564

ext/hal/atmel/asf/sam/include/same70/component/acc.h

Lines changed: 75 additions & 94 deletions
Large diffs are not rendered by default.

ext/hal/atmel/asf/sam/include/same70/component/aes.h

Lines changed: 100 additions & 133 deletions
Large diffs are not rendered by default.

ext/hal/atmel/asf/sam/include/same70/component/afec.h

Lines changed: 380 additions & 411 deletions
Large diffs are not rendered by default.

ext/hal/atmel/asf/sam/include/same70/component/chipid.h

Lines changed: 70 additions & 75 deletions
Large diffs are not rendered by default.

ext/hal/atmel/asf/sam/include/same70/component/dacc.h

Lines changed: 151 additions & 173 deletions
Large diffs are not rendered by default.

ext/hal/atmel/asf/sam/include/same70/component/efc.h

Lines changed: 56 additions & 67 deletions
Large diffs are not rendered by default.

ext/hal/atmel/asf/sam/include/same70/component/gmac.h

Lines changed: 1097 additions & 1409 deletions
Large diffs are not rendered by default.

ext/hal/atmel/asf/sam/include/same70/component/gpbr.h

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* \brief Component description for GPBR
55
*
6-
* Copyright (c) 2016 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
6+
* Copyright (c) 2018 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
77
*
88
* \license_start
99
*
@@ -25,11 +25,12 @@
2525
*
2626
*/
2727

28+
/* file generated from device description version 2017-08-25T14:00:00Z */
2829
#ifndef _SAME70_GPBR_COMPONENT_H_
2930
#define _SAME70_GPBR_COMPONENT_H_
3031
#define _SAME70_GPBR_COMPONENT_ /**< \deprecated Backward compatibility for ASF */
3132

32-
/** \addtogroup SAME70_GPBR General Purpose Backup Registers
33+
/** \addtogroup SAME_SAME70 General Purpose Backup Registers
3334
* @{
3435
*/
3536
/* ========================================================================== */
@@ -53,14 +54,12 @@ typedef union {
5354
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
5455

5556
#define GPBR_SYS_GPBR_OFFSET (0x00) /**< (GPBR_SYS_GPBR) General Purpose Backup Register 0 Offset */
56-
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
5757

5858
#define GPBR_SYS_GPBR_GPBR_VALUE_Pos 0 /**< (GPBR_SYS_GPBR) Value of GPBR x Position */
59-
#define GPBR_SYS_GPBR_GPBR_VALUE_Msk (0xFFFFFFFFU << GPBR_SYS_GPBR_GPBR_VALUE_Pos) /**< (GPBR_SYS_GPBR) Value of GPBR x Mask */
59+
#define GPBR_SYS_GPBR_GPBR_VALUE_Msk (_U_(0xFFFFFFFF) << GPBR_SYS_GPBR_GPBR_VALUE_Pos) /**< (GPBR_SYS_GPBR) Value of GPBR x Mask */
6060
#define GPBR_SYS_GPBR_GPBR_VALUE(value) (GPBR_SYS_GPBR_GPBR_VALUE_Msk & ((value) << GPBR_SYS_GPBR_GPBR_VALUE_Pos))
61-
#define GPBR_SYS_GPBR_MASK (0xFFFFFFFFU) /**< \deprecated (GPBR_SYS_GPBR) Register MASK (Use GPBR_SYS_GPBR_Msk instead) */
62-
#define GPBR_SYS_GPBR_Msk (0xFFFFFFFFU) /**< (GPBR_SYS_GPBR) Register Mask */
63-
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
61+
#define GPBR_SYS_GPBR_MASK _U_(0xFFFFFFFF) /**< \deprecated (GPBR_SYS_GPBR) Register MASK (Use GPBR_SYS_GPBR_Msk instead) */
62+
#define GPBR_SYS_GPBR_Msk _U_(0xFFFFFFFF) /**< (GPBR_SYS_GPBR) Register Mask */
6463

6564

6665
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
@@ -81,8 +80,6 @@ typedef struct {
8180
#endif /* COMPONENT_TYPEDEF_STYLE */
8281

8382
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
84-
85-
8683
/** @} end of General Purpose Backup Registers */
8784

8885
#endif /* _SAME70_GPBR_COMPONENT_H_ */

0 commit comments

Comments
 (0)