From 2974286423c649f3b2c8014308e14cb9513695b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:06:35 +0000 Subject: [PATCH] Auto-merged PR from new-feature/boards/17 to master * Added release boards to new-feature/boards/17 * Updated changelog files with latest release info. --------- Co-authored-by: ivan.ruzavin Co-authored-by: strahi-linux Co-authored-by: github-actions --- .../board.cmake | 5 + .../board_nucleo_144_with_stm32f767zi/board.h | 308 ++++++++++++++++++ .../board.cmake | 5 + .../board.h | 192 +++++++++++ changelog/v2.11.2/changelog.md | 1 + changelog/v2.11.2/new_hw/2024-10-02.md | 30 ++ .../Boards.json | 16 + .../LinkerTables.json | 20 ++ .../Boards.json | 16 + .../LinkerTables.json | 20 ++ 10 files changed, 613 insertions(+) create mode 100644 bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.cmake create mode 100644 bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.h create mode 100644 bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.cmake create mode 100644 bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.h create mode 100644 changelog/v2.11.2/new_hw/2024-10-02.md create mode 100644 resources/queries/boards/board_nucleo_144_with_stm32f767zi/Boards.json create mode 100644 resources/queries/boards/board_nucleo_144_with_stm32f767zi/LinkerTables.json create mode 100644 resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/Boards.json create mode 100644 resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/LinkerTables.json diff --git a/bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.cmake b/bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.cmake new file mode 100644 index 000000000..ee6ff15b8 --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_144_WITH_STM32F767ZI") + set(BOARD_PATH "include/boards/board_nucleo_144_with_stm32f767zi") + set(MCU_CARD FALSE) + set(SHIELD TRUE) +endif() diff --git a/bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.h b/bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.h new file mode 100644 index 000000000..5a5d57c15 --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_144_with_stm32f767zi/board.h @@ -0,0 +1,308 @@ +/**************************************************************************** +** +** 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 "Nucleo-F767ZI" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN7_D1 PC6 +#define HEADER_CONNECTOR_CN7_D2 PB8 +#define HEADER_CONNECTOR_CN7_D3 PB15 +#define HEADER_CONNECTOR_CN7_D4 PB9 +#define HEADER_CONNECTOR_CN7_D5 PB13 +#define HEADER_CONNECTOR_CN7_D6 // Pin not routed +#define HEADER_CONNECTOR_CN7_D7 PB12 +#define HEADER_CONNECTOR_CN7_D8 // Pin not routed +#define HEADER_CONNECTOR_CN7_D9 PA15 +#define HEADER_CONNECTOR_CN7_D10 PA5 +#define HEADER_CONNECTOR_CN7_D11 PC7 +#define HEADER_CONNECTOR_CN7_D12 PA6 +#define HEADER_CONNECTOR_CN7_D13 PB5 +#define HEADER_CONNECTOR_CN7_D14 PA7 +#define HEADER_CONNECTOR_CN7_D15 PB3 +#define HEADER_CONNECTOR_CN7_D16 PD14 +#define HEADER_CONNECTOR_CN7_D17 PA4 +#define HEADER_CONNECTOR_CN7_D18 PD15 +#define HEADER_CONNECTOR_CN7_D19 PB4 +#define HEADER_CONNECTOR_CN7_D20 PF12 + +#define HEADER_CONNECTOR_CN8_D1 // Pin not routed +#define HEADER_CONNECTOR_CN8_D2 PC8 +#define HEADER_CONNECTOR_CN8_D3 // Pin not routed +#define HEADER_CONNECTOR_CN8_D4 PC9 +#define HEADER_CONNECTOR_CN8_D5 // Pin not routed +#define HEADER_CONNECTOR_CN8_D6 PC10 +#define HEADER_CONNECTOR_CN8_D7 // Pin not routed +#define HEADER_CONNECTOR_CN8_D8 PC11 +#define HEADER_CONNECTOR_CN8_D9 // Pin not routed +#define HEADER_CONNECTOR_CN8_D10 PC12 +#define HEADER_CONNECTOR_CN8_D11 // Pin not routed +#define HEADER_CONNECTOR_CN8_D12 PD2 +#define HEADER_CONNECTOR_CN8_D13 // Pin not routed +#define HEADER_CONNECTOR_CN8_D14 PG2 +#define HEADER_CONNECTOR_CN8_D15 // Pin not routed +#define HEADER_CONNECTOR_CN8_D16 PG3 + +#define HEADER_CONNECTOR_CN9_D1 PA3 +#define HEADER_CONNECTOR_CN9_D2 PD7 +#define HEADER_CONNECTOR_CN9_D3 PC0 +#define HEADER_CONNECTOR_CN9_D4 PD6 +#define HEADER_CONNECTOR_CN9_D5 PC3 +#define HEADER_CONNECTOR_CN9_D6 PD5 +#define HEADER_CONNECTOR_CN9_D7 PF3 +#define HEADER_CONNECTOR_CN9_D8 PD4 +#define HEADER_CONNECTOR_CN9_D9 PB9 +#define HEADER_CONNECTOR_CN9_D10 PD3 +#define HEADER_CONNECTOR_CN9_D11 PB8 +#define HEADER_CONNECTOR_CN9_D12 // Pin not routed +#define HEADER_CONNECTOR_CN9_D13 // Pin not routed +#define HEADER_CONNECTOR_CN9_D14 PE2 +#define HEADER_CONNECTOR_CN9_D15 PA7 +#define HEADER_CONNECTOR_CN9_D16 PE4 +#define HEADER_CONNECTOR_CN9_D17 PF2 +#define HEADER_CONNECTOR_CN9_D18 PE5 +#define HEADER_CONNECTOR_CN9_D19 PF1 +#define HEADER_CONNECTOR_CN9_D20 PE6 +#define HEADER_CONNECTOR_CN9_D21 PF0 +#define HEADER_CONNECTOR_CN9_D22 PE3 +#define HEADER_CONNECTOR_CN9_D23 // Pin not routed +#define HEADER_CONNECTOR_CN9_D24 PF8 +#define HEADER_CONNECTOR_CN9_D25 PD0 +#define HEADER_CONNECTOR_CN9_D26 PF7 +#define HEADER_CONNECTOR_CN9_D27 PD1 +#define HEADER_CONNECTOR_CN9_D28 PF9 +#define HEADER_CONNECTOR_CN9_D29 PG0 +#define HEADER_CONNECTOR_CN9_D30 PG1 + +#define HEADER_CONNECTOR_CN10_D1 // Pin not routed +#define HEADER_CONNECTOR_CN10_D2 PF13 +#define HEADER_CONNECTOR_CN10_D3 // Pin not routed +#define HEADER_CONNECTOR_CN10_D4 PE9 +#define HEADER_CONNECTOR_CN10_D5 // Pin not routed +#define HEADER_CONNECTOR_CN10_D6 PE11 +#define HEADER_CONNECTOR_CN10_D7 PB1 +#define HEADER_CONNECTOR_CN10_D8 PF14 +#define HEADER_CONNECTOR_CN10_D9 PC2 +#define HEADER_CONNECTOR_CN10_D10 PE13 +#define HEADER_CONNECTOR_CN10_D11 PF4 +#define HEADER_CONNECTOR_CN10_D12 PF15 +#define HEADER_CONNECTOR_CN10_D13 PB6 +#define HEADER_CONNECTOR_CN10_D14 PG14 +#define HEADER_CONNECTOR_CN10_D15 PB2 +#define HEADER_CONNECTOR_CN10_D16 PG9 +#define HEADER_CONNECTOR_CN10_D17 // Pin not routed +#define HEADER_CONNECTOR_CN10_D18 PE8 +#define HEADER_CONNECTOR_CN10_D19 PD13 +#define HEADER_CONNECTOR_CN10_D20 PE7 +#define HEADER_CONNECTOR_CN10_D21 PD12 +#define HEADER_CONNECTOR_CN10_D22 // Pin not routed +#define HEADER_CONNECTOR_CN10_D23 PD11 +#define HEADER_CONNECTOR_CN10_D24 PE10 +#define HEADER_CONNECTOR_CN10_D25 PE2 +#define HEADER_CONNECTOR_CN10_D26 PE12 +#define HEADER_CONNECTOR_CN10_D27 // Pin not routed +#define HEADER_CONNECTOR_CN10_D28 PE14 +#define HEADER_CONNECTOR_CN10_D29 PA0 +#define HEADER_CONNECTOR_CN10_D30 PE15 +#define HEADER_CONNECTOR_CN10_D31 PB0 +#define HEADER_CONNECTOR_CN10_D32 PB10 +#define HEADER_CONNECTOR_CN10_D33 PE0 +#define HEADER_CONNECTOR_CN10_D34 PB11 + +#define HEADER_CONNECTOR_CN11_D1 PC10 +#define HEADER_CONNECTOR_CN11_D2 PC11 +#define HEADER_CONNECTOR_CN11_D3 PC12 +#define HEADER_CONNECTOR_CN11_D4 PD2 +#define HEADER_CONNECTOR_CN11_D5 // Pin not routed +#define HEADER_CONNECTOR_CN11_D6 // Pin not routed +#define HEADER_CONNECTOR_CN11_D7 // Pin not routed +#define HEADER_CONNECTOR_CN11_D8 // Pin not routed +#define HEADER_CONNECTOR_CN11_D9 PF6 +#define HEADER_CONNECTOR_CN11_D10 // Pin not routed +#define HEADER_CONNECTOR_CN11_D11 PF7 +#define HEADER_CONNECTOR_CN11_D12 // Pin not routed +#define HEADER_CONNECTOR_CN11_D13 PA13 +#define HEADER_CONNECTOR_CN11_D14 // Pin not routed +#define HEADER_CONNECTOR_CN11_D15 PA14 +#define HEADER_CONNECTOR_CN11_D16 // Pin not routed +#define HEADER_CONNECTOR_CN11_D17 PA15 +#define HEADER_CONNECTOR_CN11_D18 // Pin not routed +#define HEADER_CONNECTOR_CN11_D19 // Pin not routed +#define HEADER_CONNECTOR_CN11_D20 // Pin not routed +#define HEADER_CONNECTOR_CN11_D21 PB7 +#define HEADER_CONNECTOR_CN11_D22 // Pin not routed +#define HEADER_CONNECTOR_CN11_D23 PC13 +#define HEADER_CONNECTOR_CN11_D24 // Pin not routed +#define HEADER_CONNECTOR_CN11_D25 PC14 +#define HEADER_CONNECTOR_CN11_D26 // Pin not routed +#define HEADER_CONNECTOR_CN11_D27 PC15 +#define HEADER_CONNECTOR_CN11_D28 PA0 +#define HEADER_CONNECTOR_CN11_D29 PF0 +#define HEADER_CONNECTOR_CN11_D30 PA1 +#define HEADER_CONNECTOR_CN11_D31 PF1 +#define HEADER_CONNECTOR_CN11_D32 PA4 +#define HEADER_CONNECTOR_CN11_D33 // Pin not routed +#define HEADER_CONNECTOR_CN11_D34 PB0 +#define HEADER_CONNECTOR_CN11_D35 PC2 +#define HEADER_CONNECTOR_CN11_D36 PC1 +#define HEADER_CONNECTOR_CN11_D37 PC3 +#define HEADER_CONNECTOR_CN11_D38 PC0 +#define HEADER_CONNECTOR_CN11_D39 PD4 +#define HEADER_CONNECTOR_CN11_D40 PD3 +#define HEADER_CONNECTOR_CN11_D41 PD5 +#define HEADER_CONNECTOR_CN11_D42 PG2 +#define HEADER_CONNECTOR_CN11_D43 PD6 +#define HEADER_CONNECTOR_CN11_D44 PG3 +#define HEADER_CONNECTOR_CN11_D45 PD7 +#define HEADER_CONNECTOR_CN11_D46 PE2 +#define HEADER_CONNECTOR_CN11_D47 PE3 +#define HEADER_CONNECTOR_CN11_D48 PE4 +#define HEADER_CONNECTOR_CN11_D49 // Pin not routed +#define HEADER_CONNECTOR_CN11_D50 PE5 +#define HEADER_CONNECTOR_CN11_D51 PF1 +#define HEADER_CONNECTOR_CN11_D52 PF2 +#define HEADER_CONNECTOR_CN11_D53 PF0 +#define HEADER_CONNECTOR_CN11_D54 PF8 +#define HEADER_CONNECTOR_CN11_D55 PD1 +#define HEADER_CONNECTOR_CN11_D56 PF9 +#define HEADER_CONNECTOR_CN11_D57 PD0 +#define HEADER_CONNECTOR_CN11_D58 PG1 +#define HEADER_CONNECTOR_CN11_D59 PG0 +#define HEADER_CONNECTOR_CN11_D60 // Pin not routed +#define HEADER_CONNECTOR_CN11_D61 PE1 +#define HEADER_CONNECTOR_CN11_D62 PE6 +#define HEADER_CONNECTOR_CN11_D63 PG9 +#define HEADER_CONNECTOR_CN11_D64 PG15 +#define HEADER_CONNECTOR_CN11_D65 PG12 +#define HEADER_CONNECTOR_CN11_D66 PG10 +#define HEADER_CONNECTOR_CN11_D67 // Pin not routed +#define HEADER_CONNECTOR_CN11_D68 PG13 +#define HEADER_CONNECTOR_CN11_D69 PD9 +#define HEADER_CONNECTOR_CN11_D70 PG11 + +#define HEADER_CONNECTOR_CN12_D1 PC9 +#define HEADER_CONNECTOR_CN12_D2 PC8 +#define HEADER_CONNECTOR_CN12_D3 PB8 +#define HEADER_CONNECTOR_CN12_D4 PC6 +#define HEADER_CONNECTOR_CN12_D5 PB9 +#define HEADER_CONNECTOR_CN12_D6 PC5 +#define HEADER_CONNECTOR_CN12_D7 // Pin not routed +#define HEADER_CONNECTOR_CN12_D8 // Pin not routed +#define HEADER_CONNECTOR_CN12_D9 // Pin not routed +#define HEADER_CONNECTOR_CN12_D10 PD8 +#define HEADER_CONNECTOR_CN12_D11 PA5 +#define HEADER_CONNECTOR_CN12_D12 PA12 +#define HEADER_CONNECTOR_CN12_D13 PA6 +#define HEADER_CONNECTOR_CN12_D14 PA11 +#define HEADER_CONNECTOR_CN12_D15 PA7 +#define HEADER_CONNECTOR_CN12_D16 PB12 +#define HEADER_CONNECTOR_CN12_D17 PB6 +#define HEADER_CONNECTOR_CN12_D18 PB11 +#define HEADER_CONNECTOR_CN12_D19 PC7 +#define HEADER_CONNECTOR_CN12_D20 // Pin not routed +#define HEADER_CONNECTOR_CN12_D21 PA9 +#define HEADER_CONNECTOR_CN12_D22 PB2 +#define HEADER_CONNECTOR_CN12_D23 PA8 +#define HEADER_CONNECTOR_CN12_D24 PB1 +#define HEADER_CONNECTOR_CN12_D25 PB10 +#define HEADER_CONNECTOR_CN12_D26 PB15 +#define HEADER_CONNECTOR_CN12_D27 PB4 +#define HEADER_CONNECTOR_CN12_D28 PB14 +#define HEADER_CONNECTOR_CN12_D29 PB5 +#define HEADER_CONNECTOR_CN12_D30 PB13 +#define HEADER_CONNECTOR_CN12_D31 PB3 +#define HEADER_CONNECTOR_CN12_D32 // Pin not routed +#define HEADER_CONNECTOR_CN12_D33 PA10 +#define HEADER_CONNECTOR_CN12_D34 PC4 +#define HEADER_CONNECTOR_CN12_D35 PA2 +#define HEADER_CONNECTOR_CN12_D36 PF5 +#define HEADER_CONNECTOR_CN12_D37 PA3 +#define HEADER_CONNECTOR_CN12_D38 PF4 +#define HEADER_CONNECTOR_CN12_D39 // Pin not routed +#define HEADER_CONNECTOR_CN12_D40 PE8 +#define HEADER_CONNECTOR_CN12_D41 PD13 +#define HEADER_CONNECTOR_CN12_D42 PF10 +#define HEADER_CONNECTOR_CN12_D43 PD12 +#define HEADER_CONNECTOR_CN12_D44 PE7 +#define HEADER_CONNECTOR_CN12_D45 PD11 +#define HEADER_CONNECTOR_CN12_D46 PD14 +#define HEADER_CONNECTOR_CN12_D47 PE10 +#define HEADER_CONNECTOR_CN12_D48 PD15 +#define HEADER_CONNECTOR_CN12_D49 PE12 +#define HEADER_CONNECTOR_CN12_D50 PF14 +#define HEADER_CONNECTOR_CN12_D51 PE14 +#define HEADER_CONNECTOR_CN12_D52 PE9 +#define HEADER_CONNECTOR_CN12_D53 PE15 +#define HEADER_CONNECTOR_CN12_D54 // Pin not routed +#define HEADER_CONNECTOR_CN12_D55 PE13 +#define HEADER_CONNECTOR_CN12_D56 PE11 +#define HEADER_CONNECTOR_CN12_D57 PF13 +#define HEADER_CONNECTOR_CN12_D58 PF3 +#define HEADER_CONNECTOR_CN12_D59 PF12 +#define HEADER_CONNECTOR_CN12_D60 PF15 +#define HEADER_CONNECTOR_CN12_D61 PG14 +#define HEADER_CONNECTOR_CN12_D62 PF11 +#define HEADER_CONNECTOR_CN12_D63 // Pin not routed +#define HEADER_CONNECTOR_CN12_D64 PE0 +#define HEADER_CONNECTOR_CN12_D65 PD10 +#define HEADER_CONNECTOR_CN12_D66 PG8 +#define HEADER_CONNECTOR_CN12_D67 PG7 +#define HEADER_CONNECTOR_CN12_D68 PG5 +#define HEADER_CONNECTOR_CN12_D69 PG4 +#define HEADER_CONNECTOR_CN12_D70 PG6 + +#ifdef __cplusplus +} +#endif + +#endif // _BOARD_H_ +// ------------------------------------------------------------------------- END diff --git a/bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.cmake b/bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.cmake new file mode 100644 index 000000000..ad05c0178 --- /dev/null +++ b/bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "MIKROMEDIA5FORPIC32MZRESISTIVEFPI") + set(BOARD_PATH "include/boards/mikromedia_5_pic32mz_resistive_fpi") + set(MCU_CARD FALSE) + set(MIKROBUS FALSE) +endif() diff --git a/bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.h b/bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.h new file mode 100644 index 000000000..1f549050d --- /dev/null +++ b/bsp/board/include/boards/mikromedia_5_pic32mz_resistive_fpi/board.h @@ -0,0 +1,192 @@ +/**************************************************************************** +** +** Copyright (C) 2024 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 + +#include "mikrobus.h" + +// Hardware revision number +#define BOARD_REV_MAJOR (1) +#define BOARD_REV_MINOR (0) + +#define BOARD_NAME "Mikromedia 5 for PIC32MZ Resistive - FPI" + +/// Mapping +#define MIKROBUS_1 1 +#define MIKROBUS_1_AN PA0 +#define MIKROBUS_1_RST PH4 +#define MIKROBUS_1_CS PB3 +#define MIKROBUS_1_SCK PD1 +#define MIKROBUS_1_MISO PD6 +#define MIKROBUS_1_MOSI PD7 +#define MIKROBUS_1_PWM PF12 +#define MIKROBUS_1_INT PD9 +#define MIKROBUS_1_RX PE8 +#define MIKROBUS_1_TX PE9 +#define MIKROBUS_1_SCL PA2 +#define MIKROBUS_1_SDA PA3 + +#define MIKROBUS_2 2 +#define MIKROBUS_2_AN PB11 +#define MIKROBUS_2_RST PH5 +#define MIKROBUS_2_CS PG9 +#define MIKROBUS_2_SCK PG6 +#define MIKROBUS_2_MISO PG7 +#define MIKROBUS_2_MOSI PG8 +#define MIKROBUS_2_PWM PC2 +#define MIKROBUS_2_INT PC3 +#define MIKROBUS_2_RX PD4 +#define MIKROBUS_2_TX PD0 +#define MIKROBUS_2_SCL PA2 +#define MIKROBUS_2_SDA PA3 + +#define MIKROBUS_3 3 +#define MIKROBUS_3_AN PA1 +#define MIKROBUS_3_RST PH6 +#define MIKROBUS_3_CS PB0 +#define MIKROBUS_3_SCK PD10 +#define MIKROBUS_3_MISO PD15 +#define MIKROBUS_3_MOSI PD11 +#define MIKROBUS_3_PWM PB8 +#define MIKROBUS_3_INT PC4 +#define MIKROBUS_3_RX PB1 +#define MIKROBUS_3_TX PD14 +#define MIKROBUS_3_SCL PF8 +#define MIKROBUS_3_SDA PF2 + +#define TFT_RST PH9 +#define TFT_CS PH10 +#define TFT_D_C PH11 +#define TFT_RD PA7 +#define TFT_WR PA6 +#define TFT_TE PA4 +#define TFT_BPWM HAL_PIN_NC +#define TFT_D0 PE0 +#define TFT_D1 PE1 +#define TFT_D2 PE2 +#define TFT_D3 PE3 +#define TFT_D4 PE4 +#define TFT_D5 PE5 +#define TFT_D6 PE6 +#define TFT_D7 PE7 +#define TFT_D8 PG0 // PMP pin +#define TFT_D9 PG1 // PMP pin +#define TFT_D10 PF1 // PMP pin +#define TFT_D11 PF0 // PMP pin +#define TFT_D12 PD12 // PMP pin +#define TFT_D13 PD13 // PMP pin +#define TFT_D14 PD2 // PMP pin +#define TFT_D15 PD3 // PMP pin + +#define TFT_8BIT_DATA_PORT_CH0 PORT_E +#define TFT_8BIT_DATA_PORT_CH0_MASK 0x00FF + +#define TFT_16BIT_DATA_PORT_CH0 PORT_E +#define TFT_16BIT_DATA_PORT_CH0_MASK 0x00FF + +#define TFT_16BIT_DATA_PORT_CH1 HAL_PORT_NC +#define TFT_16BIT_DATA_PORT_CH1_MASK 0x0000 + +#define CTP_SDA PA15 +#define CTP_SCL PA14 +#define CTP_INT PH15 +#define CTP_WAKE HAL_PIN_NC +#define CTP_RST PH14 + +#define NRF_CE PH0 +#define NRF_CS PH1 +#define NRF_SCK PB14 +#define NRF_SDI PC1 +#define NRF_SDO PB9 +#define NRF_INT PD5 + +#define USB_SW_ID PF3 +#define USB_VBUS HAL_PIN_NC +#define USB_N HAL_PIN_NC +#define USB_P HAL_PIN_NC +#define USB_PSW PJ3 + +#define SD_CS PG14 +#define SD_MOSI PB10 +#define SD_SCK PF13 +#define SD_MISO PB5 +#define SD_CD PG12 + +#define FLASH_CS PH2 +#define FLASH_MISO PB5 +#define FLASH_SCK PF13 +#define FLASH_MOSI PB10 + +#define MP3_SCLK PB14 +#define MP3_SIN PC1 +#define MP3_SOUT PB9 +#define MP3_CS PK0 +#define MP3_RST PJ13 +#define MP3_DREQ PJ14 +#define MP3_DCS PJ15 + +#define ACCEL_SDA PA15 +#define ACCEL_SCL PA14 +#define ACCEL_INT2 PF5 +#define ACCEL_INT1 PF4 + +#define BUZZER PB2 + +#define POWER_BAT_SENSE PA5 +#define POWER_STATUS PJ12 +#define POWER_DC_DETECT PJ10 + +#define USB_UART_TX HAL_PIN_NC +#define USB_UART_RX HAL_PIN_NC + +#ifdef __cplusplus +} +#endif + +#endif // _BOARD_H_ +// ------------------------------------------------------------------------- END diff --git a/changelog/v2.11.2/changelog.md b/changelog/v2.11.2/changelog.md index 2c78479a0..e3ee30a4b 100644 --- a/changelog/v2.11.2/changelog.md +++ b/changelog/v2.11.2/changelog.md @@ -41,6 +41,7 @@ Support added for following hardware: + **[2024-09-27](./new_hw/2024-09-27.md)** + **[2024-09-30](./new_hw/2024-09-30.md)** + **[2024-10-01](./new_hw/2024-10-01.md)** ++ **[2024-10-02](./new_hw/2024-10-02.md)** --- diff --git a/changelog/v2.11.2/new_hw/2024-10-02.md b/changelog/v2.11.2/new_hw/2024-10-02.md new file mode 100644 index 000000000..7da9e4cf1 --- /dev/null +++ b/changelog/v2.11.2/new_hw/2024-10-02.md @@ -0,0 +1,30 @@ +

