diff --git a/bsp/board/include/boards/board_mini_32/board.cmake b/bsp/board/include/boards/board_mini_32/board.cmake new file mode 100644 index 000000000..0e7ad5cb3 --- /dev/null +++ b/bsp/board/include/boards/board_mini_32/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "MINI_32_BOARD") + set(BOARD_PATH "include/boards/board_mini_32") + set(MCU_CARD FALSE) + set(SHIELD FALSE) +endif() diff --git a/bsp/board/include/boards/board_mini_32/board.h b/bsp/board/include/boards/board_mini_32/board.h new file mode 100644 index 000000000..889d61414 --- /dev/null +++ b/bsp/board/include/boards/board_mini_32/board.h @@ -0,0 +1,99 @@ +/**************************************************************************** +** +** 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 "MINI-32 BOARD" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN1_D1 PB7 +#define HEADER_CONNECTOR_CN1_D2 PB6 +#define HEADER_CONNECTOR_CN1_D3 PD3 +#define HEADER_CONNECTOR_CN1_D4 PD2 +#define HEADER_CONNECTOR_CN1_D5 PD1 +#define HEADER_CONNECTOR_CN1_D6 PD10 +#define HEADER_CONNECTOR_CN1_D7 PD9 +#define HEADER_CONNECTOR_CN1_D8 PD8 +#define HEADER_CONNECTOR_CN1_D11 PE7 +#define HEADER_CONNECTOR_CN1_D12 PE6 +#define HEADER_CONNECTOR_CN1_D13 PE5 +#define HEADER_CONNECTOR_CN1_D14 PE4 +#define HEADER_CONNECTOR_CN1_D15 PF4 +#define HEADER_CONNECTOR_CN1_D16 PF5 +#define HEADER_CONNECTOR_CN1_D17 PG8 +#define HEADER_CONNECTOR_CN1_D18 PG7 +#define HEADER_CONNECTOR_CN1_D19 PE3 +#define HEADER_CONNECTOR_CN1_D20 PE2 + +#define HEADER_CONNECTOR_CN2_D2 PB5 +#define HEADER_CONNECTOR_CN2_D3 PB4 +#define HEADER_CONNECTOR_CN2_D4 PB1 +#define HEADER_CONNECTOR_CN2_D5 PB0 +#define HEADER_CONNECTOR_CN2_D6 PD11 +#define HEADER_CONNECTOR_CN2_D7 PB9 +#define HEADER_CONNECTOR_CN2_D8 PD5 +#define HEADER_CONNECTOR_CN2_D9 PD4 +#define HEADER_CONNECTOR_CN2_D10 PB8 +#define HEADER_CONNECTOR_CN2_D13 PF1 +#define HEADER_CONNECTOR_CN2_D14 PF0 +#define HEADER_CONNECTOR_CN2_D15 PB14 +#define HEADER_CONNECTOR_CN2_D16 PB15 +#define HEADER_CONNECTOR_CN2_D17 PD0 +#define HEADER_CONNECTOR_CN2_D18 PG6 +#define HEADER_CONNECTOR_CN2_D19 PE0 +#define HEADER_CONNECTOR_CN2_D20 PE1 + +#ifdef __cplusplus +} +#endif + +#endif // _BOARD_H_ +// ------------------------------------------------------------------------- END diff --git a/changelog/v2.12.0/changelog.md b/changelog/v2.12.0/changelog.md index a7493e998..12f478e16 100644 --- a/changelog/v2.12.0/changelog.md +++ b/changelog/v2.12.0/changelog.md @@ -50,6 +50,7 @@ Support added for following hardware: + **[2024-11-15](./new_hw/2024-11-15.md)** + **[2024-11-18](./new_hw/2024-11-18.md)** + **[2024-11-19](./new_hw/2024-11-19.md)** ++ **[2024-11-20](./new_hw/2024-11-20.md)** --- diff --git a/changelog/v2.12.0/new_hw/2024-11-20.md b/changelog/v2.12.0/new_hw/2024-11-20.md new file mode 100644 index 000000000..56db9878a --- /dev/null +++ b/changelog/v2.12.0/new_hw/2024-11-20.md @@ -0,0 +1,29 @@ +
+ +
+ +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- + +# 2024-11-20 + +## Changes + +- [2024-11-20](#2024-11-20) + - [Changes](#changes) + - [NEW HARDWARE](#new-hardware) + +### NEW HARDWARE + +Support added for following hardware: + ++ [Mini-32 Board](https://mplab-discover.microchip.com/v2/item/com.microchip.portal.evalboard/com.microchip.subcategories.modules-and-peripherals.communication.can.Others/mcu08.tmik015/1.0.0?view=about) + +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- diff --git a/resources/images/boards/board-mini-32.png b/resources/images/boards/board-mini-32.png new file mode 100644 index 000000000..e728d6bb9 Binary files /dev/null and b/resources/images/boards/board-mini-32.png differ diff --git a/resources/queries/boards/board_mini_32/Boards.json b/resources/queries/boards/board_mini_32/Boards.json new file mode 100644 index 000000000..3bff031a3 --- /dev/null +++ b/resources/queries/boards/board_mini_32/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "MINI_32_BOARD", + "name": "Mini-32 Board", + "icon": "images/boards/board-mini-32.png", + "default_device": "", + "soldered_device": "PIC32MX534F064H", + "category": "Starter boards", + "mikrobus_count": 0, + "sort_order": 7, + "min_pin_count": 0, + "display_socket": "NO_DISPLAY", + "sdk_config": "{\"_MSDK_BOARD_NAME_\":\"MINI_32_BOARD\"}", + "necto_config": "", + "display": "NO_DISPLAY", + "package_uid": "64/TQFP" +} diff --git a/resources/queries/boards/board_mini_32/LinkerTables.json b/resources/queries/boards/board_mini_32/LinkerTables.json new file mode 100644 index 000000000..624919d53 --- /dev/null +++ b/resources/queries/boards/board_mini_32/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "MINI_32_BOARD", + "tables": [ + { + "BoardToDevice": { + "device_uid": "PIC32MX534F064H" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +}