diff --git a/bsp/board/include/boards/board_eval_with_stm32l4r9ai/board.cmake b/bsp/board/include/boards/board_eval_with_stm32l4r9ai/board.cmake new file mode 100644 index 000000000..97f24b7ff --- /dev/null +++ b/bsp/board/include/boards/board_eval_with_stm32l4r9ai/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_EVAL_WITH_STM32L4R9AI_MCU") + set(BOARD_PATH "include/boards/board_eval_with_stm32l4r9ai") + set(MCU_CARD FALSE) + set(SHIELD FALSE) +endif() diff --git a/bsp/board/include/boards/board_eval_with_stm32l4r9ai/board.h b/bsp/board/include/boards/board_eval_with_stm32l4r9ai/board.h new file mode 100644 index 000000000..1c9ffc7e1 --- /dev/null +++ b/bsp/board/include/boards/board_eval_with_stm32l4r9ai/board.h @@ -0,0 +1,290 @@ +/**************************************************************************** +** +** 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 "STM32L4R9AI-Eval" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN2_D1 PH5 +#define HEADER_CONNECTOR_CN2_D2 // Pin not routed +#define HEADER_CONNECTOR_CN2_D3 PH4 +#define HEADER_CONNECTOR_CN2_D4 // Pin not routed +#define HEADER_CONNECTOR_CN2_D5 // Pin not routed +#define HEADER_CONNECTOR_CN2_D6 // Pin not routed +#define HEADER_CONNECTOR_CN2_D7 // Pin not routed +#define HEADER_CONNECTOR_CN2_D8 // Pin not routed + +#define HEADER_CONNECTOR_CN5_D1 PH9 +#define HEADER_CONNECTOR_CN5_D2 PI5 +#define HEADER_CONNECTOR_CN5_D3 PH14 +#define HEADER_CONNECTOR_CN5_D4 PH12 +#define HEADER_CONNECTOR_CN5_D5 PH15 +#define HEADER_CONNECTOR_CN5_D6 PI6 +#define HEADER_CONNECTOR_CN5_D7 PI3 +#define HEADER_CONNECTOR_CN5_D8 PG15 +#define HEADER_CONNECTOR_CN5_D9 // Pin not routed +#define HEADER_CONNECTOR_CN5_D10 // Pin not routed +#define HEADER_CONNECTOR_CN5_D11 PH13 +#define HEADER_CONNECTOR_CN5_D12 PB4 +#define HEADER_CONNECTOR_CN5_D13 PG13 +#define HEADER_CONNECTOR_CN5_D14 PB6 +#define HEADER_CONNECTOR_CN5_D15 PB5 +#define HEADER_CONNECTOR_CN5_D16 PB7 +#define HEADER_CONNECTOR_CN5_D17 PI9 +#define HEADER_CONNECTOR_CN5_D18 PI10 +#define HEADER_CONNECTOR_CN5_D19 PI11 +#define HEADER_CONNECTOR_CN5_D20 PI7 +#define HEADER_CONNECTOR_CN5_D21 // Pin not routed +#define HEADER_CONNECTOR_CN5_D22 PH3 +#define HEADER_CONNECTOR_CN5_D23 PC14 +#define HEADER_CONNECTOR_CN5_D24 PC15 +#define HEADER_CONNECTOR_CN5_D25 PC13 +#define HEADER_CONNECTOR_CN5_D26 PH0 +#define HEADER_CONNECTOR_CN5_D27 PH1 +#define HEADER_CONNECTOR_CN5_D28 PA0 +#define HEADER_CONNECTOR_CN5_D29 // Pin not routed +#define HEADER_CONNECTOR_CN5_D30 // Pin not routed +#define HEADER_CONNECTOR_CN5_D31 PA5 +#define HEADER_CONNECTOR_CN5_D32 PA1 +#define HEADER_CONNECTOR_CN5_D33 PC2 +#define HEADER_CONNECTOR_CN5_D34 PA4 +#define HEADER_CONNECTOR_CN5_D35 PH8 +#define HEADER_CONNECTOR_CN5_D36 PH11 +#define HEADER_CONNECTOR_CN5_D37 PH10 +#define HEADER_CONNECTOR_CN5_D38 // Pin not routed +#define HEADER_CONNECTOR_CN5_D39 // Pin not routed +#define HEADER_CONNECTOR_CN5_D40 // Pin not routed + +#define HEADER_CONNECTOR_CN6_D1 PH2 +#define HEADER_CONNECTOR_CN6_D2 PG11 +#define HEADER_CONNECTOR_CN6_D3 PI0 +#define HEADER_CONNECTOR_CN6_D4 PI2 +#define HEADER_CONNECTOR_CN6_D5 PD2 +#define HEADER_CONNECTOR_CN6_D6 PC8 +#define HEADER_CONNECTOR_CN6_D7 PI1 +#define HEADER_CONNECTOR_CN6_D8 PC10 +#define HEADER_CONNECTOR_CN6_D9 // Pin not routed +#define HEADER_CONNECTOR_CN6_D10 // Pin not routed +#define HEADER_CONNECTOR_CN6_D11 PA12 +#define HEADER_CONNECTOR_CN6_D12 PC11 +#define HEADER_CONNECTOR_CN6_D13 PA11 +#define HEADER_CONNECTOR_CN6_D14 PC12 +#define HEADER_CONNECTOR_CN6_D15 PG8 +#define HEADER_CONNECTOR_CN6_D16 PA10 +#define HEADER_CONNECTOR_CN6_D17 PA9 +#define HEADER_CONNECTOR_CN6_D18 PC6 +#define HEADER_CONNECTOR_CN6_D19 PC9 +#define HEADER_CONNECTOR_CN6_D20 PG7 +#define HEADER_CONNECTOR_CN6_D21 PC7 +#define HEADER_CONNECTOR_CN6_D22 PB14 +#define HEADER_CONNECTOR_CN6_D23 PB15 +#define HEADER_CONNECTOR_CN6_D24 PB12 +#define HEADER_CONNECTOR_CN6_D25 PB13 +#define HEADER_CONNECTOR_CN6_D26 PF11 +#define HEADER_CONNECTOR_CN6_D27 // Pin not routed +#define HEADER_CONNECTOR_CN6_D28 PB0 +#define HEADER_CONNECTOR_CN6_D29 // Pin not routed +#define HEADER_CONNECTOR_CN6_D30 // Pin not routed +#define HEADER_CONNECTOR_CN6_D31 PA3 +#define HEADER_CONNECTOR_CN6_D32 PB1 +#define HEADER_CONNECTOR_CN6_D33 PA7 +#define HEADER_CONNECTOR_CN6_D34 PB2 +#define HEADER_CONNECTOR_CN6_D35 PC4 +#define HEADER_CONNECTOR_CN6_D36 PA6 +#define HEADER_CONNECTOR_CN6_D37 PC3 +#define HEADER_CONNECTOR_CN6_D38 PA2 +#define HEADER_CONNECTOR_CN6_D39 // Pin not routed +#define HEADER_CONNECTOR_CN6_D40 // Pin not routed + +#define HEADER_CONNECTOR_CN7_D1 // Pin not routed +#define HEADER_CONNECTOR_CN7_D2 PG8 +#define HEADER_CONNECTOR_CN7_D3 PG7 +#define HEADER_CONNECTOR_CN7_D4 // Pin not routed +#define HEADER_CONNECTOR_CN7_D5 // Pin not routed +#define HEADER_CONNECTOR_CN7_D6 // Pin not routed +#define HEADER_CONNECTOR_CN7_D7 PB12 +#define HEADER_CONNECTOR_CN7_D8 PB13 +#define HEADER_CONNECTOR_CN7_D9 // Pin not routed + +#define HEADER_CONNECTOR_CN8_D1 PC10 +#define HEADER_CONNECTOR_CN8_D2 PC11 +#define HEADER_CONNECTOR_CN8_D3 PD2 +#define HEADER_CONNECTOR_CN8_D4 // Pin not routed +#define HEADER_CONNECTOR_CN8_D5 PC12 +#define HEADER_CONNECTOR_CN8_D6 // Pin not routed +#define HEADER_CONNECTOR_CN8_D7 PC8 +#define HEADER_CONNECTOR_CN8_D8 PC9 +#define HEADER_CONNECTOR_CN8_D9 // Pin not routed +#define HEADER_CONNECTOR_CN8_D10 // Pin not routed + +#define HEADER_CONNECTOR_CN13_D1 PD1 +#define HEADER_CONNECTOR_CN13_D2 // Pin not routed +#define HEADER_CONNECTOR_CN13_D3 PD0 +#define HEADER_CONNECTOR_CN13_D4 PD6 +#define HEADER_CONNECTOR_CN13_D5 PB8 +#define HEADER_CONNECTOR_CN13_D6 PD4 +#define HEADER_CONNECTOR_CN13_D7 PG10 +#define HEADER_CONNECTOR_CN13_D8 PE1 +#define HEADER_CONNECTOR_CN13_D9 // Pin not routed +#define HEADER_CONNECTOR_CN13_D10 // Pin not routed +#define HEADER_CONNECTOR_CN13_D11 PE0 +#define HEADER_CONNECTOR_CN13_D12 PD5 +#define HEADER_CONNECTOR_CN13_D13 PG12 +#define HEADER_CONNECTOR_CN13_D14 PE2 +#define HEADER_CONNECTOR_CN13_D15 PE4 +#define HEADER_CONNECTOR_CN13_D16 PE3 +#define HEADER_CONNECTOR_CN13_D17 PE5 +#define HEADER_CONNECTOR_CN13_D18 PE6 +#define HEADER_CONNECTOR_CN13_D19 PF1 +#define HEADER_CONNECTOR_CN13_D20 PF0 +#define HEADER_CONNECTOR_CN13_D21 PF2 +#define HEADER_CONNECTOR_CN13_D22 PC0 +#define HEADER_CONNECTOR_CN13_D23 PB9 +#define HEADER_CONNECTOR_CN13_D24 PC1 +#define HEADER_CONNECTOR_CN13_D25 PF10 +#define HEADER_CONNECTOR_CN13_D26 PF3 +#define HEADER_CONNECTOR_CN13_D27 PF5 +#define HEADER_CONNECTOR_CN13_D28 PG4 +#define HEADER_CONNECTOR_CN13_D29 // Pin not routed +#define HEADER_CONNECTOR_CN13_D30 // Pin not routed +#define HEADER_CONNECTOR_CN13_D31 PF4 +#define HEADER_CONNECTOR_CN13_D32 PG1 +#define HEADER_CONNECTOR_CN13_D33 PF15 +#define HEADER_CONNECTOR_CN13_D34 PF12 +#define HEADER_CONNECTOR_CN13_D35 PG0 +#define HEADER_CONNECTOR_CN13_D36 PF13 +#define HEADER_CONNECTOR_CN13_D37 PE10 +#define HEADER_CONNECTOR_CN13_D38 PF14 +#define HEADER_CONNECTOR_CN13_D39 // Pin not routed +#define HEADER_CONNECTOR_CN13_D40 // Pin not routed + +#define HEADER_CONNECTOR_CN14_D1 PA14 +#define HEADER_CONNECTOR_CN14_D2 PA13 +#define HEADER_CONNECTOR_CN14_D3 PD7 +#define HEADER_CONNECTOR_CN14_D4 PA15 +#define HEADER_CONNECTOR_CN14_D5 PD3 +#define HEADER_CONNECTOR_CN14_D6 PI4 +#define HEADER_CONNECTOR_CN14_D7 PB3 +#define HEADER_CONNECTOR_CN14_D8 PG9 +#define HEADER_CONNECTOR_CN14_D9 // Pin not routed +#define HEADER_CONNECTOR_CN14_D10 // Pin not routed +#define HEADER_CONNECTOR_CN14_D11 PG5 +#define HEADER_CONNECTOR_CN14_D12 PA8 +#define HEADER_CONNECTOR_CN14_D13 PD15 +#define HEADER_CONNECTOR_CN14_D14 PG3 +#define HEADER_CONNECTOR_CN14_D15 PD14 +#define HEADER_CONNECTOR_CN14_D16 PG6 +#define HEADER_CONNECTOR_CN14_D17 PD10 +#define HEADER_CONNECTOR_CN14_D18 PG2 +#define HEADER_CONNECTOR_CN14_D19 PH5 +#define HEADER_CONNECTOR_CN14_D20 PD11 +#define HEADER_CONNECTOR_CN14_D21 PB10 +#define HEADER_CONNECTOR_CN14_D22 PH4 +#define HEADER_CONNECTOR_CN14_D23 PD8 +#define HEADER_CONNECTOR_CN14_D24 PB11 +#define HEADER_CONNECTOR_CN14_D25 PD13 +#define HEADER_CONNECTOR_CN14_D26 PD9 +#define HEADER_CONNECTOR_CN14_D27 PE12 +#define HEADER_CONNECTOR_CN14_D28 PD12 +#define HEADER_CONNECTOR_CN14_D29 // Pin not routed +#define HEADER_CONNECTOR_CN14_D30 // Pin not routed +#define HEADER_CONNECTOR_CN14_D31 // Pin not routed +#define HEADER_CONNECTOR_CN14_D32 PE13 +#define HEADER_CONNECTOR_CN14_D33 PE7 +#define HEADER_CONNECTOR_CN14_D34 PE8 +#define HEADER_CONNECTOR_CN14_D35 PE14 +#define HEADER_CONNECTOR_CN14_D36 PE11 +#define HEADER_CONNECTOR_CN14_D37 PE15 +#define HEADER_CONNECTOR_CN14_D38 PE9 +#define HEADER_CONNECTOR_CN14_D39 // Pin not routed +#define HEADER_CONNECTOR_CN14_D40 // Pin not routed + +#define HEADER_CONNECTOR_CN17_D1 // Pin not routed +#define HEADER_CONNECTOR_CN17_D2 // Pin not routed +#define HEADER_CONNECTOR_CN17_D3 PB4 +#define HEADER_CONNECTOR_CN17_D4 // Pin not routed +#define HEADER_CONNECTOR_CN17_D5 PA15 +#define HEADER_CONNECTOR_CN17_D6 // Pin not routed +#define HEADER_CONNECTOR_CN17_D7 PA13 +#define HEADER_CONNECTOR_CN17_D8 // Pin not routed +#define HEADER_CONNECTOR_CN17_D9 PA14 +#define HEADER_CONNECTOR_CN17_D10 // Pin not routed +#define HEADER_CONNECTOR_CN17_D11 // Pin not routed +#define HEADER_CONNECTOR_CN17_D12 // Pin not routed +#define HEADER_CONNECTOR_CN17_D13 PB3 +#define HEADER_CONNECTOR_CN17_D14 // Pin not routed +#define HEADER_CONNECTOR_CN17_D15 // Pin not routed +#define HEADER_CONNECTOR_CN17_D16 // Pin not routed +#define HEADER_CONNECTOR_CN17_D17 // Pin not routed +#define HEADER_CONNECTOR_CN17_D18 // Pin not routed +#define HEADER_CONNECTOR_CN17_D19 // Pin not routed +#define HEADER_CONNECTOR_CN17_D20 // Pin not routed + +#define HEADER_CONNECTOR_CN20_D1 // Pin not routed +#define HEADER_CONNECTOR_CN20_D2 // Pin not routed +#define HEADER_CONNECTOR_CN20_D3 // Pin not routed +#define HEADER_CONNECTOR_CN20_D4 // Pin not routed +#define HEADER_CONNECTOR_CN20_D5 // Pin not routed +#define HEADER_CONNECTOR_CN20_D6 // Pin not routed +#define HEADER_CONNECTOR_CN20_D7 PG13 +#define HEADER_CONNECTOR_CN20_D8 PB14 +#define HEADER_CONNECTOR_CN20_D9 // Pin not routed +#define HEADER_CONNECTOR_CN20_D10 // Pin not routed +#define HEADER_CONNECTOR_CN20_D11 // Pin not routed +#define HEADER_CONNECTOR_CN20_D12 // Pin not routed + +#ifdef __cplusplus +} +#endif + +#endif // _BOARD_H_ +// ------------------------------------------------------------------------- END diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.cmake b/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.cmake new file mode 100644 index 000000000..7cd728508 --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32L412RB") + set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32l412rb") + set(MCU_CARD FALSE) + set(SHIELD TRUE) +endif() diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.h new file mode 100644 index 000000000..0a602db54 --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.h @@ -0,0 +1,176 @@ +/**************************************************************************** +** +** 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-L412RB" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN1_D1 PC10 +#define HEADER_CONNECTOR_CN1_D2 PC11 +#define HEADER_CONNECTOR_CN1_D3 PC12 +#define HEADER_CONNECTOR_CN1_D4 PD2 +#define HEADER_CONNECTOR_CN1_D5 // Pin not routed +#define HEADER_CONNECTOR_CN1_D6 // Pin not routed +#define HEADER_CONNECTOR_CN1_D7 // Pin not routed +#define HEADER_CONNECTOR_CN1_D8 // Pin not routed +#define HEADER_CONNECTOR_CN1_D9 // Pin not routed +#define HEADER_CONNECTOR_CN1_D10 // Pin not routed +#define HEADER_CONNECTOR_CN1_D11 // Pin not routed +#define HEADER_CONNECTOR_CN1_D12 // Pin not routed +#define HEADER_CONNECTOR_CN1_D13 PB12 +#define HEADER_CONNECTOR_CN1_D14 // Pin not routed +#define HEADER_CONNECTOR_CN1_D15 PA13 +#define HEADER_CONNECTOR_CN1_D16 // Pin not routed +#define HEADER_CONNECTOR_CN1_D17 PA14 +#define HEADER_CONNECTOR_CN1_D18 // Pin not routed +#define HEADER_CONNECTOR_CN1_D19 // Pin not routed +#define HEADER_CONNECTOR_CN1_D20 // Pin not routed +#define HEADER_CONNECTOR_CN1_D21 // Pin not routed +#define HEADER_CONNECTOR_CN1_D22 // Pin not routed +#define HEADER_CONNECTOR_CN1_D23 PC13 +#define HEADER_CONNECTOR_CN1_D24 // Pin not routed +#define HEADER_CONNECTOR_CN1_D25 PC14 +#define HEADER_CONNECTOR_CN1_D26 // Pin not routed +#define HEADER_CONNECTOR_CN1_D27 PC15 +#define HEADER_CONNECTOR_CN1_D28 PA0 +#define HEADER_CONNECTOR_CN1_D29 PH0 +#define HEADER_CONNECTOR_CN1_D30 PA1 +#define HEADER_CONNECTOR_CN1_D31 PH1 +#define HEADER_CONNECTOR_CN1_D32 PC3 +#define HEADER_CONNECTOR_CN1_D33 // Pin not routed +#define HEADER_CONNECTOR_CN1_D34 PC2 +#define HEADER_CONNECTOR_CN1_D35 PB4 +#define HEADER_CONNECTOR_CN1_D36 PC1 +#define HEADER_CONNECTOR_CN1_D37 PB9 +#define HEADER_CONNECTOR_CN1_D38 PC0 + +#define HEADER_CONNECTOR_CN2_D1 PC9 +#define HEADER_CONNECTOR_CN2_D2 PC8 +#define HEADER_CONNECTOR_CN2_D3 PB8 +#define HEADER_CONNECTOR_CN2_D4 PC6 +#define HEADER_CONNECTOR_CN2_D5 PB7 +#define HEADER_CONNECTOR_CN2_D6 PC5 +#define HEADER_CONNECTOR_CN2_D7 // Pin not routed +#define HEADER_CONNECTOR_CN2_D8 // Pin not routed +#define HEADER_CONNECTOR_CN2_D9 // Pin not routed +#define HEADER_CONNECTOR_CN2_D10 PB0 +#define HEADER_CONNECTOR_CN2_D11 PB13 +#define HEADER_CONNECTOR_CN2_D12 PA10 +#define HEADER_CONNECTOR_CN2_D13 PB14 +#define HEADER_CONNECTOR_CN2_D14 PA9 +#define HEADER_CONNECTOR_CN2_D15 PB15 +#define HEADER_CONNECTOR_CN2_D16 PB11 +#define HEADER_CONNECTOR_CN2_D17 PA11 +#define HEADER_CONNECTOR_CN2_D18 PB2 +#define HEADER_CONNECTOR_CN2_D19 PA8 +#define HEADER_CONNECTOR_CN2_D20 // Pin not routed +#define HEADER_CONNECTOR_CN2_D21 PB6 +#define HEADER_CONNECTOR_CN2_D22 PB1 +#define HEADER_CONNECTOR_CN2_D23 PC7 +#define HEADER_CONNECTOR_CN2_D24 PA7 +#define HEADER_CONNECTOR_CN2_D25 PB10 +#define HEADER_CONNECTOR_CN2_D26 PA6 +#define HEADER_CONNECTOR_CN2_D27 PA15 +#define HEADER_CONNECTOR_CN2_D28 PA5 +#define HEADER_CONNECTOR_CN2_D29 PB5 +#define HEADER_CONNECTOR_CN2_D30 PA4 +#define HEADER_CONNECTOR_CN2_D31 PB3 +#define HEADER_CONNECTOR_CN2_D32 // Pin not routed +#define HEADER_CONNECTOR_CN2_D33 PA12 +#define HEADER_CONNECTOR_CN2_D34 PC4 +#define HEADER_CONNECTOR_CN2_D35 PA2 +#define HEADER_CONNECTOR_CN2_D36 PA3 +#define HEADER_CONNECTOR_CN2_D37 PA3 +#define HEADER_CONNECTOR_CN2_D38 PA2 + +#define HEADER_CONNECTOR_CN7_D1 PB6 +#define HEADER_CONNECTOR_CN7_D2 PA8 +#define HEADER_CONNECTOR_CN7_D3 PA11 +#define HEADER_CONNECTOR_CN7_D4 PB15 +#define HEADER_CONNECTOR_CN7_D5 PB14 +#define HEADER_CONNECTOR_CN7_D6 PB13 +#define HEADER_CONNECTOR_CN7_D7 // Pin not routed +#define HEADER_CONNECTOR_CN7_D8 // Pin not routed +#define HEADER_CONNECTOR_CN7_D9 PB7 +#define HEADER_CONNECTOR_CN7_D10 PB8 + +#define HEADER_CONNECTOR_CN9_D1 PA3 +#define HEADER_CONNECTOR_CN9_D2 PA2 +#define HEADER_CONNECTOR_CN9_D3 PA12 +#define HEADER_CONNECTOR_CN9_D4 PB3 +#define HEADER_CONNECTOR_CN9_D5 PB5 +#define HEADER_CONNECTOR_CN9_D6 PA15 +#define HEADER_CONNECTOR_CN9_D7 PB10 +#define HEADER_CONNECTOR_CN9_D8 PC7 + +#define HEADER_CONNECTOR_CN10_D1 PA0 +#define HEADER_CONNECTOR_CN10_D2 PA1 +#define HEADER_CONNECTOR_CN10_D3 PC3 +#define HEADER_CONNECTOR_CN10_D4 PC2 +#define HEADER_CONNECTOR_CN10_D5 PC1 +#define HEADER_CONNECTOR_CN10_D6 PC0 + +#define HEADER_CONNECTOR_CN11_D1 // Pin not routed +#define HEADER_CONNECTOR_CN11_D2 // Pin not routed +#define HEADER_CONNECTOR_CN11_D3 // Pin not routed +#define HEADER_CONNECTOR_CN11_D4 PA5 +#define HEADER_CONNECTOR_CN11_D5 PA4 +#define HEADER_CONNECTOR_CN11_D6 PA7 +#define HEADER_CONNECTOR_CN11_D7 PA6 +#define HEADER_CONNECTOR_CN11_D8 // Pin not routed + +#ifdef __cplusplus +} +#endif + +#endif // _BOARD_H_ +// ------------------------------------------------------------------------- END diff --git a/changelog/v2.12.0/changelog.md b/changelog/v2.12.0/changelog.md index cc914f254..9dea3f64a 100644 --- a/changelog/v2.12.0/changelog.md +++ b/changelog/v2.12.0/changelog.md @@ -45,6 +45,7 @@ Support added for following hardware: + **[2024-11-08](./new_hw/2024-11-08.md)** + **[2024-11-12](./new_hw/2024-11-12.md)** ++ **[2024-11-13](./new_hw/2024-11-13.md)** --- diff --git a/changelog/v2.12.0/new_hw/2024-11-13.md b/changelog/v2.12.0/new_hw/2024-11-13.md new file mode 100644 index 000000000..2e009361c --- /dev/null +++ b/changelog/v2.12.0/new_hw/2024-11-13.md @@ -0,0 +1,30 @@ +

+ MikroElektronika +

+ +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- + +# 2024-11-13 + +## Changes + +- [2024-11-13](#2024-11-13) + - [Changes](#changes) + - [NEW HARDWARE](#new-hardware) + +### NEW HARDWARE + +Support added for following hardware: + ++ [Evaluation board with STM32L4R9AI 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-eval-boards/stm32l4r9i-eval.html) ++ [Nucleo 64 with STM32L412RB 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-l412rb-p.html) + +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- diff --git a/resources/images/boards/board-eval-with-stm32l4r9ai-mcu.png b/resources/images/boards/board-eval-with-stm32l4r9ai-mcu.png new file mode 100644 index 000000000..72677d06c Binary files /dev/null and b/resources/images/boards/board-eval-with-stm32l4r9ai-mcu.png differ diff --git a/resources/queries/boards/board_eval_with_stm32l4r9ai/Boards.json b/resources/queries/boards/board_eval_with_stm32l4r9ai/Boards.json new file mode 100644 index 000000000..f8199d14d --- /dev/null +++ b/resources/queries/boards/board_eval_with_stm32l4r9ai/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "BOARD_EVAL_WITH_STM32L4R9AI_MCU", + "name": "Evaluation board with STM32L4R9AI MCU", + "icon": "images/boards/board-eval-with-stm32l4r9ai-mcu.png", + "default_device": "", + "soldered_device": "STM32L4R9AI", + "category": "Development Systems", + "mikrobus_count": 0, + "sort_order": 6, + "min_pin_count": 0, + "display_socket": "NO_DISPLAY", + "sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_EVAL_WITH_STM32L4R9AI_MCU\"}", + "necto_config": "", + "display": "NO_DISPLAY", + "package_uid": "169/UFBGA" +} diff --git a/resources/queries/boards/board_eval_with_stm32l4r9ai/LinkerTables.json b/resources/queries/boards/board_eval_with_stm32l4r9ai/LinkerTables.json new file mode 100644 index 000000000..019ea204f --- /dev/null +++ b/resources/queries/boards/board_eval_with_stm32l4r9ai/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "BOARD_EVAL_WITH_STM32L4R9AI_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32L4R9AI" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l412rb/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32l412rb/Boards.json new file mode 100644 index 000000000..d7a073cf0 --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32l412rb/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "NUCLEO_64_WITH_STM32L412RB_MCU", + "name": "Nucleo 64 with STM32L412RB MCU", + "icon": "images/boards/board-nucleo-64.png", + "default_device": "", + "soldered_device": "STM32L412RB", + "category": "Development Systems", + "mikrobus_count": 0, + "sort_order": 6, + "min_pin_count": 0, + "display_socket": "NO_DISPLAY", + "sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_NUCLEO_64_WITH_STM32L412RB\",\"_MSDK_SHIELD_\":\"shield_nucleo_64\"}", + "necto_config": "", + "display": "NO_DISPLAY", + "package_uid": "64/LQFP" +} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l412rb/LinkerTables.json b/resources/queries/boards/board_nucleo_64_with_stm32l412rb/LinkerTables.json new file mode 100644 index 000000000..0ef370358 --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32l412rb/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "NUCLEO_64_WITH_STM32L412RB_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32L412RB" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +}