Skip to content

Commit a668f79

Browse files
ozersamathias-arm
authored andcommitted
Add project files for MAX32625PICO
Signed-off-by: Sadik Ozer <[email protected]>
1 parent 19f797f commit a668f79

File tree

5 files changed

+50
-54
lines changed

5 files changed

+50
-54
lines changed

projects.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,10 @@ projects:
518518
- *module_if
519519
- *module_hic_max32620
520520
- records/board/max32625mbed.yaml
521+
max32625_max32625pico_if:
522+
- *module_if
523+
- *module_hic_max32625
524+
- records/board/max32625pico.yaml
521525
max32625_max32620fthr_if:
522526
- *module_if
523527
- *module_hic_max32625

records/board/max32625pico.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/max32625pico.c
5+
family:
6+
- source/family/maxim/max32625/target.c
7+
- source/family/maxim/target_reset_max32xxx.c

source/board/max32625pico.c

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/**
2+
* @file max32625pico.c
3+
* @brief board ID for the Analog Devices's MAX32625PICO
4+
*
5+
* Copyright (c) 2023 Analog Devices, Inc.
6+
*
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 = "0416",
28+
.family_id = kMaxim_MAX3262X_FamilyID,
29+
.flags = kEnablePageErase,
30+
.target_cfg = &target_device,
31+
.daplink_url_name = "MAX32625HTM",
32+
.daplink_target_url = "http://www.analog.com/max32625pico",
33+
.board_vendor = "Analog Devices",
34+
.board_name = "MAX32625PICO",
35+
};

source/family/maxim/max32625/target_reset.c

Lines changed: 0 additions & 54 deletions
This file was deleted.

test/info.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#
22
# DAPLink Interface Firmware
33
# Copyright (c) 2009-2019, ARM Limited, All Rights Reserved
4+
# Portions Copyright (c) 2023 Analog Devices, Inc.
45
# SPDX-License-Identifier: Apache-2.0
56
#
67
# Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -92,6 +93,7 @@
9293
('lpc11u35_musca_b_if', False, 0x0000, "bin" ),
9394
('lpc11u35_musca_b_eflash_if', False, 0x0000, "bin" ),
9495
('max32620_max32625mbed_if', False, 0x0000, "bin" ),
96+
('max32625_max32625pico_if', False, 0x0000, "bin" ),
9597
('max32625_max32620fthr_if', False, 0x0000, "bin" ),
9698
('max32625_max32630fthr_if', False, 0x0000, "bin" ),
9799
('max32625_max32660evsys_if', False, 0x0000, "bin" ),
@@ -173,6 +175,7 @@ def VENDOR_TO_FAMILY(x, y) : return (VENDOR_ID[x] <<8) | y
173175
( 0x0360, VENDOR_TO_FAMILY('NXP', 6), 'lpc4322_hani_iot_if', 'lpc4322_bl', 'HANI-IOT' ),
174176
( 0x0409, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32630fthr_if', 'max32625_bl', 'MAX32630' ),
175177
( 0x0415, VENDOR_TO_FAMILY('Stub', 1), 'max32620_max32625mbed_if', 'max32620_bl', 'MAX32625' ),
178+
( 0x0416, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32625pico_if', 'max32625_bl', 'MAX32625' ),
176179
( 0x0418, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32620fthr_if', 'max32625_bl', 'MAX32620' ),
177180
( 0x0421, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32660evsys_if', 'max32625_bl', 'MAX32660' ),
178181
( 0x0422, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32666fthr_if', 'max32625_bl', 'MAX32666' ),
@@ -305,6 +308,7 @@ def VENDOR_TO_FAMILY(x, y) : return (VENDOR_ID[x] <<8) | y
305308
0x0311, # K66F
306309
0x0409, # MAX32630FTHR
307310
0x0415, # MAX32625MBED
311+
0x0416, # MAX32625PICO
308312
0x0418, # MAX32620FTHR
309313
0x0421, # MAX32660EVSYS
310314
0x0422, # MAX32666FTHR

0 commit comments

Comments
 (0)