Skip to content

Commit

Permalink
Merge pull request #145 from MikroElektronika/new-feature/boards/40
Browse files Browse the repository at this point in the history
Merge branch new-feature/boards/40 into master
  • Loading branch information
IvanRuzavin authored Nov 18, 2024
2 parents 7342b6d + f270091 commit 7d09129
Show file tree
Hide file tree
Showing 12 changed files with 359 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bsp/board/include/boards/board_chipkit_uc32/board.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if(${_MSDK_BOARD_NAME_} STREQUAL "CHIPKIT_UC32_DEVELOPMENT_BOARD")
set(BOARD_PATH "include/boards/board_chipkit_uc32")
set(MCU_CARD FALSE)
set(SHIELD FALSE)
endif()
109 changes: 109 additions & 0 deletions bsp/board/include/boards/board_chipkit_uc32/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
/****************************************************************************
**
** 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 "chipKIT UC32 Development Board"

#include "hal_target.h"

// Mapping
#define HEADER_CONNECTOR_CN5_D1 PD10
#define HEADER_CONNECTOR_CN5_D2 PD5
#define HEADER_CONNECTOR_CN5_D3 PD3
#define HEADER_CONNECTOR_CN5_D4 PD11
#define HEADER_CONNECTOR_CN5_D5 PD4
#define HEADER_CONNECTOR_CN5_D6 PD6
#define HEADER_CONNECTOR_CN5_D7 PG8
#define HEADER_CONNECTOR_CN5_D8 PD7
#define HEADER_CONNECTOR_CN5_D9 PG7
#define HEADER_CONNECTOR_CN5_D10 PF6
#define HEADER_CONNECTOR_CN5_D11 PG6
#define HEADER_CONNECTOR_CN5_D12 PF4
#define HEADER_CONNECTOR_CN5_D13 // Pin not routed
#define HEADER_CONNECTOR_CN5_D14 PF5
#define HEADER_CONNECTOR_CN5_D15 PB0
#define HEADER_CONNECTOR_CN5_D16 PB1

#define HEADER_CONNECTOR_CN6_D1 PF2
#define HEADER_CONNECTOR_CN6_D2 PE0
#define HEADER_CONNECTOR_CN6_D3 PF3
#define HEADER_CONNECTOR_CN6_D4 PE1
#define HEADER_CONNECTOR_CN6_D5 PD8
#define HEADER_CONNECTOR_CN6_D6 PE2
#define HEADER_CONNECTOR_CN6_D7 PD0
#define HEADER_CONNECTOR_CN6_D8 PE3
#define HEADER_CONNECTOR_CN6_D9 PF1
#define HEADER_CONNECTOR_CN6_D10 PE4
#define HEADER_CONNECTOR_CN6_D11 PD1
#define HEADER_CONNECTOR_CN6_D12 PE5
#define HEADER_CONNECTOR_CN6_D13 PD2
#define HEADER_CONNECTOR_CN6_D14 PE6
#define HEADER_CONNECTOR_CN6_D15 PD9
#define HEADER_CONNECTOR_CN6_D16 PE7

#define HEADER_CONNECTOR_CN7_D1 PB2
#define HEADER_CONNECTOR_CN7_D2 PB3
#define HEADER_CONNECTOR_CN7_D3 PB4
#define HEADER_CONNECTOR_CN7_D4 PB5
#define HEADER_CONNECTOR_CN7_D5 PB8
#define HEADER_CONNECTOR_CN7_D6 PB9
#define HEADER_CONNECTOR_CN7_D7 PB10
#define HEADER_CONNECTOR_CN7_D8 PB11
#define HEADER_CONNECTOR_CN7_D9 PB12
#define HEADER_CONNECTOR_CN7_D10 PB13
#define HEADER_CONNECTOR_CN7_D11 PB14
#define HEADER_CONNECTOR_CN7_D12 PB15

#ifdef __cplusplus
}
#endif

#endif // _BOARD_H_
// ------------------------------------------------------------------------- END
5 changes: 5 additions & 0 deletions bsp/board/include/boards/board_chipkit_wf32_wifi/board.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if(${_MSDK_BOARD_NAME_} STREQUAL "CHIPKIT_WF32_WIFI_DEVELOPMENT_BOARD")
set(BOARD_PATH "include/boards/board_chipkit_wf32_wifi")
set(MCU_CARD FALSE)
set(SHIELD FALSE)
endif()
137 changes: 137 additions & 0 deletions bsp/board/include/boards/board_chipkit_wf32_wifi/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
/****************************************************************************
**
** 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 "chipKIT WF32 WIFI Development Board"

#include "hal_target.h"

// Mapping
#define HEADER_CONNECTOR_CN1_D0 PF2
#define HEADER_CONNECTOR_CN1_D1 PF8
#define HEADER_CONNECTOR_CN1_D2 PE8
#define HEADER_CONNECTOR_CN1_D3 PD0
#define HEADER_CONNECTOR_CN1_D4 PF1
#define HEADER_CONNECTOR_CN1_D5 PD1
#define HEADER_CONNECTOR_CN1_D6 PD2
#define HEADER_CONNECTOR_CN1_D7 PE9
#define HEADER_CONNECTOR_CN1_D8 PA14
#define HEADER_CONNECTOR_CN1_D9 PD3
#define HEADER_CONNECTOR_CN1_D10 PD4
#define HEADER_CONNECTOR_CN1_D11 PG8
#define HEADER_CONNECTOR_CN1_D12 PG7
#define HEADER_CONNECTOR_CN1_D13 PG6
#define HEADER_CONNECTOR_CN1_D14 PB2
#define HEADER_CONNECTOR_CN1_D15 PB4
#define HEADER_CONNECTOR_CN1_D16 PB8
#define HEADER_CONNECTOR_CN1_D17 PB0
#define HEADER_CONNECTOR_CN1_D18 PB10
#define HEADER_CONNECTOR_CN1_D19 PB11
#define HEADER_CONNECTOR_CN1_D20 PB3
#define HEADER_CONNECTOR_CN1_D21 PB5
#define HEADER_CONNECTOR_CN1_D22 PB9
#define HEADER_CONNECTOR_CN1_D23 PB1
#define HEADER_CONNECTOR_CN1_D24 PB14
#define HEADER_CONNECTOR_CN1_D25 PB15
#define HEADER_CONNECTOR_CN1_D26 PE0
#define HEADER_CONNECTOR_CN1_D27 PE1
#define HEADER_CONNECTOR_CN1_D28 PE2
#define HEADER_CONNECTOR_CN1_D29 PE3
#define HEADER_CONNECTOR_CN1_D30 PE4
#define HEADER_CONNECTOR_CN1_D31 PE5
#define HEADER_CONNECTOR_CN1_D32 PE6
#define HEADER_CONNECTOR_CN1_D33 PE7
#define HEADER_CONNECTOR_CN1_D34 PD5
#define HEADER_CONNECTOR_CN1_D35 PD11
#define HEADER_CONNECTOR_CN1_D36 PD6
#define HEADER_CONNECTOR_CN1_D37 PD7
#define HEADER_CONNECTOR_CN1_D38 PC4
#define HEADER_CONNECTOR_CN1_D39 PD14
#define HEADER_CONNECTOR_CN1_D40 PD15
#define HEADER_CONNECTOR_CN1_D41 PA9
#define HEADER_CONNECTOR_CN1_D42 PA10
#define HEADER_CONNECTOR_CN1_D43 PF0
#define HEADER_CONNECTOR_CN1_D44 PG9
#define HEADER_CONNECTOR_CN1_D45 PA2
#define HEADER_CONNECTOR_CN1_D46 PA3
#define HEADER_CONNECTOR_CN1_D47 PA0
#define HEADER_CONNECTOR_CN1_D48 PA1
#define HEADER_CONNECTOR_CN1_D49 PG15
#define HEADER_CONNECTOR_CN1_D50 PG14
#define HEADER_CONNECTOR_CN1_D51 PG12
#define HEADER_CONNECTOR_CN1_D52 PG13
#define HEADER_CONNECTOR_CN1_D53 PF13
#define HEADER_CONNECTOR_CN1_D54 PF12
#define HEADER_CONNECTOR_CN1_D55 PF4
#define HEADER_CONNECTOR_CN1_D56 PF5
#define HEADER_CONNECTOR_CN1_D57 PA15
#define HEADER_CONNECTOR_CN1_D58 PG1
#define HEADER_CONNECTOR_CN1_D59 PG0
#define HEADER_CONNECTOR_CN1_D60 PB12
#define HEADER_CONNECTOR_CN1_D61 PB13
#define HEADER_CONNECTOR_CN1_D62 PA4
#define HEADER_CONNECTOR_CN1_D63 PA5
#define HEADER_CONNECTOR_CN1_D64 PD13
#define HEADER_CONNECTOR_CN1_D65 PA6
#define HEADER_CONNECTOR_CN1_D66 PA7
#define HEADER_CONNECTOR_CN1_D67 PC1
#define HEADER_CONNECTOR_CN1_D68 PC2
#define HEADER_CONNECTOR_CN1_D69 PC3
#define HEADER_CONNECTOR_CN1_D70 PD8
#define HEADER_CONNECTOR_CN1_D71 PD9
#define HEADER_CONNECTOR_CN1_D72 PD10
#define HEADER_CONNECTOR_CN1_D73 PD12

#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 @@ -48,6 +48,7 @@ Support added for following hardware:
+ **[2024-11-13](./new_hw/2024-11-13.md)**
+ **[2024-11-14](./new_hw/2024-11-14.md)**
+ **[2024-11-15](./new_hw/2024-11-15.md)**
+ **[2024-11-18](./new_hw/2024-11-18.md)**

---

Expand Down
30 changes: 30 additions & 0 deletions changelog/v2.12.0/new_hw/2024-11-18.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<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-11-18

## Changes

- [2024-11-18](#2024-11-18)
- [Changes](#changes)
- [NEW HARDWARE](#new-hardware)

### NEW HARDWARE

Support added for following hardware:

+ [ChipKit UC32 Development Board](https://mplab-discover.microchip.com/v2/item/com.microchip.portal.evalboard/com.microchip.subcategories.modules-and-peripherals.communication.can.Others/mcu08.tdgl017/1.0.0?view=about)
+ [ChipKit WF32 WiFi Development Board](https://mplab-discover.microchip.com/v2/item/com.microchip.portal.evalboard/com.microchip.subcategories.modules-and-peripherals.communication.can.Others/mcu08.tdgl021/1.0.0?view=about)

---

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

---
Binary file added resources/images/boards/board-chipkit-uc32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions resources/queries/boards/board_chipkit_uc32/Boards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"uid": "CHIPKIT_UC32_DEVELOPMENT_BOARD",
"name": "ChipKit UC32 Development Board",
"icon": "images/boards/board-chipkit-uc32.png",
"default_device": "",
"soldered_device": "PIC32MX340F512H",
"category": "Development Systems",
"mikrobus_count": 0,
"sort_order": 6,
"min_pin_count": 0,
"display_socket": "NO_DISPLAY",
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"CHIPKIT_UC32_DEVELOPMENT_BOARD\"}",
"necto_config": "",
"display": "NO_DISPLAY",
"package_uid": "64/TQFP"
}
20 changes: 20 additions & 0 deletions resources/queries/boards/board_chipkit_uc32/LinkerTables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"board_uid": "CHIPKIT_UC32_DEVELOPMENT_BOARD",
"tables": [
{
"BoardToDevice": {
"device_uid": "PIC32MX340F512H"
}
},
{
"BoardToSocket": {
"socket_uid": ["NONE"]
}
},
{
"SDKToBoard": {
"sdk_uid": "2.11.2+"
}
}
]
}
16 changes: 16 additions & 0 deletions resources/queries/boards/board_chipkit_wf32_wifi/Boards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"uid": "CHIPKIT_WF32_WIFI_DEVELOPMENT_BOARD",
"name": "ChipKit WF32 WiFi Development Board",
"icon": "images/boards/board-chipkit-wf32-wifi.png",
"default_device": "",
"soldered_device": "PIC32MX695F512L",
"category": "Development Systems",
"mikrobus_count": 0,
"sort_order": 6,
"min_pin_count": 0,
"display_socket": "NO_DISPLAY",
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"CHIPKIT_WF32_WIFI_DEVELOPMENT_BOARD\"}",
"necto_config": "",
"display": "NO_DISPLAY",
"package_uid": "100/TQFP"
}
20 changes: 20 additions & 0 deletions resources/queries/boards/board_chipkit_wf32_wifi/LinkerTables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"board_uid": "CHIPKIT_WF32_WIFI_DEVELOPMENT_BOARD",
"tables": [
{
"BoardToDevice": {
"device_uid": "PIC32MX695F512L"
}
},
{
"BoardToSocket": {
"socket_uid": ["NONE"]
}
},
{
"SDKToBoard": {
"sdk_uid": "2.11.2+"
}
}
]
}

0 comments on commit 7d09129

Please sign in to comment.