Skip to content

Commit 1d60e04

Browse files
authored
Merge pull request #195 from MikroElektronika/new-feature/boards/63
Merge branch new-feature/boards/63 into master
2 parents 8c97ef3 + 692e605 commit 1d60e04

File tree

7 files changed

+176
-0
lines changed

7 files changed

+176
-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 "MPLAB_STARTER_KIT_FOR_PIC24F_MCUS")
2+
set(BOARD_PATH "include/boards/board_mplab_starter_kit_for_pic24f_mcus")
3+
set(MCU_CARD FALSE)
4+
set(SHIELD FALSE)
5+
endif()
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
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 "MPLab Starter Kit For PIC24F MCUs"
53+
54+
#include "hal_target.h"
55+
56+
// OLED Display
57+
#define DISPLAY_CONNECTOR_DC1_D1 // Pin not routed
58+
#define DISPLAY_CONNECTOR_DC1_D2 // Pin not routed
59+
#define DISPLAY_CONNECTOR_DC1_D3 // Pin not routed
60+
#define DISPLAY_CONNECTOR_DC1_D4 // Pin not routed
61+
#define DISPLAY_CONNECTOR_DC1_D5 // Pin not routed
62+
#define DISPLAY_CONNECTOR_DC1_D6 // Pin not routed
63+
#define DISPLAY_CONNECTOR_DC1_D7 // Pin not routed
64+
#define DISPLAY_CONNECTOR_DC1_D8 // Pin not routed
65+
#define DISPLAY_CONNECTOR_DC1_D9 // Pin not routed
66+
#define DISPLAY_CONNECTOR_DC1_D10 // Pin not routed
67+
#define DISPLAY_CONNECTOR_DC1_D11 GPIO_PD11
68+
#define DISPLAY_CONNECTOR_DC1_D12 GPIO_PD2
69+
#define DISPLAY_CONNECTOR_DC1_D13 GPIO_PB15
70+
#define DISPLAY_CONNECTOR_DC1_D14 GPIO_PD4
71+
#define DISPLAY_CONNECTOR_DC1_D15 GPIO_PD5
72+
#define DISPLAY_CONNECTOR_DC1_D16 // Pin not routed
73+
#define DISPLAY_CONNECTOR_DC1_D17 // Pin not routed
74+
#define DISPLAY_CONNECTOR_DC1_D18 GPIO_PE0
75+
#define DISPLAY_CONNECTOR_DC1_D19 GPIO_PE1
76+
#define DISPLAY_CONNECTOR_DC1_D20 GPIO_PE2
77+
#define DISPLAY_CONNECTOR_DC1_D21 GPIO_PE3
78+
#define DISPLAY_CONNECTOR_DC1_D22 GPIO_PE4
79+
#define DISPLAY_CONNECTOR_DC1_D23 GPIO_PE5
80+
#define DISPLAY_CONNECTOR_DC1_D24 GPIO_PE6
81+
#define DISPLAY_CONNECTOR_DC1_D25 GPIO_PE7
82+
#define DISPLAY_CONNECTOR_DC1_D26 // Pin not routed
83+
#define DISPLAY_CONNECTOR_DC1_D27 // Pin not routed
84+
85+
// LEDS
86+
#define LED1 GPIO_PF4 //RED
87+
#define LED2 GPIO_PG8 //GREEN
88+
#define LED3 GPIO_PG6 //BLUE
89+
90+
// CAPACITIVE ARROWS
91+
#define TOUCH_PAD1 GPIO_PB8
92+
#define TOUCH_PAD2 GPIO_PB9
93+
#define TOUCH_PAD3 GPIO_PB10
94+
#define TOUCH_PAD4 GPIO_PB11
95+
#define TOUCH_PAD5 GPIO_PB12
96+
97+
// POTENTIOMETER
98+
#define POT1 GPIO_PB0
99+
100+
#ifdef __cplusplus
101+
}
102+
#endif
103+
104+
#endif // _BOARD_H_
105+
// ------------------------------------------------------------------------- END

changelog/v2.13.1/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
Support added for following hardware:
3434

3535
+ **[2024-12-27](./new_hw/2024-12-27.md)**
36+
+ **[2024-12-30](./new_hw/2024-12-30.md)**
3637

3738
---
3839

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-12-30
12+
13+
## Changes
14+
15+
- [2024-12-30](#2024-12-30)
16+
- [Changes](#changes)
17+
- [NEW HARDWARE](#new-hardware)
18+
19+
### NEW HARDWARE
20+
21+
Support added for following hardware:
22+
23+
+ [MPLab Starter Kit For PIC24F MCUs](https://mplab-discover.microchip.com/v2/item/com.microchip.portal.evalboard/com.microchip.subcategories.modules-and-peripherals.analog.adc-modules.adc/mcu08.dm240011/1.0.0?view=about)
24+
25+
---
26+
27+
**[BACK TO PREVIOUS FILE](../changelog.md)**
28+
29+
---
13.8 KB
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"uid": "MPLAB_STARTER_KIT_FOR_PIC24F_MCUS",
3+
"name": "MPLab Starter Kit For PIC24F MCUs",
4+
"icon": "images/boards/board-mplab-starter-kit-for-pic24f-mcus.png",
5+
"default_device": "",
6+
"soldered_device": "PIC24FJ256GB106",
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_\":\"MPLAB_STARTER_KIT_FOR_PIC24F_MCUS\"}",
13+
"necto_config": "",
14+
"display": "NO_DISPLAY",
15+
"package_uid": "64/TQFP"
16+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"board_uid": "MPLAB_STARTER_KIT_FOR_PIC24F_MCUS",
3+
"tables": [
4+
{
5+
"BoardToDevice": {
6+
"device_uid": "PIC24FJ256GB106"
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)