Skip to content

Commit 093b009

Browse files
authored
Merge pull request #168 from ogatatsu/AE-BL652-BO
add akizukidenshi AE-BL652-BO
2 parents 35e8ad9 + cf72b29 commit 093b009

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This is a CDC/DFU/UF2 bootloader for nRF52 boards.
1111
- [Adafruit Feather nRF52840 Sense](https://www.adafruit.com/product/4516)
1212
- [Adafruit ItsyBitsy nRF52840 Express](https://www.adafruit.com/product/4481)
1313
- Adafruit Metro nRF52840 Express
14+
- [Akizukidenshi AE-BL652-BO](https://akizukidenshi.com/catalog/g/gK-15567/)
1415
- [Electronut Labs Papyr](https://docs.electronut.in/papyr/)
1516
- [MakerDiary MDK nRF52840 USB Dongle](https://makerdiary.com/products/nrf52840-mdk-usb-dongle)
1617
- [MakerDiary nRF52840 M.2 Module](https://makerdiary.com/products/nrf52840-m2-module)

src/boards/ae_bl652_bo/board.h

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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 _AE_BL652_BO_H
26+
#define _AE_BL652_BO_H
27+
28+
/*------------------------------------------------------------------*/
29+
/* LED
30+
*------------------------------------------------------------------*/
31+
#define LEDS_NUMBER 2
32+
#define LED_PRIMARY_PIN 17 // LED1
33+
#define LED_SECONDARY_PIN 19 // LED2
34+
#define LED_STATE_ON 1
35+
36+
/*------------------------------------------------------------------*/
37+
/* BUTTON
38+
*------------------------------------------------------------------*/
39+
#define BUTTONS_NUMBER 2
40+
#define BUTTON_1 11 // BTN1
41+
#define BUTTON_2 15 // BTN2
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 "Akizuki Denshi Tsusho"
57+
#define BLEDIS_MODEL "AE-BL652-BO"
58+
59+
#endif // _AE_BL652_BO_H

src/boards/ae_bl652_bo/board.mk

Lines changed: 2 additions & 0 deletions
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)