Skip to content

Commit 39ad59b

Browse files
mazgchc1728p9
authored andcommitted
Add files via upload
1 parent d9201dd commit 39ad59b

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

source/board/nina_b1.c

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* @file nina_b1.c
3+
* @brief board ID for the u-blox NINA-B1 EVA maker board
4+
*
5+
* DAPLink Interface Firmware
6+
* Copyright (c) 2009-2016, 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_config.h"
23+
24+
const char *board_id = "1235";
25+
26+
void prerun_board_config(void)
27+
{
28+
// NINA-B1 is based on nrf52
29+
extern target_cfg_t target_device_nrf52;
30+
target_device = target_device_nrf52;
31+
}

0 commit comments

Comments
 (0)