Skip to content

Commit 39504bd

Browse files
authored
Merge pull request #725 from millerc-ep/master
Add support for EP_KAIROS
2 parents 8e7333e + c6b5d94 commit 39504bd

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

projects.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ projects:
278278
- *module_if
279279
- *module_hic_k20dx
280280
- records/board/ep_agora.yaml
281+
k20dx_ep_kairos_if:
282+
- *module_if
283+
- *module_hic_k20dx
284+
- records/board/ep_kairos.yaml
281285
k26f_frdmk32w042_if:
282286
- *module_if
283287
- *module_hic_k26f

records/board/ep_kairos.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
common:
2+
sources:
3+
board:
4+
- source/board/ep_kairos.c
5+
family:
6+
- source/family/nxp/lpc55S6X/target.c
7+
- source/family/nxp/lpc55S6X/target_reset.c

source/board/ep_kairos.c

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* @file lpc55S69xpresso.c
3+
* @brief board ID for the NXP LPC54608Xpresso board
4+
*
5+
* DAPLink Interface Firmware
6+
* Copyright (c) 2009-2019, ARM Limited, 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_family.h"
23+
#include "target_board.h"
24+
25+
const board_info_t g_board_info = {
26+
.info_version = kBoardInfoVersion,
27+
.board_id = "2601",
28+
.family_id = VENDOR_TO_FAMILY(kNXP_VendorID, 0), //ID not maching the predefined family ids
29+
.flags = kEnablePageErase,
30+
.target_cfg = &target_device,
31+
};

test/info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
("k20dx_mimxrt1050_evk_hyper_if", True, 0x8000, "bin" ),
5858
("k20dx_mimxrt1050_evk_qspi_if", True, 0x8000, "bin" ),
5959
('k20dx_ep_agora_if', True, 0x0000, "bin" ),
60+
('k20dx_ep_kairos_if', True, 0x0000, "bin" ),
6061
("k26f_frdmk32w042_if", False, 0x8000, "bin" ),
6162
("lpc11u35_archble_if", False, 0x0000, "bin" ),
6263
("lpc11u35_archpro_if", False, 0x0000, "bin" ),
@@ -246,6 +247,7 @@ def VENDOR_TO_FAMILY(x, y) : return (VENDOR_ID[x] <<8) | y
246247
( 0x2203, VENDOR_TO_FAMILY('Wiznet', 1), 'lpc11u35_wizwiki_w7500p_if', None, 'WIZwiki-W7500P' ),
247248
( 0x2410, VENDOR_TO_FAMILY('Stub', 1), 'lpc11u35_mbed_cloud_connect_if', None, None ),
248249
( 0x2600, VENDOR_TO_FAMILY('Nordic', 2), 'k20dx_ep_agora_if', None, None ),
250+
( 0x2601, VENDOR_TO_FAMILY('NXP', 0), 'k20dx_ep_kairos_if', None, None ),
249251
( 0x3104, VENDOR_TO_FAMILY('Nordic', 2), 'lpc11u35_dipdap_sdt52832b_if', None, None ),
250252
( 0x3108, VENDOR_TO_FAMILY('Stub', 1), 'lpc11u35_dipdap_sdt32429b_if', None, None ),
251253
( 0x3105, VENDOR_TO_FAMILY('NXP', 1), 'lpc11u35_dipdap_sdt64b_if', None, None ),

0 commit comments

Comments
 (0)