Skip to content

Commit

Permalink
Merge pull request #155 from MikroElektronika/new-feature/boards/47
Browse files Browse the repository at this point in the history
Merge branch new-feature/boards/47 into master
  • Loading branch information
IvanRuzavin authored Dec 2, 2024
2 parents 3e4d8b3 + 956e911 commit 25b7a43
Show file tree
Hide file tree
Showing 7 changed files with 181 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if(${_MSDK_BOARD_NAME_} STREQUAL "MPLAB_FOR_PIC32_MX_STARTER_KIT")
set(BOARD_PATH "include/boards/board_starter_kit_mplab_for_pic32mx1_2")
set(MCU_CARD FALSE)
set(SHIELD FALSE)
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
/****************************************************************************
**
** Copyright (C) ${COPYRIGHT_YEAR} MikroElektronika d.o.o.
** Contact: https://www.mikroe.com/contact
**
** This file is part of the mikroSDK package
**
** Commercial License Usage
**
** Licensees holding valid commercial NECTO compilers AI licenses may use this
** file in accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The MikroElektronika Company.
** For licensing terms and conditions see
** https://www.mikroe.com/legal/software-license-agreement.
** For further information use the contact form at
** https://www.mikroe.com/contact.
**
**
** GNU Lesser General Public License Usage
**
** Alternatively, this file may be used for
** non-commercial projects under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html.
**
** The above copyright notice and this permission notice shall be
** included in all copies or substantial portions of the Software.
**
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**
****************************************************************************/
/*!
* @file board.h
* @brief Main board pin mapping.
*/

#ifndef _BOARD_H_
#define _BOARD_H_

#ifdef __cplusplus
extern "C"
{
#endif

#define BOARD_NAME "MPLAB STARTER KIT FOR PIC32MX1XX/2XX"

#include "hal_target.h"

// Mapping
#define HEADER_CONNECTOR_CN1_D1 PB9
#define HEADER_CONNECTOR_CN1_D2 PC6
#define HEADER_CONNECTOR_CN1_D3 PC7
#define HEADER_CONNECTOR_CN1_D4 PC8
#define HEADER_CONNECTOR_CN1_D5 PC9
#define HEADER_CONNECTOR_CN1_D8 PB10
#define HEADER_CONNECTOR_CN1_D9 PB11
#define HEADER_CONNECTOR_CN1_D11 PB13
#define HEADER_CONNECTOR_CN1_D12 PA10
#define HEADER_CONNECTOR_CN1_D13 PA7
#define HEADER_CONNECTOR_CN1_D14 PB14
#define HEADER_CONNECTOR_CN1_D15 PB15
#define HEADER_CONNECTOR_CN1_D19 PA0
#define HEADER_CONNECTOR_CN1_D20 PA1
#define HEADER_CONNECTOR_CN1_D21 PB0
#define HEADER_CONNECTOR_CN1_D22 PB1
#define HEADER_CONNECTOR_CN1_D23 PB2
#define HEADER_CONNECTOR_CN1_D24 PB3
#define HEADER_CONNECTOR_CN1_D25 PC0
#define HEADER_CONNECTOR_CN1_D26 PC1
#define HEADER_CONNECTOR_CN1_D27 PC2
#define HEADER_CONNECTOR_CN1_D30 PA2
#define HEADER_CONNECTOR_CN1_D31 PA3
#define HEADER_CONNECTOR_CN1_D32 PA8
#define HEADER_CONNECTOR_CN1_D33 PB4
#define HEADER_CONNECTOR_CN1_D34 PA4
#define HEADER_CONNECTOR_CN1_D35 PA9
#define HEADER_CONNECTOR_CN1_D36 PC3
#define HEADER_CONNECTOR_CN1_D37 PC4
#define HEADER_CONNECTOR_CN1_D38 PC5
#define HEADER_CONNECTOR_CN1_D41 PB5
#define HEADER_CONNECTOR_CN1_D43 PB7
#define HEADER_CONNECTOR_CN1_D44 PB8

// LCD
#define LCD_RST PC5
#define LCD_DB0 PD0
#define LCD_DB1 PD1
#define LCD_DB2 PD2
#define LCD_DB3 PD3
#define LCD_DB4 PD4
#define LCD_DB5 PD5
#define LCD_DB6 PD6
#define LCD_DB7 PD7
#define LCD_RD PB3
#define LCD_WR PB13
#define LCD_D_C RB5

#ifdef __cplusplus
}
#endif

#endif // _BOARD_H_
// ------------------------------------------------------------------------- END
1 change: 1 addition & 0 deletions changelog/v2.12.0/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Support added for following hardware:
+ **[2024-11-27](./new_hw/2024-11-27.md)**
+ **[2024-11-28](./new_hw/2024-11-28.md)**
+ **[2024-11-29](./new_hw/2024-11-29.md)**
+ **[2024-12-02](./new_hw/2024-12-02.md)**

---

Expand Down
29 changes: 29 additions & 0 deletions changelog/v2.12.0/new_hw/2024-12-02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<p align="center">
<img src="http://www.mikroe.com/img/designs/beta/logo_small.png?raw=true" alt="MikroElektronika"/>
</p>

---

**[BACK TO PREVIOUS FILE](../changelog.md)**

---

# 2024-12-02

## Changes

- [2024-12-02](#2024-12-02)
- [Changes](#changes)
- [NEW HARDWARE](#new-hardware)

### NEW HARDWARE

Support added for following hardware:

+ [MPLab Starter Kit For PIC32MX1xx/2xx](https://mplab-discover.microchip.com/v2/item/com.microchip.portal.evalboard/com.microchip.subcategories.tools.development-boards/mcu08.dm320013/1.0.0?view=about)

---

**[BACK TO PREVIOUS FILE](../changelog.md)**

---
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"uid": "MPLAB_FOR_PIC32_MX_STARTER_KIT",
"name": "MPLab Starter Kit For PIC32MX1xx/2xx",
"icon": "images/boards/board-starter-kit-mplab-for-pic32mx1-2.png",
"default_device": "",
"soldered_device": "PIC32MX250F128D",
"category": "Starter boards",
"mikrobus_count": 0,
"sort_order": 7,
"min_pin_count": 0,
"display_socket": "NO_DISPLAY",
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"MPLAB_FOR_PIC32_MX_STARTER_KIT\"}",
"necto_config": "",
"display": "NO_DISPLAY",
"package_uid": "44/TQFP"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"board_uid": "MPLAB_FOR_PIC32_MX_STARTER_KIT",
"tables": [
{
"BoardToDevice": {
"device_uid": "PIC32MX250F128D"
}
},
{
"BoardToSocket": {
"socket_uid": ["NONE"]
}
},
{
"SDKToBoard": {
"sdk_uid": "2.11.2+"
}
}
]
}

0 comments on commit 25b7a43

Please sign in to comment.