Skip to content

Commit 4329614

Browse files
authored
Merge pull request #343 from chibiegg/board_MBN52832DK
Add support Murata MBN52832DK board
2 parents bd12455 + 7f2b127 commit 4329614

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

src/boards/mbn52832dk/board.h

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2018 Ha Thach for Adafruit Industries
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in
14+
* all copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
* THE SOFTWARE.
23+
*/
24+
25+
#ifndef _MBN52832DK_H
26+
#define _MBN52832DK_H
27+
28+
/*------------------------------------------------------------------*/
29+
/* LED
30+
*------------------------------------------------------------------*/
31+
#define LEDS_NUMBER 2
32+
#define LED_PRIMARY_PIN 17 // LED1
33+
#define LED_SECONDARY_PIN 18 // LED2
34+
#define LED_STATE_ON 1
35+
36+
/*------------------------------------------------------------------*/
37+
/* BUTTON
38+
*------------------------------------------------------------------*/
39+
#define BUTTONS_NUMBER 2
40+
#define BUTTON_1 13
41+
#define BUTTON_2 14
42+
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
43+
44+
/*------------------------------------------------------------------*/
45+
/* UART (only used by nRF52832)
46+
*------------------------------------------------------------------*/
47+
#define RX_PIN_NUMBER 8
48+
#define TX_PIN_NUMBER 6
49+
#define CTS_PIN_NUMBER 0
50+
#define RTS_PIN_NUMBER 0
51+
#define HWFC false
52+
53+
//--------------------------------------------------------------------+
54+
// BLE OTA
55+
//--------------------------------------------------------------------+
56+
#define BLEDIS_MANUFACTURER "Murata"
57+
#define BLEDIS_MODEL "MBN52832DK"
58+
59+
#define UF2_BOARD_ID "nRF52832-MBN52832DK-v1"
60+
#define UF2_PRODUCT_NAME "Murata MBN52832DK"
61+
#define UF2_INDEX_URL "https://www.murata.com/ja-jp/products/connectivitymodule/bluetooth/overview/lineup/mbn52832"
62+
63+
#endif // _MBN52832DK_H

src/boards/mbn52832dk/board.mk

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# nrf52 is nrf52832
2+
MCU_SUB_VARIANT = nrf52

0 commit comments

Comments
 (0)