Skip to content

Commit

Permalink
Add project files for MAX32625PICO
Browse files Browse the repository at this point in the history
Signed-off-by: Sadik Ozer <[email protected]>
  • Loading branch information
ozersa authored and mathias-arm committed Oct 19, 2023
1 parent 19f797f commit a668f79
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 54 deletions.
4 changes: 4 additions & 0 deletions projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@ projects:
- *module_if
- *module_hic_max32620
- records/board/max32625mbed.yaml
max32625_max32625pico_if:
- *module_if
- *module_hic_max32625
- records/board/max32625pico.yaml
max32625_max32620fthr_if:
- *module_if
- *module_hic_max32625
Expand Down
7 changes: 7 additions & 0 deletions records/board/max32625pico.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
common:
sources:
board:
- source/board/max32625pico.c
family:
- source/family/maxim/max32625/target.c
- source/family/maxim/target_reset_max32xxx.c
35 changes: 35 additions & 0 deletions source/board/max32625pico.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* @file max32625pico.c
* @brief board ID for the Analog Devices's MAX32625PICO
*
* Copyright (c) 2023 Analog Devices, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "target_family.h"
#include "target_board.h"

const board_info_t g_board_info = {
.info_version = kBoardInfoVersion,
.board_id = "0416",
.family_id = kMaxim_MAX3262X_FamilyID,
.flags = kEnablePageErase,
.target_cfg = &target_device,
.daplink_url_name = "MAX32625HTM",
.daplink_target_url = "http://www.analog.com/max32625pico",
.board_vendor = "Analog Devices",
.board_name = "MAX32625PICO",
};
54 changes: 0 additions & 54 deletions source/family/maxim/max32625/target_reset.c

This file was deleted.

4 changes: 4 additions & 0 deletions test/info.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#
# DAPLink Interface Firmware
# Copyright (c) 2009-2019, ARM Limited, All Rights Reserved
# Portions Copyright (c) 2023 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down Expand Up @@ -92,6 +93,7 @@
('lpc11u35_musca_b_if', False, 0x0000, "bin" ),
('lpc11u35_musca_b_eflash_if', False, 0x0000, "bin" ),
('max32620_max32625mbed_if', False, 0x0000, "bin" ),
('max32625_max32625pico_if', False, 0x0000, "bin" ),
('max32625_max32620fthr_if', False, 0x0000, "bin" ),
('max32625_max32630fthr_if', False, 0x0000, "bin" ),
('max32625_max32660evsys_if', False, 0x0000, "bin" ),
Expand Down Expand Up @@ -173,6 +175,7 @@ def VENDOR_TO_FAMILY(x, y) : return (VENDOR_ID[x] <<8) | y
( 0x0360, VENDOR_TO_FAMILY('NXP', 6), 'lpc4322_hani_iot_if', 'lpc4322_bl', 'HANI-IOT' ),
( 0x0409, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32630fthr_if', 'max32625_bl', 'MAX32630' ),
( 0x0415, VENDOR_TO_FAMILY('Stub', 1), 'max32620_max32625mbed_if', 'max32620_bl', 'MAX32625' ),
( 0x0416, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32625pico_if', 'max32625_bl', 'MAX32625' ),
( 0x0418, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32620fthr_if', 'max32625_bl', 'MAX32620' ),
( 0x0421, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32660evsys_if', 'max32625_bl', 'MAX32660' ),
( 0x0422, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32666fthr_if', 'max32625_bl', 'MAX32666' ),
Expand Down Expand Up @@ -305,6 +308,7 @@ def VENDOR_TO_FAMILY(x, y) : return (VENDOR_ID[x] <<8) | y
0x0311, # K66F
0x0409, # MAX32630FTHR
0x0415, # MAX32625MBED
0x0416, # MAX32625PICO
0x0418, # MAX32620FTHR
0x0421, # MAX32660EVSYS
0x0422, # MAX32666FTHR
Expand Down

0 comments on commit a668f79

Please sign in to comment.