Skip to content

Commit 4bcea28

Browse files
authored
Merge pull request #148 from MikroElektronika/new-feature/boards/42
Merge branch new-feature/boards/42 into master
2 parents 6e1a494 + a258543 commit 4bcea28

File tree

7 files changed

+146
-0
lines changed

7 files changed

+146
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if(${_MSDK_BOARD_NAME_} STREQUAL "PIC32_BLUETOOTH_STARTER_KIT")
2+
set(BOARD_PATH "include/boards/board_starter_kit_pic32_bluetooth")
3+
set(MCU_CARD FALSE)
4+
set(SHIELD FALSE)
5+
endif()
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/****************************************************************************
2+
**
3+
** Copyright (C) ${COPYRIGHT_YEAR} MikroElektronika d.o.o.
4+
** Contact: https://www.mikroe.com/contact
5+
**
6+
** This file is part of the mikroSDK package
7+
**
8+
** Commercial License Usage
9+
**
10+
** Licensees holding valid commercial NECTO compilers AI licenses may use this
11+
** file in accordance with the commercial license agreement provided with the
12+
** Software or, alternatively, in accordance with the terms contained in
13+
** a written agreement between you and The MikroElektronika Company.
14+
** For licensing terms and conditions see
15+
** https://www.mikroe.com/legal/software-license-agreement.
16+
** For further information use the contact form at
17+
** https://www.mikroe.com/contact.
18+
**
19+
**
20+
** GNU Lesser General Public License Usage
21+
**
22+
** Alternatively, this file may be used for
23+
** non-commercial projects under the terms of the GNU Lesser
24+
** General Public License version 3 as published by the Free Software
25+
** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html.
26+
**
27+
** The above copyright notice and this permission notice shall be
28+
** included in all copies or substantial portions of the Software.
29+
**
30+
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31+
** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
32+
** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33+
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
34+
** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
35+
** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
36+
** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37+
**
38+
****************************************************************************/
39+
/*!
40+
* @file board.h
41+
* @brief Main board pin mapping.
42+
*/
43+
44+
#ifndef _BOARD_H_
45+
#define _BOARD_H_
46+
47+
#ifdef __cplusplus
48+
extern "C"
49+
{
50+
#endif
51+
52+
#define BOARD_NAME "PIC32 BLUETOOTH STARTER KIT"
53+
54+
#include "hal_target.h"
55+
56+
// Mapping
57+
#define HEADER_CONNECTOR_CN1_D3 RC6
58+
#define HEADER_CONNECTOR_CN1_D4 PB1
59+
#define HEADER_CONNECTOR_CN1_D5 PC7
60+
#define HEADER_CONNECTOR_CN1_D6 PC2
61+
#define HEADER_CONNECTOR_CN1_D7 PB8
62+
#define HEADER_CONNECTOR_CN1_D8 PB5
63+
#define HEADER_CONNECTOR_CN1_D9 PB9
64+
#define HEADER_CONNECTOR_CN1_D10 PB4
65+
#define HEADER_CONNECTOR_CN1_D11 PA8
66+
#define HEADER_CONNECTOR_CN1_D12 PB14
67+
#define HEADER_CONNECTOR_CN1_D13 PA9
68+
#define HEADER_CONNECTOR_CN1_D14 PC1
69+
70+
#ifdef __cplusplus
71+
}
72+
#endif
73+
74+
#endif // _BOARD_H_
75+
// ------------------------------------------------------------------------- END

changelog/v2.12.0/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Support added for following hardware:
5151
+ **[2024-11-18](./new_hw/2024-11-18.md)**
5252
+ **[2024-11-19](./new_hw/2024-11-19.md)**
5353
+ **[2024-11-20](./new_hw/2024-11-20.md)**
54+
+ **[2024-11-21](./new_hw/2024-11-21.md)**
5455

5556
---
5657

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<p align="center">
2+
<img src="http://www.mikroe.com/img/designs/beta/logo_small.png?raw=true" alt="MikroElektronika"/>
3+
</p>
4+
5+
---
6+
7+
**[BACK TO PREVIOUS FILE](../changelog.md)**
8+
9+
---
10+
11+
# 2024-11-21
12+
13+
## Changes
14+
15+
- [2024-11-21](#2024-11-21)
16+
- [Changes](#changes)
17+
- [NEW HARDWARE](#new-hardware)
18+
19+
### NEW HARDWARE
20+
21+
Support added for following hardware:
22+
23+
+ [PIC32 Bluetooth Starter Kit](https://mplab-discover.microchip.com/v2/item/com.microchip.portal.evalboard/com.microchip.subcategories.modules-and-peripherals.analog.dac/mcu08.dm320018/1.0.0?view=about)
24+
25+
---
26+
27+
**[BACK TO PREVIOUS FILE](../changelog.md)**
28+
29+
---
23.3 KB
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"uid": "PIC32_BLUETOOTH_STARTER_KIT",
3+
"name": "PIC32 Bluetooth Starter Kit",
4+
"icon": "images/boards/board-starter-kit-pic32-bluetooth.png",
5+
"default_device": "",
6+
"soldered_device": "PIC32MX270F256D",
7+
"category": "Starter boards",
8+
"mikrobus_count": 0,
9+
"sort_order": 7,
10+
"min_pin_count": 0,
11+
"display_socket": "NO_DISPLAY",
12+
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"PIC32_BLUETOOTH_STARTER_KIT\"}",
13+
"necto_config": "",
14+
"display": "NO_DISPLAY",
15+
"package_uid": "44/TQFP"
16+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"board_uid": "PIC32_BLUETOOTH_STARTER_KIT",
3+
"tables": [
4+
{
5+
"BoardToDevice": {
6+
"device_uid": "PIC32MX270F256D"
7+
}
8+
},
9+
{
10+
"BoardToSocket": {
11+
"socket_uid": ["NONE"]
12+
}
13+
},
14+
{
15+
"SDKToBoard": {
16+
"sdk_uid": "2.11.2+"
17+
}
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)