Skip to content

Commit 193bb7a

Browse files
authored
Add support for MIMXRT1170-EVK and MIMXRT1060-EVK boards (#906)
2 parents d4e6ad2 + 43e7e42 commit 193bb7a

File tree

18 files changed

+453
-11
lines changed

18 files changed

+453
-11
lines changed

projects.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,14 @@ projects:
462462
- *module_if
463463
- *module_hic_lpc4322
464464
- records/board/lpc55S69xpresso.yaml
465+
lpc4322_mimxrt1060_evk_qspi_if:
466+
- *module_if
467+
- *module_hic_lpc4322
468+
- records/board/mimxrt1060_evk_qspi.yaml
469+
lpc4322_mimxrt1170_evk_qspi_if:
470+
- *module_if
471+
- *module_hic_lpc4322
472+
- records/board/mimxrt1170_evk_qspi.yaml
465473
lpc55s69_mculink_bl:
466474
- *module_bl
467475
- records/hic_hal/lpc55s69.yaml

records/board/mimxrt1020_evk_qspi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
common:
22
macros:
3+
- DAPLINK_MIMXRT_TARGET
34
- SOFT_RESET=VECTRESET
45
sources:
56
board:

records/board/mimxrt1050_evk_hyper.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
common:
22
macros:
3+
- DAPLINK_MIMXRT_TARGET
34
- SOFT_RESET=VECTRESET
45
sources:
56
board:

records/board/mimxrt1050_evk_qspi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
common:
22
macros:
3+
- DAPLINK_MIMXRT_TARGET
34
- SOFT_RESET=VECTRESET
45
sources:
56
board:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
common:
2+
macros:
3+
- DAPLINK_MIMXRT_TARGET
4+
- SOFT_RESET=VECTRESET
5+
- SWO_UART=1
6+
sources:
7+
board:
8+
- source/board/mimxrt1060_evk.c
9+
target:
10+
- source/family/nxp/mimxrt1060_spi_flash/target.c
11+
- source/family/freescale/target_reset_mimxrt.c
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
common:
2+
macros:
3+
- DAPLINK_MIMXRT_TARGET
4+
- SOFT_RESET=VECTRESET
5+
- SWO_UART=1
6+
sources:
7+
board:
8+
- source/board/mimxrt1170_evk.c
9+
target:
10+
- source/family/nxp/mimxrt1170_spi_flash/target.c
11+
- source/family/freescale/target_reset_mimxrt.c

source/board/mimxrt1020_evk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ const board_info_t g_board_info = {
2727
.board_id = "0226",
2828
.family_id = kNXP_Mimxrt_FamilyID,
2929
.flags = kEnablePageErase,
30-
.daplink_url_name = "PRODINFOHTM",
31-
.daplink_drive_name = "RT1020-EVK",
30+
.daplink_url_name = "PRODINFOHTM",
31+
.daplink_drive_name = "RT1020-EVK",
3232
.daplink_target_url = "http://www.nxp.com/imxrt1020evk",
3333
.target_cfg = &target_device,
3434
.board_vendor = "NXP",

source/board/mimxrt1050_evk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const board_info_t g_board_info = {
2626
.info_version = kBoardInfoVersion,
2727
.board_id = "0227",
2828
.family_id = kNXP_Mimxrt_FamilyID,
29-
.daplink_url_name = "PRODINFOHTM",
30-
.daplink_drive_name = "RT1050-EVK",
29+
.daplink_url_name = "PRODINFOHTM",
30+
.daplink_drive_name = "RT1050-EVK",
3131
.daplink_target_url = "http://www.nxp.com/imxrt1050evk",
3232
.target_cfg = &target_device,
3333
.board_vendor = "NXP",

source/board/mimxrt1060_evk.c

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* @file mimxrt1060_evk.c
3+
* @brief board ID for the NXP MIMXRT1060-EVK board.
4+
*
5+
* DAPLink Interface Firmware
6+
* Copyright (c) 2020 - 2021 NXP, All Rights Reserved
7+
* SPDX-License-Identifier: Apache-2.0
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
10+
* not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
*/
21+
22+
#include "target_board.h"
23+
#include "target_family.h"
24+
25+
const board_info_t g_board_info = {
26+
.info_version = kBoardInfoVersion,
27+
.board_id = "0229",
28+
.family_id = kNXP_Mimxrt_FamilyID,
29+
.flags = kEnablePageErase,
30+
.daplink_url_name = "PRODINFOHTM",
31+
.daplink_drive_name = "RT1060-EVK",
32+
.daplink_target_url = "http://www.nxp.com/imxrt1060evk",
33+
.target_cfg = &target_device,
34+
.board_vendor = "NXP",
35+
.board_name = "MIMXRT1060-EVK",
36+
};

source/board/mimxrt1170_evk.c

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* @file mimxrt1170_evk.c
3+
* @brief board ID for the NXP MIMXRT1170-EVK board.
4+
*
5+
* DAPLink Interface Firmware
6+
* Copyright (c) 2020 - 2021 NXP, All Rights Reserved
7+
* SPDX-License-Identifier: Apache-2.0
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License"); you may
10+
* not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
*/
21+
22+
#include "target_board.h"
23+
#include "target_family.h"
24+
25+
const board_info_t g_board_info = {
26+
.info_version = kBoardInfoVersion,
27+
.board_id = "0244",
28+
.family_id = kNXP_Mimxrt_FamilyID,
29+
.flags = kEnablePageErase,
30+
.daplink_url_name = "PRODINFOHTM",
31+
.daplink_drive_name = "RT1170-EVK",
32+
.daplink_target_url = "http://www.nxp.com/imxrt1170evk",
33+
.target_cfg = &target_device,
34+
.board_vendor = "NXP",
35+
.board_name = "MIMXRT1170-EVK",
36+
};

0 commit comments

Comments
 (0)