diff --git a/bsp/board/include/boards/board_eval_with_stm32l073vz/board.cmake b/bsp/board/include/boards/board_eval_with_stm32l073vz/board.cmake new file mode 100644 index 000000000..9815662a4 --- /dev/null +++ b/bsp/board/include/boards/board_eval_with_stm32l073vz/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_EVAL_WITH_STM32L073VZ_MCU") + set(BOARD_PATH "include/boards/board_eval_with_stm32l073vz") + set(MCU_CARD FALSE) + set(SHIELD FALSE) +endif() diff --git a/bsp/board/include/boards/board_eval_with_stm32l073vz/board.h b/bsp/board/include/boards/board_eval_with_stm32l073vz/board.h new file mode 100644 index 000000000..827a06442 --- /dev/null +++ b/bsp/board/include/boards/board_eval_with_stm32l073vz/board.h @@ -0,0 +1,92 @@ +/**************************************************************************** +** +** 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 "STM32L073VZ-Eval" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN1_D1 PG13 +#define HEADER_CONNECTOR_CN1_D2 // Pin not routed +#define HEADER_CONNECTOR_CN1_D3 PG14 +#define HEADER_CONNECTOR_CN1_D4 PC6 +#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_CN6_D1 // Pin not routed +#define HEADER_CONNECTOR_CN6_D2 PD6 +#define HEADER_CONNECTOR_CN6_D3 PD5 +#define HEADER_CONNECTOR_CN6_D4 // Pin not routed +#define HEADER_CONNECTOR_CN6_D5 // Pin not routed +#define HEADER_CONNECTOR_CN6_D6 // Pin not routed +#define HEADER_CONNECTOR_CN6_D7 PD4 +#define HEADER_CONNECTOR_CN6_D8 // Pin not routed +#define HEADER_CONNECTOR_CN6_D9 // Pin not routed + +#define HEADER_CONNECTOR_CN13_D1 // Pin not routed +#define HEADER_CONNECTOR_CN13_D2 PD0 +#define HEADER_CONNECTOR_CN13_D3 PE15 +#define HEADER_CONNECTOR_CN13_D4 // Pin not routed +#define HEADER_CONNECTOR_CN13_D5 PE13 +#define HEADER_CONNECTOR_CN13_D6 // Pin not routed +#define HEADER_CONNECTOR_CN13_D7 PE14 +#define HEADER_CONNECTOR_CN13_D8 // Pin not routed +#define HEADER_CONNECTOR_CN13_D9 // Pin not routed +#define HEADER_CONNECTOR_CN13_D10 // Pin not routed + +#ifdef __cplusplus +} +#endif + +#endif // _BOARD_H_ +// ------------------------------------------------------------------------- END diff --git a/bsp/board/include/boards/board_eval_with_stm32l476zg/board.cmake b/bsp/board/include/boards/board_eval_with_stm32l476zg/board.cmake new file mode 100644 index 000000000..6bc725f9c --- /dev/null +++ b/bsp/board/include/boards/board_eval_with_stm32l476zg/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_EVAL_WITH_STM32L476ZG_MCU") + set(BOARD_PATH "include/boards/board_eval_with_stm32l476zg") + set(MCU_CARD FALSE) + set(SHIELD FALSE) +endif() diff --git a/bsp/board/include/boards/board_eval_with_stm32l476zg/board.h b/bsp/board/include/boards/board_eval_with_stm32l476zg/board.h new file mode 100644 index 000000000..f63090965 --- /dev/null +++ b/bsp/board/include/boards/board_eval_with_stm32l476zg/board.h @@ -0,0 +1,144 @@ +/**************************************************************************** +** +** 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 "STM32L476ZG-Eval" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN6_D1 // Pin not routed +#define HEADER_CONNECTOR_CN6_D2 // Pin not routed +#define HEADER_CONNECTOR_CN6_D3 PG6 +#define HEADER_CONNECTOR_CN6_D4 PG7 +#define HEADER_CONNECTOR_CN6_D5 PA13 +#define HEADER_CONNECTOR_CN6_D6 PA11 +#define HEADER_CONNECTOR_CN6_D7 PA12 +#define HEADER_CONNECTOR_CN6_D8 PA14 +#define HEADER_CONNECTOR_CN6_D9 PG8 +#define HEADER_CONNECTOR_CN6_D10 PG5 +#define HEADER_CONNECTOR_CN6_D11 // Pin not routed +#define HEADER_CONNECTOR_CN6_D12 PG3 +#define HEADER_CONNECTOR_CN6_D13 PG2 +#define HEADER_CONNECTOR_CN6_D14 PG4 +#define HEADER_CONNECTOR_CN6_D15 PD3 +#define HEADER_CONNECTOR_CN6_D16 PD1 +#define HEADER_CONNECTOR_CN6_D17 PD0 +#define HEADER_CONNECTOR_CN6_D18 PD4 +#define HEADER_CONNECTOR_CN6_D19 PD5 +#define HEADER_CONNECTOR_CN6_D20 PG9 +#define HEADER_CONNECTOR_CN6_D21 PG10 +#define HEADER_CONNECTOR_CN6_D22 // Pin not routed +#define HEADER_CONNECTOR_CN6_D23 PD7 +#define HEADER_CONNECTOR_CN6_D24 PD6 +#define HEADER_CONNECTOR_CN6_D25 PF0 +#define HEADER_CONNECTOR_CN6_D26 PF1 +#define HEADER_CONNECTOR_CN6_D27 PG11 +#define HEADER_CONNECTOR_CN6_D28 // Pin not routed +#define HEADER_CONNECTOR_CN6_D29 PG13 +#define HEADER_CONNECTOR_CN6_D30 PC13 +#define HEADER_CONNECTOR_CN6_D31 PG12 +#define HEADER_CONNECTOR_CN6_D32 PF2 +#define HEADER_CONNECTOR_CN6_D33 PG14 +#define HEADER_CONNECTOR_CN6_D34 PF3 +#define HEADER_CONNECTOR_CN6_D35 PG15 +#define HEADER_CONNECTOR_CN6_D36 // Pin not routed +#define HEADER_CONNECTOR_CN6_D37 PF4 +#define HEADER_CONNECTOR_CN6_D38 PF5 +#define HEADER_CONNECTOR_CN6_D39 // Pin not routed +#define HEADER_CONNECTOR_CN6_D40 PB6 + +#define HEADER_CONNECTOR_CN7_D1 // Pin not routed +#define HEADER_CONNECTOR_CN7_D2 PE15 +#define HEADER_CONNECTOR_CN7_D3 // Pin not routed +#define HEADER_CONNECTOR_CN7_D4 PE13 +#define HEADER_CONNECTOR_CN7_D5 PE12 +#define HEADER_CONNECTOR_CN7_D6 PE11 +#define HEADER_CONNECTOR_CN7_D7 PE10 +#define HEADER_CONNECTOR_CN7_D8 PE9 +#define HEADER_CONNECTOR_CN7_D9 PE8 +#define HEADER_CONNECTOR_CN7_D10 PE7 +#define HEADER_CONNECTOR_CN7_D11 PG1 +#define HEADER_CONNECTOR_CN7_D12 PG0 +#define HEADER_CONNECTOR_CN7_D13 PB2 +#define HEADER_CONNECTOR_CN7_D14 PF15 +#define HEADER_CONNECTOR_CN7_D15 // Pin not routed +#define HEADER_CONNECTOR_CN7_D16 PF14 +#define HEADER_CONNECTOR_CN7_D17 PF12 +#define HEADER_CONNECTOR_CN7_D18 PF13 +#define HEADER_CONNECTOR_CN7_D19 PF11 +#define HEADER_CONNECTOR_CN7_D20 // Pin not routed +#define HEADER_CONNECTOR_CN7_D21 PE4 +#define HEADER_CONNECTOR_CN7_D22 PE6 +#define HEADER_CONNECTOR_CN7_D23 PE5 +#define HEADER_CONNECTOR_CN7_D24 PC15 +#define HEADER_CONNECTOR_CN7_D25 PC14 +#define HEADER_CONNECTOR_CN7_D26 // Pin not routed +#define HEADER_CONNECTOR_CN7_D27 PF6 +#define HEADER_CONNECTOR_CN7_D28 PF7 +#define HEADER_CONNECTOR_CN7_D29 PF9 +#define HEADER_CONNECTOR_CN7_D30 PF8 +#define HEADER_CONNECTOR_CN7_D31 PF10 +#define HEADER_CONNECTOR_CN7_D32 // Pin not routed +#define HEADER_CONNECTOR_CN7_D33 PH1 +#define HEADER_CONNECTOR_CN7_D34 PH0 +#define HEADER_CONNECTOR_CN7_D35 PA5 +#define HEADER_CONNECTOR_CN7_D36 PC3 +#define HEADER_CONNECTOR_CN7_D37 PA0 +#define HEADER_CONNECTOR_CN7_D38 PA4 +#define HEADER_CONNECTOR_CN7_D39 // Pin not routed +#define HEADER_CONNECTOR_CN7_D40 // 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 3dcb99c12..cc914f254 100644 --- a/changelog/v2.12.0/changelog.md +++ b/changelog/v2.12.0/changelog.md @@ -44,6 +44,7 @@ Support added for following hardware: + **[2024-11-08](./new_hw/2024-11-08.md)** ++ **[2024-11-12](./new_hw/2024-11-12.md)** --- diff --git a/changelog/v2.12.0/new_hw/2024-11-12.md b/changelog/v2.12.0/new_hw/2024-11-12.md new file mode 100644 index 000000000..9868ca35b --- /dev/null +++ b/changelog/v2.12.0/new_hw/2024-11-12.md @@ -0,0 +1,30 @@ +
+ +
+ +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- + +# 2024-11-12 + +## Changes + +- [2024-11-12](#2024-11-12) + - [Changes](#changes) + - [NEW HARDWARE](#new-hardware) + +### NEW HARDWARE + +Support added for following hardware: + ++ [Evaluation board with STM32L073VZ 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/stm32l073z-eval.html) ++ [Evaluation board with STM32L476ZG 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/stm32l476g-eval.html) + +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- diff --git a/resources/images/boards/board-eval-with-stm32l073vz-mcu.png b/resources/images/boards/board-eval-with-stm32l073vz-mcu.png new file mode 100644 index 000000000..a28c6ff4c Binary files /dev/null and b/resources/images/boards/board-eval-with-stm32l073vz-mcu.png differ diff --git a/resources/images/boards/board-eval-with-stm32l476zg-mcu.png b/resources/images/boards/board-eval-with-stm32l476zg-mcu.png new file mode 100644 index 000000000..96bdfbb86 Binary files /dev/null and b/resources/images/boards/board-eval-with-stm32l476zg-mcu.png differ diff --git a/resources/queries/boards/board_eval_with_stm32l073vz/Boards.json b/resources/queries/boards/board_eval_with_stm32l073vz/Boards.json new file mode 100644 index 000000000..88f0c9d33 --- /dev/null +++ b/resources/queries/boards/board_eval_with_stm32l073vz/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "BOARD_EVAL_WITH_STM32L073VZ_MCU", + "name": "Evaluation board with STM32L073VZ MCU", + "icon": "images/boards/board-eval-with-stm32l073vz-mcu.png", + "default_device": "", + "soldered_device": "STM32L073VZ", + "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_STM32L073VZ_MCU\"}", + "necto_config": "", + "display": "NO_DISPLAY", + "package_uid": "100/LQFP" +} diff --git a/resources/queries/boards/board_eval_with_stm32l073vz/LinkerTables.json b/resources/queries/boards/board_eval_with_stm32l073vz/LinkerTables.json new file mode 100644 index 000000000..365c900b3 --- /dev/null +++ b/resources/queries/boards/board_eval_with_stm32l073vz/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "BOARD_EVAL_WITH_STM32L073VZ_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32L073VZ" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +} diff --git a/resources/queries/boards/board_eval_with_stm32l476zg/Boards.json b/resources/queries/boards/board_eval_with_stm32l476zg/Boards.json new file mode 100644 index 000000000..b794eb8ef --- /dev/null +++ b/resources/queries/boards/board_eval_with_stm32l476zg/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "BOARD_EVAL_WITH_STM32L476ZG_MCU", + "name": "Evaluation board with STM32L476ZG MCU", + "icon": "images/boards/board-eval-with-stm32l476zg-mcu.png", + "default_device": "", + "soldered_device": "STM32L476ZG", + "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_STM32L476ZG_MCU\"}", + "necto_config": "", + "display": "NO_DISPLAY", + "package_uid": "144/LQFP" +} diff --git a/resources/queries/boards/board_eval_with_stm32l476zg/LinkerTables.json b/resources/queries/boards/board_eval_with_stm32l476zg/LinkerTables.json new file mode 100644 index 000000000..f74f95c1e --- /dev/null +++ b/resources/queries/boards/board_eval_with_stm32l476zg/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "BOARD_EVAL_WITH_STM32L476ZG_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32L476ZG" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +}