From e8d75a743b33134be37a92d16d71be443bb2c0ab Mon Sep 17 00:00:00 2001 From: Ivan Ruzavin Date: Fri, 13 Sep 2024 11:48:27 +0200 Subject: [PATCH 1/6] Added release boards to new-feature/boards/19 --- .../board.cmake | 5 + .../board_nucleo_64_with_stm32l412rb/board.h | 120 ++++++++++++++++++ .../board.cmake | 5 + .../board_nucleo_64_with_stm32l433rc/board.h | 120 ++++++++++++++++++ changelog/v2.11.2/new_hw/new_boards.md | 30 +++++ .../Boards.json | 16 +++ .../LinkerTables.json | 20 +++ .../Boards.json | 16 +++ .../LinkerTables.json | 20 +++ 9 files changed, 352 insertions(+) create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.cmake create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.h create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h create mode 100644 changelog/v2.11.2/new_hw/new_boards.md create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l412rb/Boards.json create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l412rb/LinkerTables.json create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json 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..6271f23a3 --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.h @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** 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 // Pin not routed +#define HEADER_CONNECTOR_CN1_D2 PA11 +#define HEADER_CONNECTOR_CN1_D3 PA12 +#define HEADER_CONNECTOR_CN1_D4 // Pin not routed +#define HEADER_CONNECTOR_CN1_D5 // Pin not routed + +#define HEADER_CONNECTOR_CN3_D1 PA0 +#define HEADER_CONNECTOR_CN3_D2 PA5 +#define HEADER_CONNECTOR_CN3_D3 PA12 +#define HEADER_CONNECTOR_CN3_D4 PA14 +#define HEADER_CONNECTOR_CN3_D5 PB0 +#define HEADER_CONNECTOR_CN3_D6 PA10 + +#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_CN8_D1 // Pin not routed +#define HEADER_CONNECTOR_CN8_D2 // Pin not routed +#define HEADER_CONNECTOR_CN8_D3 // Pin not routed +#define HEADER_CONNECTOR_CN8_D4 // Pin not routed +#define HEADER_CONNECTOR_CN8_D5 // Pin not routed +#define HEADER_CONNECTOR_CN8_D6 // Pin not routed +#define HEADER_CONNECTOR_CN8_D7 // Pin not routed +#define HEADER_CONNECTOR_CN8_D8 // Pin not routed + +#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/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake new file mode 100644 index 000000000..f2a47faf3 --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32L433RC") + set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32l433rc") + set(MCU_CARD FALSE) + set(SHIELD TRUE) +endif() diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h new file mode 100644 index 000000000..d886cad0b --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** 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-L433RC" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN1_D1 // Pin not routed +#define HEADER_CONNECTOR_CN1_D2 PA11 +#define HEADER_CONNECTOR_CN1_D3 PA12 +#define HEADER_CONNECTOR_CN1_D4 // Pin not routed +#define HEADER_CONNECTOR_CN1_D5 // Pin not routed + +#define HEADER_CONNECTOR_CN3_D1 PA0 +#define HEADER_CONNECTOR_CN3_D2 PA5 +#define HEADER_CONNECTOR_CN3_D3 PA12 +#define HEADER_CONNECTOR_CN3_D4 PA14 +#define HEADER_CONNECTOR_CN3_D5 PB0 +#define HEADER_CONNECTOR_CN3_D6 PA10 + +#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_CN8_D1 // Pin not routed +#define HEADER_CONNECTOR_CN8_D2 // Pin not routed +#define HEADER_CONNECTOR_CN8_D3 // Pin not routed +#define HEADER_CONNECTOR_CN8_D4 // Pin not routed +#define HEADER_CONNECTOR_CN8_D5 // Pin not routed +#define HEADER_CONNECTOR_CN8_D6 // Pin not routed +#define HEADER_CONNECTOR_CN8_D7 // Pin not routed +#define HEADER_CONNECTOR_CN8_D8 // Pin not routed + +#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.11.2/new_hw/new_boards.md b/changelog/v2.11.2/new_hw/new_boards.md new file mode 100644 index 000000000..2416990ec --- /dev/null +++ b/changelog/v2.11.2/new_hw/new_boards.md @@ -0,0 +1,30 @@ +

+ MikroElektronika +

+ +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- + +# `DATE` + +## Changes + +- [`DATE`](#date) + - [Changes](#changes) + - [NEW HARDWARE](#new-hardware) + +### NEW HARDWARE + +Support added for following hardware: + ++ [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) ++ [Nucleo 64 with STM32L433RC 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-l433rc-p.html) + +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- 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..299b3d6d3 --- /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": "NULL", + "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": "NULL", + "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+" + } + } + ] +} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json new file mode 100644 index 000000000..6b4d87f1e --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "NUCLEO_64_WITH_STM32L433RC_MCU", + "name": "Nucleo 64 with STM32L433RC MCU", + "icon": "images/boards/board-nucleo-64.png", + "default_device": "NULL", + "soldered_device": "STM32L433RC", + "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_STM32L433RC\",\"_MSDK_SHIELD_\":\"shield_nucleo_64\"}", + "necto_config": "NULL", + "display": "NO_DISPLAY", + "package_uid": "64/LQFP" +} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json new file mode 100644 index 000000000..176751fe2 --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "NUCLEO_64_WITH_STM32L433RC_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32L433RC" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +} From b52c27fc0778e955c7151b39a62b7999acf4e5f7 Mon Sep 17 00:00:00 2001 From: "ivan.ruzavin" Date: Fri, 27 Sep 2024 14:08:26 +0200 Subject: [PATCH 2/6] Added release boards to new-feature/boards/19 --- .../board_nucleo_64_with_stm32l433rc/board.h | 89 +++++++++++++++--- .../board.cmake | 4 +- .../board.h | 91 ++++++++++++++++--- .../new_hw/{new_boards.md => new_hw.md} | 2 +- .../Boards.json | 4 +- .../Boards.json | 12 +-- .../LinkerTables.json | 4 +- 7 files changed, 166 insertions(+), 40 deletions(-) rename bsp/board/include/boards/{board_nucleo_64_with_stm32l412rb => board_nucleo_64_with_stm32l452re}/board.cmake (60%) rename bsp/board/include/boards/{board_nucleo_64_with_stm32l412rb => board_nucleo_64_with_stm32l452re}/board.h (53%) rename changelog/v2.11.2/new_hw/{new_boards.md => new_hw.md} (90%) rename resources/queries/boards/{board_nucleo_64_with_stm32l412rb => board_nucleo_64_with_stm32l452re}/Boards.json (56%) rename resources/queries/boards/{board_nucleo_64_with_stm32l412rb => board_nucleo_64_with_stm32l452re}/LinkerTables.json (75%) diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h index d886cad0b..56429a7a1 100644 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h @@ -54,11 +54,83 @@ extern "C" #include "hal_target.h" // Mapping -#define HEADER_CONNECTOR_CN1_D1 // Pin not routed -#define HEADER_CONNECTOR_CN1_D2 PA11 -#define HEADER_CONNECTOR_CN1_D3 PA12 -#define HEADER_CONNECTOR_CN1_D4 // Pin not routed +#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_CN3_D1 PA0 #define HEADER_CONNECTOR_CN3_D2 PA5 @@ -78,15 +150,6 @@ extern "C" #define HEADER_CONNECTOR_CN7_D9 PB7 #define HEADER_CONNECTOR_CN7_D10 PB8 -#define HEADER_CONNECTOR_CN8_D1 // Pin not routed -#define HEADER_CONNECTOR_CN8_D2 // Pin not routed -#define HEADER_CONNECTOR_CN8_D3 // Pin not routed -#define HEADER_CONNECTOR_CN8_D4 // Pin not routed -#define HEADER_CONNECTOR_CN8_D5 // Pin not routed -#define HEADER_CONNECTOR_CN8_D6 // Pin not routed -#define HEADER_CONNECTOR_CN8_D7 // Pin not routed -#define HEADER_CONNECTOR_CN8_D8 // Pin not routed - #define HEADER_CONNECTOR_CN9_D1 PA3 #define HEADER_CONNECTOR_CN9_D2 PA2 #define HEADER_CONNECTOR_CN9_D3 PA12 diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.cmake b/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.cmake similarity index 60% rename from bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.cmake rename to bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.cmake index 7cd728508..69a7ec4f3 100644 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.cmake +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.cmake @@ -1,5 +1,5 @@ -if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32L412RB") - set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32l412rb") +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32L452RE") + set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32l452re") 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_stm32l452re/board.h similarity index 53% rename from bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.h rename to bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.h index 6271f23a3..134c3f139 100644 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32l412rb/board.h +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.h @@ -49,16 +49,88 @@ extern "C" { #endif -#define BOARD_NAME "Nucleo-L412RB" +#define BOARD_NAME "Nucleo-L452RE" #include "hal_target.h" // Mapping -#define HEADER_CONNECTOR_CN1_D1 // Pin not routed -#define HEADER_CONNECTOR_CN1_D2 PA11 -#define HEADER_CONNECTOR_CN1_D3 PA12 -#define HEADER_CONNECTOR_CN1_D4 // Pin not routed +#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_CN3_D1 PA0 #define HEADER_CONNECTOR_CN3_D2 PA5 @@ -78,15 +150,6 @@ extern "C" #define HEADER_CONNECTOR_CN7_D9 PB7 #define HEADER_CONNECTOR_CN7_D10 PB8 -#define HEADER_CONNECTOR_CN8_D1 // Pin not routed -#define HEADER_CONNECTOR_CN8_D2 // Pin not routed -#define HEADER_CONNECTOR_CN8_D3 // Pin not routed -#define HEADER_CONNECTOR_CN8_D4 // Pin not routed -#define HEADER_CONNECTOR_CN8_D5 // Pin not routed -#define HEADER_CONNECTOR_CN8_D6 // Pin not routed -#define HEADER_CONNECTOR_CN8_D7 // Pin not routed -#define HEADER_CONNECTOR_CN8_D8 // Pin not routed - #define HEADER_CONNECTOR_CN9_D1 PA3 #define HEADER_CONNECTOR_CN9_D2 PA2 #define HEADER_CONNECTOR_CN9_D3 PA12 diff --git a/changelog/v2.11.2/new_hw/new_boards.md b/changelog/v2.11.2/new_hw/new_hw.md similarity index 90% rename from changelog/v2.11.2/new_hw/new_boards.md rename to changelog/v2.11.2/new_hw/new_hw.md index 2416990ec..a70665f4b 100644 --- a/changelog/v2.11.2/new_hw/new_boards.md +++ b/changelog/v2.11.2/new_hw/new_hw.md @@ -20,8 +20,8 @@ Support added for following hardware: -+ [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) + [Nucleo 64 with STM32L433RC 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-l433rc-p.html) ++ [Nucleo 64 with STM32L452RE 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-l452re.html) --- diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json index 6b4d87f1e..0c5b83bad 100644 --- a/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json +++ b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json @@ -2,7 +2,7 @@ "uid": "NUCLEO_64_WITH_STM32L433RC_MCU", "name": "Nucleo 64 with STM32L433RC MCU", "icon": "images/boards/board-nucleo-64.png", - "default_device": "NULL", + "default_device": "", "soldered_device": "STM32L433RC", "category": "Development Systems", "mikrobus_count": 0, @@ -10,7 +10,7 @@ "min_pin_count": 0, "display_socket": "NO_DISPLAY", "sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_NUCLEO_64_WITH_STM32L433RC\",\"_MSDK_SHIELD_\":\"shield_nucleo_64\"}", - "necto_config": "NULL", + "necto_config": "", "display": "NO_DISPLAY", "package_uid": "64/LQFP" } diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l412rb/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32l452re/Boards.json similarity index 56% rename from resources/queries/boards/board_nucleo_64_with_stm32l412rb/Boards.json rename to resources/queries/boards/board_nucleo_64_with_stm32l452re/Boards.json index 299b3d6d3..4a3aa4d7e 100644 --- a/resources/queries/boards/board_nucleo_64_with_stm32l412rb/Boards.json +++ b/resources/queries/boards/board_nucleo_64_with_stm32l452re/Boards.json @@ -1,16 +1,16 @@ { - "uid": "NUCLEO_64_WITH_STM32L412RB_MCU", - "name": "Nucleo 64 with STM32L412RB MCU", + "uid": "NUCLEO_64_WITH_STM32L452RE_MCU", + "name": "Nucleo 64 with STM32L452RE MCU", "icon": "images/boards/board-nucleo-64.png", - "default_device": "NULL", - "soldered_device": "STM32L412RB", + "default_device": "", + "soldered_device": "STM32L452RE", "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": "NULL", + "sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_NUCLEO_64_WITH_STM32L452RE\",\"_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_stm32l452re/LinkerTables.json similarity index 75% rename from resources/queries/boards/board_nucleo_64_with_stm32l412rb/LinkerTables.json rename to resources/queries/boards/board_nucleo_64_with_stm32l452re/LinkerTables.json index 0ef370358..6c86d85f9 100644 --- a/resources/queries/boards/board_nucleo_64_with_stm32l412rb/LinkerTables.json +++ b/resources/queries/boards/board_nucleo_64_with_stm32l452re/LinkerTables.json @@ -1,9 +1,9 @@ { - "board_uid": "NUCLEO_64_WITH_STM32L412RB_MCU", + "board_uid": "NUCLEO_64_WITH_STM32L452RE_MCU", "tables": [ { "BoardToDevice": { - "device_uid": "STM32L412RB" + "device_uid": "STM32L452RE" } }, { From 71ebc7ac12d15110e2440d3e3551ad974dbbf863 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Thu, 3 Oct 2024 13:32:51 +0200 Subject: [PATCH 3/6] Fixed mikroSDK check for changes --- scripts/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/index.py b/scripts/index.py index 7696e58b4..790767c2c 100644 --- a/scripts/index.py +++ b/scripts/index.py @@ -200,6 +200,7 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai ## 0 is new one being indexed, 1 in previously indexed release if 'mikrosdk' in metadata_content[0]: version = metadata_content[0]['mikrosdk']['version'] + version_index = check_from_index_version(es, index_name, 'mikrosdk') else: for asset in release_details[0].get('assets', []): if 'mikrosdk.7z' == asset['name']: @@ -212,6 +213,7 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai # Then fetch version from manifest file version = support.fetch_version_from_asset(os.path.join(os.path.dirname(__file__), 'tmp')) + version_index = check_from_index_version(es, index_name, 'mikrosdk') break import urllib.request @@ -261,7 +263,7 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai 'category': 'Software Development Kit', 'download_link': asset['url'], # Adjust as needed for actual URL "install_location" : "%APPLICATION_DATA_DIR%/packages/sdk", - 'package_changed': version != version + 'package_changed': version != version_index } elif 'templates' == name_without_extension: package_changed = True From 458edf7d9a6b3e464c5cf5fc080018d81c0221d6 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 4 Oct 2024 08:42:16 +0200 Subject: [PATCH 4/6] Fixed updating files to latest release --- .github/workflows/boardCardReleaseLive.yaml | 2 +- .github/workflows/boardCardReleaseTest.yaml | 2 +- scripts/update_board_changelog.py | 74 +++++++++++++++------ 3 files changed, 57 insertions(+), 21 deletions(-) diff --git a/.github/workflows/boardCardReleaseLive.yaml b/.github/workflows/boardCardReleaseLive.yaml index a9c1f37a6..770c5271c 100644 --- a/.github/workflows/boardCardReleaseLive.yaml +++ b/.github/workflows/boardCardReleaseLive.yaml @@ -70,7 +70,7 @@ jobs: - name: Update Changelogs id: changelog_update run: | - python -u scripts/update_board_changelog.py + python -u scripts/update_board_changelog.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} sdk_tag=$( Date: Fri, 4 Oct 2024 08:45:05 +0200 Subject: [PATCH 5/6] Removed surpluss files --- .../board.cmake | 5 - .../board_nucleo_64_with_stm32l433rc/board.h | 183 ------------------ .../board.cmake | 5 - .../board_nucleo_64_with_stm32l452re/board.h | 183 ------------------ .../Boards.json | 16 -- .../LinkerTables.json | 20 -- .../Boards.json | 16 -- .../LinkerTables.json | 20 -- 8 files changed, 448 deletions(-) delete mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake delete mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h delete mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.cmake delete mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.h delete mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json delete mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json delete mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l452re/Boards.json delete mode 100644 resources/queries/boards/board_nucleo_64_with_stm32l452re/LinkerTables.json diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake deleted file mode 100644 index f2a47faf3..000000000 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.cmake +++ /dev/null @@ -1,5 +0,0 @@ -if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32L433RC") - set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32l433rc") - set(MCU_CARD FALSE) - set(SHIELD TRUE) -endif() diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h deleted file mode 100644 index 56429a7a1..000000000 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32l433rc/board.h +++ /dev/null @@ -1,183 +0,0 @@ -/**************************************************************************** -** -** 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-L433RC" - -#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_CN3_D1 PA0 -#define HEADER_CONNECTOR_CN3_D2 PA5 -#define HEADER_CONNECTOR_CN3_D3 PA12 -#define HEADER_CONNECTOR_CN3_D4 PA14 -#define HEADER_CONNECTOR_CN3_D5 PB0 -#define HEADER_CONNECTOR_CN3_D6 PA10 - -#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/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.cmake b/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.cmake deleted file mode 100644 index 69a7ec4f3..000000000 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.cmake +++ /dev/null @@ -1,5 +0,0 @@ -if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32L452RE") - set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32l452re") - set(MCU_CARD FALSE) - set(SHIELD TRUE) -endif() diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.h deleted file mode 100644 index 134c3f139..000000000 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32l452re/board.h +++ /dev/null @@ -1,183 +0,0 @@ -/**************************************************************************** -** -** 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-L452RE" - -#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_CN3_D1 PA0 -#define HEADER_CONNECTOR_CN3_D2 PA5 -#define HEADER_CONNECTOR_CN3_D3 PA12 -#define HEADER_CONNECTOR_CN3_D4 PA14 -#define HEADER_CONNECTOR_CN3_D5 PB0 -#define HEADER_CONNECTOR_CN3_D6 PA10 - -#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/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json deleted file mode 100644 index 0c5b83bad..000000000 --- a/resources/queries/boards/board_nucleo_64_with_stm32l433rc/Boards.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "uid": "NUCLEO_64_WITH_STM32L433RC_MCU", - "name": "Nucleo 64 with STM32L433RC MCU", - "icon": "images/boards/board-nucleo-64.png", - "default_device": "", - "soldered_device": "STM32L433RC", - "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_STM32L433RC\",\"_MSDK_SHIELD_\":\"shield_nucleo_64\"}", - "necto_config": "", - "display": "NO_DISPLAY", - "package_uid": "64/LQFP" -} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json b/resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json deleted file mode 100644 index 176751fe2..000000000 --- a/resources/queries/boards/board_nucleo_64_with_stm32l433rc/LinkerTables.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "board_uid": "NUCLEO_64_WITH_STM32L433RC_MCU", - "tables": [ - { - "BoardToDevice": { - "device_uid": "STM32L433RC" - } - }, - { - "BoardToSocket": { - "socket_uid": ["NONE"] - } - }, - { - "SDKToBoard": { - "sdk_uid": "2.11.2+" - } - } - ] -} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l452re/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32l452re/Boards.json deleted file mode 100644 index 4a3aa4d7e..000000000 --- a/resources/queries/boards/board_nucleo_64_with_stm32l452re/Boards.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "uid": "NUCLEO_64_WITH_STM32L452RE_MCU", - "name": "Nucleo 64 with STM32L452RE MCU", - "icon": "images/boards/board-nucleo-64.png", - "default_device": "", - "soldered_device": "STM32L452RE", - "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_STM32L452RE\",\"_MSDK_SHIELD_\":\"shield_nucleo_64\"}", - "necto_config": "", - "display": "NO_DISPLAY", - "package_uid": "64/LQFP" -} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32l452re/LinkerTables.json b/resources/queries/boards/board_nucleo_64_with_stm32l452re/LinkerTables.json deleted file mode 100644 index 6c86d85f9..000000000 --- a/resources/queries/boards/board_nucleo_64_with_stm32l452re/LinkerTables.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "board_uid": "NUCLEO_64_WITH_STM32L452RE_MCU", - "tables": [ - { - "BoardToDevice": { - "device_uid": "STM32L452RE" - } - }, - { - "BoardToSocket": { - "socket_uid": ["NONE"] - } - }, - { - "SDKToBoard": { - "sdk_uid": "2.11.2+" - } - } - ] -} From b068036a7c3f67111c1f27f110602d27ca90f4d3 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 4 Oct 2024 08:45:30 +0200 Subject: [PATCH 6/6] Removed surpluss files --- changelog/v2.11.2/new_hw/new_hw.md | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 changelog/v2.11.2/new_hw/new_hw.md diff --git a/changelog/v2.11.2/new_hw/new_hw.md b/changelog/v2.11.2/new_hw/new_hw.md deleted file mode 100644 index a70665f4b..000000000 --- a/changelog/v2.11.2/new_hw/new_hw.md +++ /dev/null @@ -1,30 +0,0 @@ -

- MikroElektronika -

- ---- - -**[BACK TO PREVIOUS FILE](../changelog.md)** - ---- - -# `DATE` - -## Changes - -- [`DATE`](#date) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) - -### NEW HARDWARE - -Support added for following hardware: - -+ [Nucleo 64 with STM32L433RC 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-l433rc-p.html) -+ [Nucleo 64 with STM32L452RE 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-l452re.html) - ---- - -**[BACK TO PREVIOUS FILE](../changelog.md)** - ----