+ MikroElektronika +

+ +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- + +# 2024-10-02 + +## Changes + +- [2024-10-02](#2024-10-02) + - [Changes](#changes) + - [NEW HARDWARE](#new-hardware) + +### NEW HARDWARE + +Support added for following hardware: + ++ [Mikromedia 5 for PIC32MZ Resistive FPI with frame](https://www.mikroe.com/mikromedia-5-for-pic32mz-resistive-fpi-with-frame) ++ [Nucleo 144 with STM32F767ZI MCU](https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-nucleo-boards/nucleo-f767zi.html) + +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- diff --git a/resources/queries/boards/board_nucleo_144_with_stm32f767zi/Boards.json b/resources/queries/boards/board_nucleo_144_with_stm32f767zi/Boards.json new file mode 100644 index 000000000..2dd93a4a5 --- /dev/null +++ b/resources/queries/boards/board_nucleo_144_with_stm32f767zi/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "NUCLEO_144_WITH_STM32F767ZI_MCU", + "name": "Nucleo 144 with STM32F767ZI MCU", + "icon": "images/boards/board-nucleo-144.png", + "default_device": "", + "soldered_device": "STM32F767ZI", + "category": "Development Systems", + "mikrobus_count": 0, + "sort_order": 6, + "min_pin_count": 0, + "display_socket": "NO_DISPLAY", + "sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_NUCLEO_144_WITH_STM32F767ZI\",\"_MSDK_SHIELD_\":\"shield_nucleo_144\"}", + "necto_config": "", + "display": "NO_DISPLAY", + "package_uid": "144/LQFP" +} diff --git a/resources/queries/boards/board_nucleo_144_with_stm32f767zi/LinkerTables.json b/resources/queries/boards/board_nucleo_144_with_stm32f767zi/LinkerTables.json new file mode 100644 index 000000000..1b67cbe35 --- /dev/null +++ b/resources/queries/boards/board_nucleo_144_with_stm32f767zi/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "NUCLEO_144_WITH_STM32F767ZI_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32F767ZI" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +} diff --git a/resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/Boards.json b/resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/Boards.json new file mode 100644 index 000000000..4377c66c0 --- /dev/null +++ b/resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "MIKROMEDIA_5_FOR_PIC32MZ_RESISTIVE_FPI_WITH_FRAME", + "name": "Mikromedia 5 for PIC32MZ Resistive FPI with frame", + "icon": "images/boards/board-mikromedia-5-resistive-fpi-frame.png", + "default_device": "", + "soldered_device": "PIC32MZ2048EFH144", + "category": "mikromedia boards", + "mikrobus_count": 0, + "sort_order": 8, + "min_pin_count": 0, + "display_socket": "BUILT_IN_DISPLAY", + "sdk_config": "{\"_MSDK_BOARD_NAME_\":\"MIKROMEDIA5FORPIC32MZRESISTIVEFPI\"}", + "necto_config": "", + "display": "MIKROMEDIA_5_FOR_PIC32MZ_RESISTIVE_FPI_FRAME_BUILT_IN_DISPLAY", + "package_uid": "144/LQFP" +} diff --git a/resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/LinkerTables.json b/resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/LinkerTables.json new file mode 100644 index 000000000..794a7fe78 --- /dev/null +++ b/resources/queries/boards/mikromedia_5_pic32mz_resistive_fpi/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "MIKROMEDIA_5_FOR_PIC32MZ_RESISTIVE_FPI_WITH_FRAME", + "tables": [ + { + "BoardToDevice": { + "device_uid": "PIC32MZ2048EFH144" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +}