From 91b0d97d63607f26ad8c4c9fc8260bcc036d1d01 Mon Sep 17 00:00:00 2001 From: Ivan Ruzavin Date: Fri, 13 Sep 2024 11:46:36 +0200 Subject: [PATCH 01/19] Added release boards to new-feature/boards/15 --- .../board.cmake | 5 + .../board_nucleo_64_with_stm32g071rb/board.h | 104 ++++++++++++++++++ .../board.cmake | 5 + .../board_nucleo_64_with_stm32g0b1re/board.h | 104 ++++++++++++++++++ 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, 320 insertions(+) create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.cmake create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.cmake create mode 100644 bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h create mode 100644 changelog/v2.11.2/new_hw/new_boards.md create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32g071rb/LinkerTables.json create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32g0b1re/Boards.json create mode 100644 resources/queries/boards/board_nucleo_64_with_stm32g0b1re/LinkerTables.json diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.cmake b/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.cmake new file mode 100644 index 000000000..449b4c15f --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32G071RB") + set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32g071rb") + set(MCU_CARD FALSE) + set(SHIELD TRUE) +endif() diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h new file mode 100644 index 000000000..97d64207c --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** 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-G071RB" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN2_D1 // Pin not routed +#define HEADER_CONNECTOR_CN2_D2 PA11 +#define HEADER_CONNECTOR_CN2_D3 PA12 +#define HEADER_CONNECTOR_CN2_D4 // Pin not routed +#define HEADER_CONNECTOR_CN2_D5 // Pin not routed + +#define HEADER_CONNECTOR_CN5_D1 PA9 +#define HEADER_CONNECTOR_CN5_D2 PC7 +#define HEADER_CONNECTOR_CN5_D3 PB0 +#define HEADER_CONNECTOR_CN5_D4 PA7 +#define HEADER_CONNECTOR_CN5_D5 PA6 +#define HEADER_CONNECTOR_CN5_D6 PA5 +#define HEADER_CONNECTOR_CN5_D7 // Pin not routed +#define HEADER_CONNECTOR_CN5_D8 // Pin not routed +#define HEADER_CONNECTOR_CN5_D9 PB9 +#define HEADER_CONNECTOR_CN5_D10 PB8 + +#define HEADER_CONNECTOR_CN6_D1 // Pin not routed +#define HEADER_CONNECTOR_CN6_D2 // Pin not routed +#define HEADER_CONNECTOR_CN6_D3 // Pin not routed +#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 // Pin not routed +#define HEADER_CONNECTOR_CN6_D8 // Pin not routed + +#define HEADER_CONNECTOR_CN8_D1 PA0 +#define HEADER_CONNECTOR_CN8_D2 PA1 +#define HEADER_CONNECTOR_CN8_D3 PA4 +#define HEADER_CONNECTOR_CN8_D4 PB1 +#define HEADER_CONNECTOR_CN8_D5 PB9 +#define HEADER_CONNECTOR_CN8_D6 PB8 + +#define HEADER_CONNECTOR_CN9_D1 PC5 +#define HEADER_CONNECTOR_CN9_D2 PC4 +#define HEADER_CONNECTOR_CN9_D3 PA10 +#define HEADER_CONNECTOR_CN9_D4 PB3 +#define HEADER_CONNECTOR_CN9_D5 PB5 +#define HEADER_CONNECTOR_CN9_D6 PB4 +#define HEADER_CONNECTOR_CN9_D7 PB14 +#define HEADER_CONNECTOR_CN9_D8 PA8 + +#ifdef __cplusplus +} +#endif + +#endif // _BOARD_H_ +// ------------------------------------------------------------------------- END diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.cmake b/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.cmake new file mode 100644 index 000000000..4e437c140 --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.cmake @@ -0,0 +1,5 @@ +if(${_MSDK_BOARD_NAME_} STREQUAL "BOARD_NUCLEO_64_WITH_STM32G0B1RE") + set(BOARD_PATH "include/boards/board_nucleo_64_with_stm32g0b1re") + set(MCU_CARD FALSE) + set(SHIELD TRUE) +endif() diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h new file mode 100644 index 000000000..84369f40c --- /dev/null +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h @@ -0,0 +1,104 @@ +/**************************************************************************** +** +** 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-G0B1RE" + +#include "hal_target.h" + +// Mapping +#define HEADER_CONNECTOR_CN2_D1 // Pin not routed +#define HEADER_CONNECTOR_CN2_D2 PA11 +#define HEADER_CONNECTOR_CN2_D3 PA12 +#define HEADER_CONNECTOR_CN2_D4 // Pin not routed +#define HEADER_CONNECTOR_CN2_D5 // Pin not routed + +#define HEADER_CONNECTOR_CN5_D1 PA9 +#define HEADER_CONNECTOR_CN5_D2 PC7 +#define HEADER_CONNECTOR_CN5_D3 PB0 +#define HEADER_CONNECTOR_CN5_D4 PA7 +#define HEADER_CONNECTOR_CN5_D5 PA6 +#define HEADER_CONNECTOR_CN5_D6 PA5 +#define HEADER_CONNECTOR_CN5_D7 // Pin not routed +#define HEADER_CONNECTOR_CN5_D8 // Pin not routed +#define HEADER_CONNECTOR_CN5_D9 PB9 +#define HEADER_CONNECTOR_CN5_D10 PB8 + +#define HEADER_CONNECTOR_CN6_D1 // Pin not routed +#define HEADER_CONNECTOR_CN6_D2 // Pin not routed +#define HEADER_CONNECTOR_CN6_D3 // Pin not routed +#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 // Pin not routed +#define HEADER_CONNECTOR_CN6_D8 // Pin not routed + +#define HEADER_CONNECTOR_CN8_D1 PA0 +#define HEADER_CONNECTOR_CN8_D2 PA1 +#define HEADER_CONNECTOR_CN8_D3 PA4 +#define HEADER_CONNECTOR_CN8_D4 PB1 +#define HEADER_CONNECTOR_CN8_D5 PB9 +#define HEADER_CONNECTOR_CN8_D6 PB8 + +#define HEADER_CONNECTOR_CN9_D1 PC5 +#define HEADER_CONNECTOR_CN9_D2 PC4 +#define HEADER_CONNECTOR_CN9_D3 PA10 +#define HEADER_CONNECTOR_CN9_D4 PB3 +#define HEADER_CONNECTOR_CN9_D5 PB5 +#define HEADER_CONNECTOR_CN9_D6 PB4 +#define HEADER_CONNECTOR_CN9_D7 PB14 +#define HEADER_CONNECTOR_CN9_D8 PA8 + +#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..84ebc68b0 --- /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 STM32G071RB 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-g071rb.html) ++ [Nucleo 64 with STM32G0B1RE 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-g0b1re.html) + +--- + +**[BACK TO PREVIOUS FILE](../changelog.md)** + +--- diff --git a/resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json new file mode 100644 index 000000000..0d5bc80c7 --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "NUCLEO_64_WITH_STM32G071RB_MCU", + "name": "Nucleo 64 with STM32G071RB MCU", + "icon": "images/boards/board-nucleo-64.png", + "default_device": "NULL", + "soldered_device": "STM32G071RB", + "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_STM32G071RB\",\"_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_stm32g071rb/LinkerTables.json b/resources/queries/boards/board_nucleo_64_with_stm32g071rb/LinkerTables.json new file mode 100644 index 000000000..db4b720f1 --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32g071rb/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "NUCLEO_64_WITH_STM32G071RB_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32G071RB" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +} diff --git a/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/Boards.json new file mode 100644 index 000000000..7600b7d45 --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/Boards.json @@ -0,0 +1,16 @@ +{ + "uid": "NUCLEO_64_WITH_STM32G0B1RE_MCU", + "name": "Nucleo 64 with STM32G0B1RE MCU", + "icon": "images/boards/board-nucleo-64.png", + "default_device": "NULL", + "soldered_device": "STM32G0B1RE", + "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_STM32G0B1RE\",\"_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_stm32g0b1re/LinkerTables.json b/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/LinkerTables.json new file mode 100644 index 000000000..ff8b64a95 --- /dev/null +++ b/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/LinkerTables.json @@ -0,0 +1,20 @@ +{ + "board_uid": "NUCLEO_64_WITH_STM32G0B1RE_MCU", + "tables": [ + { + "BoardToDevice": { + "device_uid": "STM32G0B1RE" + } + }, + { + "BoardToSocket": { + "socket_uid": ["NONE"] + } + }, + { + "SDKToBoard": { + "sdk_uid": "2.11.2+" + } + } + ] +} From b5743b0b1f7b44a0f5a780afeb67d808ffd95a30 Mon Sep 17 00:00:00 2001 From: "ivan.ruzavin" Date: Fri, 27 Sep 2024 12:29:23 +0200 Subject: [PATCH 02/19] Added release boards to new-feature/boards/15 --- .../board_nucleo_64_with_stm32g071rb/board.h | 91 ++++++++++++++++--- .../board_nucleo_64_with_stm32g0b1re/board.h | 91 ++++++++++++++++--- .../new_hw/{new_boards.md => new_hw.md} | 0 .../Boards.json | 4 +- .../Boards.json | 4 +- 5 files changed, 158 insertions(+), 32 deletions(-) rename changelog/v2.11.2/new_hw/{new_boards.md => new_hw.md} (100%) diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h index 97d64207c..7829e7f46 100644 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32g071rb/board.h @@ -54,11 +54,83 @@ extern "C" #include "hal_target.h" // Mapping -#define HEADER_CONNECTOR_CN2_D1 // Pin not routed -#define HEADER_CONNECTOR_CN2_D2 PA11 -#define HEADER_CONNECTOR_CN2_D3 PA12 -#define HEADER_CONNECTOR_CN2_D4 // Pin not routed -#define HEADER_CONNECTOR_CN2_D5 // 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 PA14 +#define HEADER_CONNECTOR_CN1_D8 // Pin not routed +#define HEADER_CONNECTOR_CN1_D9 PD0 +#define HEADER_CONNECTOR_CN1_D10 PD1 +#define HEADER_CONNECTOR_CN1_D11 PD3 +#define HEADER_CONNECTOR_CN1_D12 // Pin not routed +#define HEADER_CONNECTOR_CN1_D13 PA13 +#define HEADER_CONNECTOR_CN1_D14 // Pin not routed +#define HEADER_CONNECTOR_CN1_D15 PD4 +#define HEADER_CONNECTOR_CN1_D16 // Pin not routed +#define HEADER_CONNECTOR_CN1_D17 PA15 +#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 PB7 +#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 PD5 +#define HEADER_CONNECTOR_CN1_D27 PC15 +#define HEADER_CONNECTOR_CN1_D28 PA0 +#define HEADER_CONNECTOR_CN1_D29 PF0 +#define HEADER_CONNECTOR_CN1_D30 PA1 +#define HEADER_CONNECTOR_CN1_D31 PF1 +#define HEADER_CONNECTOR_CN1_D32 PA4 +#define HEADER_CONNECTOR_CN1_D33 // Pin not routed +#define HEADER_CONNECTOR_CN1_D34 PB1 +#define HEADER_CONNECTOR_CN1_D35 PC2 +#define HEADER_CONNECTOR_CN1_D36 PB9 +#define HEADER_CONNECTOR_CN1_D37 PC3 +#define HEADER_CONNECTOR_CN1_D38 PB8 + +#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 PB9 +#define HEADER_CONNECTOR_CN2_D6 PA3 +#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 PD6 +#define HEADER_CONNECTOR_CN2_D11 PA5 +#define HEADER_CONNECTOR_CN2_D12 PA12 +#define HEADER_CONNECTOR_CN2_D13 PA6 +#define HEADER_CONNECTOR_CN2_D14 PA11 +#define HEADER_CONNECTOR_CN2_D15 PA7 +#define HEADER_CONNECTOR_CN2_D16 PC1 +#define HEADER_CONNECTOR_CN2_D17 PB0 +#define HEADER_CONNECTOR_CN2_D18 PC0 +#define HEADER_CONNECTOR_CN2_D19 PC7 +#define HEADER_CONNECTOR_CN2_D20 // Pin not routed +#define HEADER_CONNECTOR_CN2_D21 PA9 +#define HEADER_CONNECTOR_CN2_D22 PB2 +#define HEADER_CONNECTOR_CN2_D23 PA8 +#define HEADER_CONNECTOR_CN2_D24 PB6 +#define HEADER_CONNECTOR_CN2_D25 PB14 +#define HEADER_CONNECTOR_CN2_D26 PB15 +#define HEADER_CONNECTOR_CN2_D27 PB4 +#define HEADER_CONNECTOR_CN2_D28 PB10 +#define HEADER_CONNECTOR_CN2_D29 PB5 +#define HEADER_CONNECTOR_CN2_D30 PB13 +#define HEADER_CONNECTOR_CN2_D31 PB3 +#define HEADER_CONNECTOR_CN2_D32 // Pin not routed +#define HEADER_CONNECTOR_CN2_D33 PA10 +#define HEADER_CONNECTOR_CN2_D34 PA2 +#define HEADER_CONNECTOR_CN2_D35 PC4 +#define HEADER_CONNECTOR_CN2_D36 PD8 +#define HEADER_CONNECTOR_CN2_D37 PC5 +#define HEADER_CONNECTOR_CN2_D38 PD9 #define HEADER_CONNECTOR_CN5_D1 PA9 #define HEADER_CONNECTOR_CN5_D2 PC7 @@ -71,15 +143,6 @@ extern "C" #define HEADER_CONNECTOR_CN5_D9 PB9 #define HEADER_CONNECTOR_CN5_D10 PB8 -#define HEADER_CONNECTOR_CN6_D1 // Pin not routed -#define HEADER_CONNECTOR_CN6_D2 // Pin not routed -#define HEADER_CONNECTOR_CN6_D3 // Pin not routed -#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 // Pin not routed -#define HEADER_CONNECTOR_CN6_D8 // Pin not routed - #define HEADER_CONNECTOR_CN8_D1 PA0 #define HEADER_CONNECTOR_CN8_D2 PA1 #define HEADER_CONNECTOR_CN8_D3 PA4 diff --git a/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h b/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h index 84369f40c..42960665a 100644 --- a/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h +++ b/bsp/board/include/boards/board_nucleo_64_with_stm32g0b1re/board.h @@ -54,11 +54,83 @@ extern "C" #include "hal_target.h" // Mapping -#define HEADER_CONNECTOR_CN2_D1 // Pin not routed -#define HEADER_CONNECTOR_CN2_D2 PA11 -#define HEADER_CONNECTOR_CN2_D3 PA12 -#define HEADER_CONNECTOR_CN2_D4 // Pin not routed -#define HEADER_CONNECTOR_CN2_D5 // 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 PA14 +#define HEADER_CONNECTOR_CN1_D8 // Pin not routed +#define HEADER_CONNECTOR_CN1_D9 PD0 +#define HEADER_CONNECTOR_CN1_D10 PD1 +#define HEADER_CONNECTOR_CN1_D11 PD3 +#define HEADER_CONNECTOR_CN1_D12 // Pin not routed +#define HEADER_CONNECTOR_CN1_D13 PA13 +#define HEADER_CONNECTOR_CN1_D14 // Pin not routed +#define HEADER_CONNECTOR_CN1_D15 PD4 +#define HEADER_CONNECTOR_CN1_D16 // Pin not routed +#define HEADER_CONNECTOR_CN1_D17 PA15 +#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 PB7 +#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 PD5 +#define HEADER_CONNECTOR_CN1_D27 PC15 +#define HEADER_CONNECTOR_CN1_D28 PA0 +#define HEADER_CONNECTOR_CN1_D29 PF0 +#define HEADER_CONNECTOR_CN1_D30 PA1 +#define HEADER_CONNECTOR_CN1_D31 PF1 +#define HEADER_CONNECTOR_CN1_D32 PA4 +#define HEADER_CONNECTOR_CN1_D33 // Pin not routed +#define HEADER_CONNECTOR_CN1_D34 PB1 +#define HEADER_CONNECTOR_CN1_D35 PC2 +#define HEADER_CONNECTOR_CN1_D36 PB9 +#define HEADER_CONNECTOR_CN1_D37 PC3 +#define HEADER_CONNECTOR_CN1_D38 PB8 + +#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 PB9 +#define HEADER_CONNECTOR_CN2_D6 PA3 +#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 PD6 +#define HEADER_CONNECTOR_CN2_D11 PA5 +#define HEADER_CONNECTOR_CN2_D12 PA12 +#define HEADER_CONNECTOR_CN2_D13 PA6 +#define HEADER_CONNECTOR_CN2_D14 PA11 +#define HEADER_CONNECTOR_CN2_D15 PA7 +#define HEADER_CONNECTOR_CN2_D16 PC1 +#define HEADER_CONNECTOR_CN2_D17 PB0 +#define HEADER_CONNECTOR_CN2_D18 PC0 +#define HEADER_CONNECTOR_CN2_D19 PC7 +#define HEADER_CONNECTOR_CN2_D20 // Pin not routed +#define HEADER_CONNECTOR_CN2_D21 PA9 +#define HEADER_CONNECTOR_CN2_D22 PB2 +#define HEADER_CONNECTOR_CN2_D23 PA8 +#define HEADER_CONNECTOR_CN2_D24 PB6 +#define HEADER_CONNECTOR_CN2_D25 PB14 +#define HEADER_CONNECTOR_CN2_D26 PB15 +#define HEADER_CONNECTOR_CN2_D27 PB4 +#define HEADER_CONNECTOR_CN2_D28 PB10 +#define HEADER_CONNECTOR_CN2_D29 PB5 +#define HEADER_CONNECTOR_CN2_D30 PB13 +#define HEADER_CONNECTOR_CN2_D31 PB3 +#define HEADER_CONNECTOR_CN2_D32 // Pin not routed +#define HEADER_CONNECTOR_CN2_D33 PA10 +#define HEADER_CONNECTOR_CN2_D34 PA2 +#define HEADER_CONNECTOR_CN2_D35 PC4 +#define HEADER_CONNECTOR_CN2_D36 PD8 +#define HEADER_CONNECTOR_CN2_D37 PC5 +#define HEADER_CONNECTOR_CN2_D38 PD9 #define HEADER_CONNECTOR_CN5_D1 PA9 #define HEADER_CONNECTOR_CN5_D2 PC7 @@ -71,15 +143,6 @@ extern "C" #define HEADER_CONNECTOR_CN5_D9 PB9 #define HEADER_CONNECTOR_CN5_D10 PB8 -#define HEADER_CONNECTOR_CN6_D1 // Pin not routed -#define HEADER_CONNECTOR_CN6_D2 // Pin not routed -#define HEADER_CONNECTOR_CN6_D3 // Pin not routed -#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 // Pin not routed -#define HEADER_CONNECTOR_CN6_D8 // Pin not routed - #define HEADER_CONNECTOR_CN8_D1 PA0 #define HEADER_CONNECTOR_CN8_D2 PA1 #define HEADER_CONNECTOR_CN8_D3 PA4 diff --git a/changelog/v2.11.2/new_hw/new_boards.md b/changelog/v2.11.2/new_hw/new_hw.md similarity index 100% rename from changelog/v2.11.2/new_hw/new_boards.md rename to changelog/v2.11.2/new_hw/new_hw.md diff --git a/resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json index 0d5bc80c7..3eb6e94b2 100644 --- a/resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json +++ b/resources/queries/boards/board_nucleo_64_with_stm32g071rb/Boards.json @@ -2,7 +2,7 @@ "uid": "NUCLEO_64_WITH_STM32G071RB_MCU", "name": "Nucleo 64 with STM32G071RB MCU", "icon": "images/boards/board-nucleo-64.png", - "default_device": "NULL", + "default_device": "", "soldered_device": "STM32G071RB", "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_STM32G071RB\",\"_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_stm32g0b1re/Boards.json b/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/Boards.json index 7600b7d45..2a8c03e7a 100644 --- a/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/Boards.json +++ b/resources/queries/boards/board_nucleo_64_with_stm32g0b1re/Boards.json @@ -2,7 +2,7 @@ "uid": "NUCLEO_64_WITH_STM32G0B1RE_MCU", "name": "Nucleo 64 with STM32G0B1RE MCU", "icon": "images/boards/board-nucleo-64.png", - "default_device": "NULL", + "default_device": "", "soldered_device": "STM32G0B1RE", "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_STM32G0B1RE\",\"_MSDK_SHIELD_\":\"shield_nucleo_64\"}", - "necto_config": "NULL", + "necto_config": "", "display": "NO_DISPLAY", "package_uid": "64/LQFP" } From 671e12c82ff1d76e4a6222c50862c5fdc312119a Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:10:57 +0200 Subject: [PATCH 03/19] Updated workflow for SDK release --- .github/workflows/index.yaml | 19 +++++++++ .github/workflows/notify.yaml | 30 +++++++++++++- .github/workflows/release.yaml | 27 ------------ changelog/v2.11.3/changelog.md | 12 ++++++ manifest.json | 2 +- scripts/build_message_sdk.py | 68 +++++++++++++++++++++++++++++++ scripts/update_board_changelog.py | 5 ++- 7 files changed, 132 insertions(+), 31 deletions(-) create mode 100644 scripts/build_message_sdk.py diff --git a/.github/workflows/index.yaml b/.github/workflows/index.yaml index e60f59b0d..b6e66f818 100644 --- a/.github/workflows/index.yaml +++ b/.github/workflows/index.yaml @@ -17,6 +17,10 @@ on: type: boolean description: Promote selected version to latest? (Only applied if index is set to "live") default: false + notify_sdk: + type: boolean + description: Notify SDK + default: false jobs: index: @@ -80,3 +84,18 @@ jobs: -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/$repo_owner/$repo_name/dispatches \ -d "{\"event_type\": \"$event_type\", \"client_payload\": {\"version\": \"$version\", \"index\": \"$index\", \"unit\": false, \"integration\": true}}" + + - name: Build SDK Message with Python + if: ${{ github.event.inputs.notify_sdk == 'true' }} + run: | + python -u scripts/build_message_sdk.py "${{ github.event.inputs.release_version }}" > message.txt + + - name: Send SDK notification to Mattermost + if: ${{ github.event.inputs.notify_sdk == 'true' }} + env: + MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + run: | + MESSAGE=$(cat message.txt) + curl -X POST -H 'Content-Type: application/json' \ + --data "{\"text\": \"$MESSAGE\"}" \ + $MATTERMOST_WEBHOOK_URL diff --git a/.github/workflows/notify.yaml b/.github/workflows/notify.yaml index 16bc62913..50f32ed08 100644 --- a/.github/workflows/notify.yaml +++ b/.github/workflows/notify.yaml @@ -2,6 +2,15 @@ name: Notify Mattermost on: workflow_dispatch: + inputs: + notify_sdk: + type: boolean + description: Notify SDK + default: false + notify_components: + type: boolean + description: Notify Boards/Cards + default: false jobs: notify: @@ -23,11 +32,28 @@ jobs: pip install py7zr pip install chardet - - name: Build Message with Python + - name: Build SDK Message with Python + if: ${{ github.event.inputs.notify_sdk == 'true' }} + run: | + python -u scripts/build_message_sdk.py "${{ github.event.inputs.release_version }}" > message.txt + + - name: Send SDK notification to Mattermost + if: ${{ github.event.inputs.notify_sdk == 'true' }} + env: + MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} + run: | + MESSAGE=$(cat message.txt) + curl -X POST -H 'Content-Type: application/json' \ + --data "{\"text\": \"$MESSAGE\"}" \ + $MATTERMOST_WEBHOOK_URL + + - name: Build Boards/Cards Message with Python + if: ${{ github.event.inputs.notify_components == 'true' }} run: | python -u scripts/build_message.py > message.txt - - name: Send notification to Mattermost + - name: Send Boards/Cards notification to Mattermost + if: ${{ github.event.inputs.notify_components == 'true' }} env: MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} run: | diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 60b9ba62a..ae005acba 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,30 +29,3 @@ jobs: - name: Run Package Script run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} - - - name: Trigger database update in Core repo - run: | - # Set the required variables - repo_owner="MikroElektronika" - repo_name="core_packages" - event_type="trigger-workflow" - version="${{ github.event.release.tag_name }}" - - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.MIKROE_ACTIONS_KEY }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/$repo_owner/$repo_name/dispatches \ - -d "{\"event_type\": \"$event_type\", \"client_payload\": {\"version\": \"$version\", \"index\": \"Test\", \"unit\": false, \"integration\": true}}" - - # Wait 30 seconds to give GIT time to merge everything - sleep 30s - - curl -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer ${{ secrets.MIKROE_ACTIONS_KEY }}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/$repo_owner/$repo_name/dispatches \ - -d "{\"event_type\": \"$event_type\", \"client_payload\": {\"version\": \"$version\", \"index\": \"Live\", \"unit\": false, \"integration\": true}}" diff --git a/changelog/v2.11.3/changelog.md b/changelog/v2.11.3/changelog.md index d5e113c50..8bd6c64fe 100644 --- a/changelog/v2.11.3/changelog.md +++ b/changelog/v2.11.3/changelog.md @@ -17,12 +17,24 @@ - [`v2.11.3`](#v2113) - [Changes](#changes) - [Fixes](#fixes) + - [Improvements](#improvements) + - [NEW HARDWARE](#new-hardware) ### Fixes + Fixed touch panel implementation and TSC2003 library to recognize touch on TSC2003 RESISTIVE Displays while using LVGL projects + Fixed TP_ROTATION value to be "180" for all 4" CAPACITIVE Mikromedia Boards with PIC32MZ so touch position can be detected correctly +### Improvements + ++ Updated [CMakeLists.txt](../../bsp/board/CMakeLists.txt) to include MCU Cards headers differently + + Headers are now included with new path with `MCU_NAME` + +### NEW HARDWARE + +> NOTE: +>> If any new hardware was added to current version, it will be listed here. + --- **[BACK TO MAIN FILE](../../changelog.md)** diff --git a/manifest.json b/manifest.json index 6043b0c57..3ceecbf2f 100644 --- a/manifest.json +++ b/manifest.json @@ -3,5 +3,5 @@ "display-name": "mikroSDK", "description": "MikroSDK 2.0 is an embedded software development framework designed to simplify and accelerate application development on Mikroe hardware platform, specifically for Click Boards and other extension board drivers, on a broad range of microcontroller vendors and architectures. It includes peripheral libraries and drivers, middleware, board support, and application layer libraries among others.", "icon": "images/icon-mikroSDK.png", - "manifest-version": "1.0.16" + "manifest-version": "1.0.17" } diff --git a/scripts/build_message_sdk.py b/scripts/build_message_sdk.py new file mode 100644 index 000000000..fadd3cf13 --- /dev/null +++ b/scripts/build_message_sdk.py @@ -0,0 +1,68 @@ +from datetime import datetime +from bs4 import BeautifulSoup +import os +import markdown +import argparse + +# Set up argument parsing to accept the markdown file path +parser = argparse.ArgumentParser(description="Process a markdown file to generate formatted release notes.") +parser.add_argument('version', type=str, help='Path to the markdown file') +args = parser.parse_args() + +markdown_file_path = os.path.join(os.getcwd(), 'changelog', args.version.replace('mikroSDK-', ''), 'changelog.md') + +# Read the markdown content from the file path provided as a command-line argument +with open(markdown_file_path, 'r', encoding='utf-8') as file: + markdown_content = file.read() + +# Convert markdown to HTML and parse it with BeautifulSoup +html_content = markdown.markdown(markdown_content) +soup = BeautifulSoup(html_content, 'html.parser') + +# Function to extract sections dynamically based on headers, excluding unwanted sections +def extract_sections(soup): + sections = {} + current_section = None + for tag in soup.find_all(['h3', 'p', 'ul']): + if tag.name == 'h3': + current_section = tag.get_text(strip=True) + # Exclude the "NEW HARDWARE" section + if current_section.lower() == 'new hardware': + current_section = None + else: + sections[current_section] = [] + elif current_section and tag.name in ['p', 'ul']: + # Join text contents with spaces to avoid missing spaces between elements + text_content = ' '.join(tag.stripped_strings) + sections[current_section].append(text_content) + return sections + +# Extract sections from the parsed markdown, excluding specified sections +sections = extract_sections(soup) + +# Format the extracted sections +formatted_sections = [] +for section, content in sections.items(): + formatted_sections.append(f"+ {section}") + for line in content: + formatted_sections.append(f" + {line}") + +# Combine all formatted sections +formatted_message_content = "\n".join(formatted_sections) + +# Get the current date and time +release_date = datetime.now().strftime("%a %b %d %H:%M:%S CEST %Y") + +# Create the final formatted message +formatted_message = f""" +NECTO SDK Release for {release_date}: + +Update notes: + +{formatted_message_content} + +> For more information on today's release, visit following [README](https://github.com/MikroElektronika/mikrosdk_v2/blob/master/changelog/v2.11.2/new_hw/2024-09-27.md) +""" + +# Print the formatted message +print(formatted_message) diff --git a/scripts/update_board_changelog.py b/scripts/update_board_changelog.py index 08ef2c19b..a0ab2f73c 100644 --- a/scripts/update_board_changelog.py +++ b/scripts/update_board_changelog.py @@ -1,5 +1,6 @@ import os from datetime import datetime +from packaging.version import Version def write_output_to_file(file, content): with open(file, 'w') as file_write: @@ -27,4 +28,6 @@ def find_file(root_folder, filename): write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), file_dir.split(os.path.sep)[-2][1:]) else: - write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), '0') + # Extract and sort versions, removing the 'v' prefix + latest_version = max(os.listdir(os.path.join(os.getcwd(), 'changelog')), key=lambda v: Version(v.lstrip('v'))).lstrip('v') + write_output_to_file(os.path.join(os.getcwd(), 'sdk_tag.txt'), latest_version) From 842c4b2f3a5699ed21ed98a0321da7fb0140c5cd Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:14:40 +0200 Subject: [PATCH 04/19] Workflow updated --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ae005acba..013a6d5f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" From f9ba4b8d207c775e99840da4a225375f57bb6150 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:26:11 +0200 Subject: [PATCH 05/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 013a6d5f8..f20206bfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" From 842ea544f953f4f5cb46fdd318c2b64d42978e59 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:38:22 +0200 Subject: [PATCH 06/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f20206bfe..013a6d5f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" From ce75ca5e960fdef7be500bad842993521c446e23 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:50:43 +0200 Subject: [PATCH 07/19] Updated script workflow --- scripts/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package.py b/scripts/package.py index c916fa00c..40604e269 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -548,7 +548,7 @@ def str2bool(v): # Package all boards as separate packages packages = {} - if check_files_in_directory(os.path.join(os.getcwd(), 'resources/queries/boards')): + if check_files_in_directory(os.path.join(os.getcwd(), 'resources/queries/boards')) or not args.package_boards_or_mcus: packages = package_board_files( repo_dir, os.path.join(os.getcwd(), 'bsp/board/include/boards'), @@ -560,7 +560,7 @@ def str2bool(v): json.dump(packages, metadata, indent=4) # Package all cards as separate packages - if check_files_in_directory(os.path.join(os.getcwd(), 'resources/queries/mcu_cards')): + if check_files_in_directory(os.path.join(os.getcwd(), 'resources/queries/mcu_cards')) or not args.package_boards_or_mcus: packages_cards = package_card_files( repo_dir, os.path.join(os.getcwd(), 'bsp/board/include/mcu_cards'), From ab9b426d11d5725f2edd23d134f578747c257386 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:56:05 +0200 Subject: [PATCH 08/19] Updated script --- scripts/package.py | 63 +++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/scripts/package.py b/scripts/package.py index 40604e269..84b2151e7 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -408,39 +408,40 @@ def package_card_files(repo_root, files_root_dir, path_list, sdk_version): shutil.rmtree(os.path.join(repo_root, f'tmp/assets/{asset_type}/{mcu_card_name}')) - for each_query_path in os.listdir(os.path.join(os.getcwd(), 'resources/queries/cards')): - if each_query_path not in existing_cards: - print('Adding new card: %s' % each_query_path) - json_device = json.load(open(os.path.join(os.getcwd(), 'resources/queries/cards', each_query_path, 'Devices.json'))) - card_path = json_device['uid'].rsplit('_', 1)[0].lower() - os.makedirs(os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}'), exist_ok=True) - shutil.copyfile( - os.path.join(files_root_dir, card_path, 'mcu_card.h'), - os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}/mcu_card.h') - ) - package_name = json_device['uid'].lower() - create_custom_archive( - os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}'), - os.path.join(repo_root, f'tmp/assets/{asset_type}/{package_name}.7z') - ) - query_file = '\'{"package":"' + package_name + '"}\'' - archive_list.update( - { - json_device['name']: + if os.path.exists(os.path.join(os.getcwd(), 'resources/queries/cards')): + for each_query_path in os.listdir(os.path.join(os.getcwd(), 'resources/queries/cards')): + if each_query_path not in existing_cards: + print('Adding new card: %s' % each_query_path) + json_device = json.load(open(os.path.join(os.getcwd(), 'resources/queries/cards', each_query_path, 'Devices.json'))) + card_path = json_device['uid'].rsplit('_', 1)[0].lower() + os.makedirs(os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}'), exist_ok=True) + shutil.copyfile( + os.path.join(files_root_dir, card_path, 'mcu_card.h'), + os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}/mcu_card.h') + ) + package_name = json_device['uid'].lower() + create_custom_archive( + os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}'), + os.path.join(repo_root, f'tmp/assets/{asset_type}/{package_name}.7z') + ) + query_file = '\'{"package":"' + package_name + '"}\'' + archive_list.update( { - "name": json_device['uid'].rsplit('_', 1)[0].lower(), - "display_name": json_device['name'], - "type": "card", - "icon": f'https://raw.githubusercontent.com/MikroElektronika/mikrosdk_v2/master/resources/{json_device['icon']}', - "package_name": package_name, - "hash": hash_directory_contents(os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}')), - "category": "Card Package", - "package_rel_path": f'tmp/assets/{asset_type}/{package_name}.7z', - "install_location": f"%APPLICATION_DATA_DIR%/packages/sdk/mikroSDK_v2/src/bsp/board/include/mcu_cards/{card_path}/{json_device['def_file'].split('.')[0]}", - "db_query": f'UPDATE Devices SET installer_package = {query_file} WHERE name = \"{json_device['name']}\"' + json_device['name']: + { + "name": json_device['uid'].rsplit('_', 1)[0].lower(), + "display_name": json_device['name'], + "type": "card", + "icon": f'https://raw.githubusercontent.com/MikroElektronika/mikrosdk_v2/master/resources/{json_device['icon']}', + "package_name": package_name, + "hash": hash_directory_contents(os.path.join(repo_root, f'tmp/assets/{asset_type}/{each_query_path}')), + "category": "Card Package", + "package_rel_path": f'tmp/assets/{asset_type}/{package_name}.7z', + "install_location": f"%APPLICATION_DATA_DIR%/packages/sdk/mikroSDK_v2/src/bsp/board/include/mcu_cards/{card_path}/{json_device['def_file'].split('.')[0]}", + "db_query": f'UPDATE Devices SET installer_package = {query_file} WHERE name = \"{json_device['name']}\"' + } } - } - ) + ) return archive_list From 8ece64bf186b8917ef09cde2264156ac02a6d712 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:26:11 +0200 Subject: [PATCH 09/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 013a6d5f8..f20206bfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" From 41f6073afe593b4bd233c24688b7efa92b1bf934 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:38:22 +0200 Subject: [PATCH 10/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f20206bfe..013a6d5f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" From f9a2edac9ed03db8194de6a1ab36689d4522d2e0 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Mon, 30 Sep 2024 08:53:40 +0200 Subject: [PATCH 11/19] Updated SDK message. --- scripts/build_message_sdk.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_message_sdk.py b/scripts/build_message_sdk.py index fadd3cf13..5c3f93cf9 100644 --- a/scripts/build_message_sdk.py +++ b/scripts/build_message_sdk.py @@ -9,7 +9,7 @@ parser.add_argument('version', type=str, help='Path to the markdown file') args = parser.parse_args() -markdown_file_path = os.path.join(os.getcwd(), 'changelog', args.version.replace('mikroSDK-', ''), 'changelog.md') +markdown_file_path = os.path.join(os.getcwd(), 'changelog', f'v{args.version.replace('mikroSDK-', '')}', 'changelog.md') # Read the markdown content from the file path provided as a command-line argument with open(markdown_file_path, 'r', encoding='utf-8') as file: @@ -55,13 +55,13 @@ def extract_sections(soup): # Create the final formatted message formatted_message = f""" -NECTO SDK Release for {release_date}: +NECTO SDK Update for {release_date}: Update notes: {formatted_message_content} -> For more information on today's release, visit following [README](https://github.com/MikroElektronika/mikrosdk_v2/blob/master/changelog/v2.11.2/new_hw/2024-09-27.md) +> For more information on today's release, visit following [README](https://github.com/MikroElektronika/mikrosdk_v2/blob/master/changelog/v{args.version.replace('mikroSDK-', '')}/changelog.md) """ # Print the formatted message From 9e4ba8c3d5d807896d5723af816593d0cbcf9c0a Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Mon, 30 Sep 2024 09:01:39 +0200 Subject: [PATCH 12/19] Lists styling changed to ordered in markdown files. --- changelog/v2.0.1/changelog.md | 8 +++---- changelog/v2.0.2/changelog.md | 8 +++---- changelog/v2.0.3/changelog.md | 10 ++++---- changelog/v2.1.0/changelog.md | 18 +++++++-------- changelog/v2.1.1/changelog.md | 18 +++++++-------- changelog/v2.10.0/changelog.md | 24 +++++++++---------- changelog/v2.10.1/changelog.md | 6 ++--- changelog/v2.10.2/changelog.md | 10 ++++---- changelog/v2.11.0/changelog.md | 16 ++++++------- changelog/v2.11.1/changelog.md | 16 ++++++------- changelog/v2.11.2/changelog.md | 6 ++--- changelog/v2.11.2/new_hw/2024-08-23.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-11.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-12.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-13.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-16.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-17.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-18.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-19.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-20.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-23.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-24.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-25.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-26.md | 6 ++--- changelog/v2.11.2/new_hw/2024-09-27.md | 6 ++--- changelog/v2.11.3/changelog.md | 10 ++++---- changelog/v2.2.0/changelog.md | 22 +++++++++--------- changelog/v2.3.0/changelog.md | 20 ++++++++-------- changelog/v2.4.0/changelog.md | 32 +++++++++++++------------- changelog/v2.5.0/changelog.md | 16 ++++++------- changelog/v2.5.1/changelog.md | 12 +++++----- changelog/v2.6.0/changelog.md | 16 ++++++------- changelog/v2.7.0/changelog.md | 16 ++++++------- changelog/v2.7.1/changelog.md | 12 +++++----- changelog/v2.7.2/changelog.md | 12 +++++----- changelog/v2.8.0/changelog.md | 16 ++++++------- changelog/v2.9.0/changelog.md | 12 +++++----- 37 files changed, 210 insertions(+), 210 deletions(-) diff --git a/changelog/v2.0.1/changelog.md b/changelog/v2.0.1/changelog.md index 9f70619f1..de6ea8005 100644 --- a/changelog/v2.0.1/changelog.md +++ b/changelog/v2.0.1/changelog.md @@ -14,10 +14,10 @@ ## Changes -- [`v2.0.1`](#v201) - - [Changes](#changes) - - [General](#general) - - [Fixes](#fixes) ++ [`v2.0.1`](#v201) + + [Changes](#changes) + + [General](#general) + + [Fixes](#fixes) ### General diff --git a/changelog/v2.0.2/changelog.md b/changelog/v2.0.2/changelog.md index f24c54817..201ac4943 100644 --- a/changelog/v2.0.2/changelog.md +++ b/changelog/v2.0.2/changelog.md @@ -14,10 +14,10 @@ ## Changes -- [`v2.0.2`](#v202) - - [Changes](#changes) - - [General](#general) - - [Fixes](#fixes) ++ [`v2.0.2`](#v202) + + [Changes](#changes) + + [General](#general) + + [Fixes](#fixes) ### General diff --git a/changelog/v2.0.3/changelog.md b/changelog/v2.0.3/changelog.md index f783e0d04..db3460d4a 100644 --- a/changelog/v2.0.3/changelog.md +++ b/changelog/v2.0.3/changelog.md @@ -14,11 +14,11 @@ ## Changes -- [`v2.0.3`](#v203) - - [Changes](#changes) - - [General](#general) - - [Fixes](#fixes) - - [Improvements](#improvements) ++ [`v2.0.3`](#v203) + + [Changes](#changes) + + [General](#general) + + [Fixes](#fixes) + + [Improvements](#improvements) ### General diff --git a/changelog/v2.1.0/changelog.md b/changelog/v2.1.0/changelog.md index 82b5b3c55..3f5828d80 100644 --- a/changelog/v2.1.0/changelog.md +++ b/changelog/v2.1.0/changelog.md @@ -14,15 +14,15 @@ ## Changes -- [`v2.1.0`](#v210) - - [Changes](#changes) - - [PIC32 SDK](#pic32-sdk) - - [NEW HARDWARE](#new-hardware) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [Fixes](#fixes) - - [Improvements](#improvements) - - [Git relevant updates](#git-relevant-updates) - - [Collaborators](#collaborators) ++ [`v2.1.0`](#v210) + + [Changes](#changes) + + [PIC32 SDK](#pic32-sdk) + + [NEW HARDWARE](#new-hardware) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [Fixes](#fixes) + + [Improvements](#improvements) + + [Git relevant updates](#git-relevant-updates) + + [Collaborators](#collaborators) ### PIC32 SDK diff --git a/changelog/v2.1.1/changelog.md b/changelog/v2.1.1/changelog.md index 4c606e913..008300dcb 100644 --- a/changelog/v2.1.1/changelog.md +++ b/changelog/v2.1.1/changelog.md @@ -14,15 +14,15 @@ ## Changes -- [`v2.1.1`](#v211) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [Fixes](#fixes) - - [Improvements](#improvements) - - [Git relevant updates](#git-relevant-updates) - - [Test examples](#test-examples) - - [Recursive build automation](#recursive-build-automation) ++ [`v2.1.1`](#v211) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [Fixes](#fixes) + + [Improvements](#improvements) + + [Git relevant updates](#git-relevant-updates) + + [Test examples](#test-examples) + + [Recursive build automation](#recursive-build-automation) ### NEW HARDWARE diff --git a/changelog/v2.10.0/changelog.md b/changelog/v2.10.0/changelog.md index b086d797f..088cec83b 100644 --- a/changelog/v2.10.0/changelog.md +++ b/changelog/v2.10.0/changelog.md @@ -14,18 +14,18 @@ ## Changes -- [`v2.10.0`](#v2100) - - [Changes](#changes) - - [New Features](#new-features) - - [Tiva](#tiva) - - [RISC-V SDK](#risc-v-sdk) - - [Kinetis SDK](#kinetis-sdk) - - [PIC32 SDK](#pic32-sdk) - - [STM32 SDK](#stm32-sdk) - - [Improvements](#improvements) - - [Fixes](#fixes) - - [NEW HARDWARE](#new-hardware) - - [Collaborators](#collaborators) ++ [`v2.10.0`](#v2100) + + [Changes](#changes) + + [New Features](#new-features) + + [Tiva](#tiva) + + [RISC-V SDK](#risc-v-sdk) + + [Kinetis SDK](#kinetis-sdk) + + [PIC32 SDK](#pic32-sdk) + + [STM32 SDK](#stm32-sdk) + + [Improvements](#improvements) + + [Fixes](#fixes) + + [NEW HARDWARE](#new-hardware) + + [Collaborators](#collaborators) ### New Features diff --git a/changelog/v2.10.1/changelog.md b/changelog/v2.10.1/changelog.md index d1b90e117..a195d5fcd 100644 --- a/changelog/v2.10.1/changelog.md +++ b/changelog/v2.10.1/changelog.md @@ -14,9 +14,9 @@ ## Changes -- [`v2.10.1`](#v2101) - - [Changes](#changes) - - [Fixes](#fixes) ++ [`v2.10.1`](#v2101) + + [Changes](#changes) + + [Fixes](#fixes) ### Fixes diff --git a/changelog/v2.10.2/changelog.md b/changelog/v2.10.2/changelog.md index 0c624cffb..f107bc228 100644 --- a/changelog/v2.10.2/changelog.md +++ b/changelog/v2.10.2/changelog.md @@ -14,11 +14,11 @@ ## Changes -- [`v2.10.2`](#v2102) - - [Changes](#changes) - - [Fixes](#fixes) - - [Improvements](#improvements) - - [NEW HARDWARE](#new-hardware) ++ [`v2.10.2`](#v2102) + + [Changes](#changes) + + [Fixes](#fixes) + + [Improvements](#improvements) + + [NEW HARDWARE](#new-hardware) ### Fixes diff --git a/changelog/v2.11.0/changelog.md b/changelog/v2.11.0/changelog.md index 2dbca624b..65cb56499 100644 --- a/changelog/v2.11.0/changelog.md +++ b/changelog/v2.11.0/changelog.md @@ -14,14 +14,14 @@ ## Changes -- [`v2.11.0`](#v2110) - - [Changes](#changes) - - [XC32](#xc32) - - [XC16](#xc16) - - [XC8](#xc8) - - [Fixes](#fixes) - - [Improvements](#improvements) - - [NEW HARDWARE](#new-hardware) ++ [`v2.11.0`](#v2110) + + [Changes](#changes) + + [XC32](#xc32) + + [XC16](#xc16) + + [XC8](#xc8) + + [Fixes](#fixes) + + [Improvements](#improvements) + + [NEW HARDWARE](#new-hardware) ### XC32 diff --git a/changelog/v2.11.1/changelog.md b/changelog/v2.11.1/changelog.md index 58bed957c..d01e2f5d5 100644 --- a/changelog/v2.11.1/changelog.md +++ b/changelog/v2.11.1/changelog.md @@ -14,14 +14,14 @@ ## Changes -- [`v2.11.1`](#v2111) - - [Changes](#changes) - - [STM32](#stm32) - - [XC16 USB](#xc16-usb) - - [XC32 ETHERNET](#xc32-ethernet) - - [Fixes](#fixes) - - [Improvements](#improvements) - - [NEW HARDWARE](#new-hardware) ++ [`v2.11.1`](#v2111) + + [Changes](#changes) + + [STM32](#stm32) + + [XC16 USB](#xc16-usb) + + [XC32 ETHERNET](#xc32-ethernet) + + [Fixes](#fixes) + + [Improvements](#improvements) + + [NEW HARDWARE](#new-hardware) ### STM32 diff --git a/changelog/v2.11.2/changelog.md b/changelog/v2.11.2/changelog.md index 49d46275e..cc588227c 100644 --- a/changelog/v2.11.2/changelog.md +++ b/changelog/v2.11.2/changelog.md @@ -14,9 +14,9 @@ ## Changes -- [`v2.11.2`](#v2112) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [`v2.11.2`](#v2112) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-08-23.md b/changelog/v2.11.2/new_hw/2024-08-23.md index d9dd10c5a..f021329c1 100644 --- a/changelog/v2.11.2/new_hw/2024-08-23.md +++ b/changelog/v2.11.2/new_hw/2024-08-23.md @@ -12,9 +12,9 @@ ## Changes -- [`2024-08-23`](#2024-08-23) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [`2024-08-23`](#2024-08-23) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-11.md b/changelog/v2.11.2/new_hw/2024-09-11.md index 70ba94686..e0d5f337a 100644 --- a/changelog/v2.11.2/new_hw/2024-09-11.md +++ b/changelog/v2.11.2/new_hw/2024-09-11.md @@ -12,9 +12,9 @@ ## Changes -- [`2024-09-11`](#2024-09-11) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [`2024-09-11`](#2024-09-11) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-12.md b/changelog/v2.11.2/new_hw/2024-09-12.md index 93b5fb9c3..50417cb5d 100644 --- a/changelog/v2.11.2/new_hw/2024-09-12.md +++ b/changelog/v2.11.2/new_hw/2024-09-12.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-12](#2024-09-12) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-12](#2024-09-12) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-13.md b/changelog/v2.11.2/new_hw/2024-09-13.md index 7b45f5659..3c02a75c0 100644 --- a/changelog/v2.11.2/new_hw/2024-09-13.md +++ b/changelog/v2.11.2/new_hw/2024-09-13.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-13](#2024-09-13) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-13](#2024-09-13) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-16.md b/changelog/v2.11.2/new_hw/2024-09-16.md index cdd645eaf..a17ecd2a8 100644 --- a/changelog/v2.11.2/new_hw/2024-09-16.md +++ b/changelog/v2.11.2/new_hw/2024-09-16.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-16](#2024-09-16) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-16](#2024-09-16) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-17.md b/changelog/v2.11.2/new_hw/2024-09-17.md index 908fb8c9f..5860e3fa4 100644 --- a/changelog/v2.11.2/new_hw/2024-09-17.md +++ b/changelog/v2.11.2/new_hw/2024-09-17.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-17](#2024-09-17) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-17](#2024-09-17) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-18.md b/changelog/v2.11.2/new_hw/2024-09-18.md index c72911081..de5c3a7aa 100644 --- a/changelog/v2.11.2/new_hw/2024-09-18.md +++ b/changelog/v2.11.2/new_hw/2024-09-18.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-18](#2024-09-18) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-18](#2024-09-18) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-19.md b/changelog/v2.11.2/new_hw/2024-09-19.md index 0c116fff6..7ae972931 100644 --- a/changelog/v2.11.2/new_hw/2024-09-19.md +++ b/changelog/v2.11.2/new_hw/2024-09-19.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-19](#2024-09-19) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-19](#2024-09-19) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-20.md b/changelog/v2.11.2/new_hw/2024-09-20.md index 6994661fa..c35db671a 100644 --- a/changelog/v2.11.2/new_hw/2024-09-20.md +++ b/changelog/v2.11.2/new_hw/2024-09-20.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-20](#2024-09-20) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-20](#2024-09-20) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-23.md b/changelog/v2.11.2/new_hw/2024-09-23.md index 3590bf64e..8f93e0e87 100644 --- a/changelog/v2.11.2/new_hw/2024-09-23.md +++ b/changelog/v2.11.2/new_hw/2024-09-23.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-23](#2024-09-23) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-23](#2024-09-23) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-24.md b/changelog/v2.11.2/new_hw/2024-09-24.md index 318cede5b..a7c0d502b 100644 --- a/changelog/v2.11.2/new_hw/2024-09-24.md +++ b/changelog/v2.11.2/new_hw/2024-09-24.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-24](#2024-09-24) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-24](#2024-09-24) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-25.md b/changelog/v2.11.2/new_hw/2024-09-25.md index 6f801659f..41453bbef 100644 --- a/changelog/v2.11.2/new_hw/2024-09-25.md +++ b/changelog/v2.11.2/new_hw/2024-09-25.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-25](#2024-09-25) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-25](#2024-09-25) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-26.md b/changelog/v2.11.2/new_hw/2024-09-26.md index a20fb7299..b194d36b2 100644 --- a/changelog/v2.11.2/new_hw/2024-09-26.md +++ b/changelog/v2.11.2/new_hw/2024-09-26.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-26](#2024-09-26) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-26](#2024-09-26) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.2/new_hw/2024-09-27.md b/changelog/v2.11.2/new_hw/2024-09-27.md index b2f3f4038..1ac23feac 100644 --- a/changelog/v2.11.2/new_hw/2024-09-27.md +++ b/changelog/v2.11.2/new_hw/2024-09-27.md @@ -12,9 +12,9 @@ ## Changes -- [2024-09-27](#2024-09-27) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) ++ [2024-09-27](#2024-09-27) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) ### NEW HARDWARE diff --git a/changelog/v2.11.3/changelog.md b/changelog/v2.11.3/changelog.md index 8bd6c64fe..3a9f44ec6 100644 --- a/changelog/v2.11.3/changelog.md +++ b/changelog/v2.11.3/changelog.md @@ -14,11 +14,11 @@ ## Changes -- [`v2.11.3`](#v2113) - - [Changes](#changes) - - [Fixes](#fixes) - - [Improvements](#improvements) - - [NEW HARDWARE](#new-hardware) ++ [`v2.11.3`](#v2113) + + [Changes](#changes) + + [Fixes](#fixes) + + [Improvements](#improvements) + + [NEW HARDWARE](#new-hardware) ### Fixes diff --git a/changelog/v2.2.0/changelog.md b/changelog/v2.2.0/changelog.md index a0a050674..02e721683 100644 --- a/changelog/v2.2.0/changelog.md +++ b/changelog/v2.2.0/changelog.md @@ -14,17 +14,17 @@ ## Changes -- [`v2.2.0`](#v220) - - [Changes](#changes) - - [NXP KINETIS SDK](#nxp-kinetis-sdk) - - [NEW HARDWARE](#new-hardware) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [PLANET DEBUG](#planet-debug) - - [Improvements](#improvements) - - [Fixes](#fixes) - - [Git relevant updates](#git-relevant-updates) - - [Test examples](#test-examples) - - [Collaborators](#collaborators) ++ [`v2.2.0`](#v220) + + [Changes](#changes) + + [NXP KINETIS SDK](#nxp-kinetis-sdk) + + [NEW HARDWARE](#new-hardware) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [PLANET DEBUG](#planet-debug) + + [Improvements](#improvements) + + [Fixes](#fixes) + + [Git relevant updates](#git-relevant-updates) + + [Test examples](#test-examples) + + [Collaborators](#collaborators) ### NXP KINETIS SDK diff --git a/changelog/v2.3.0/changelog.md b/changelog/v2.3.0/changelog.md index 23cce1573..87d28c193 100644 --- a/changelog/v2.3.0/changelog.md +++ b/changelog/v2.3.0/changelog.md @@ -14,16 +14,16 @@ ## Changes -- [`v2.3.0`](#v230) - - [Changes](#changes) - - [TIVA SDK](#tiva-sdk) - - [NEW HARDWARE](#new-hardware) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [Added adequate configuration files](#added-adequate-configuration-files) - - [PLANET DEBUG](#planet-debug) - - [Recursive build automation](#recursive-build-automation) - - [Test examples](#test-examples) - - [Collaborators](#collaborators) ++ [`v2.3.0`](#v230) + + [Changes](#changes) + + [TIVA SDK](#tiva-sdk) + + [NEW HARDWARE](#new-hardware) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [Added adequate configuration files](#added-adequate-configuration-files) + + [PLANET DEBUG](#planet-debug) + + [Recursive build automation](#recursive-build-automation) + + [Test examples](#test-examples) + + [Collaborators](#collaborators) ### TIVA SDK diff --git a/changelog/v2.4.0/changelog.md b/changelog/v2.4.0/changelog.md index 92645e0ea..e26b72785 100644 --- a/changelog/v2.4.0/changelog.md +++ b/changelog/v2.4.0/changelog.md @@ -14,22 +14,22 @@ ## Changes -- [`v2.4.0`](#v240) - - [Changes](#changes) - - [Resistive displays](#resistive-displays) - - [Middleware](#middleware) - - [STMPE811](#stmpe811) - - [STMPE810](#stmpe810) - - [STMPE610](#stmpe610) - - [TSC2003](#tsc2003) - - [Mikromedia shields](#mikromedia-shields) - - [NEW HARDWARE](#new-hardware) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [Fixes](#fixes) - - [Improvements](#improvements) - - [Recursive build automation](#recursive-build-automation) - - [Test examples](#test-examples) - - [Collaborators](#collaborators) ++ [`v2.4.0`](#v240) + + [Changes](#changes) + + [Resistive displays](#resistive-displays) + + [Middleware](#middleware) + + [STMPE811](#stmpe811) + + [STMPE810](#stmpe810) + + [STMPE610](#stmpe610) + + [TSC2003](#tsc2003) + + [Mikromedia shields](#mikromedia-shields) + + [NEW HARDWARE](#new-hardware) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [Fixes](#fixes) + + [Improvements](#improvements) + + [Recursive build automation](#recursive-build-automation) + + [Test examples](#test-examples) + + [Collaborators](#collaborators) ### Resistive displays diff --git a/changelog/v2.5.0/changelog.md b/changelog/v2.5.0/changelog.md index 938cd52c9..02040b815 100644 --- a/changelog/v2.5.0/changelog.md +++ b/changelog/v2.5.0/changelog.md @@ -14,14 +14,14 @@ ## Changes -- [`v2.5.0`](#v250) - - [Changes](#changes) - - [New Features](#new-features) - - [Mikromedia shields](#mikromedia-shields) - - [NEW HARDWARE](#new-hardware) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [Improvements](#improvements) - - [Test examples](#test-examples) ++ [`v2.5.0`](#v250) + + [Changes](#changes) + + [New Features](#new-features) + + [Mikromedia shields](#mikromedia-shields) + + [NEW HARDWARE](#new-hardware) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [Improvements](#improvements) + + [Test examples](#test-examples) ### New Features diff --git a/changelog/v2.5.1/changelog.md b/changelog/v2.5.1/changelog.md index 1a5d55c26..a857e4f00 100644 --- a/changelog/v2.5.1/changelog.md +++ b/changelog/v2.5.1/changelog.md @@ -14,12 +14,12 @@ ## Changes -- [`v2.5.1`](#v251) - - [Changes](#changes) - - [NEW HARDWARE](#new-hardware) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [Improvements](#improvements) - - [Fixes](#fixes) ++ [`v2.5.1`](#v251) + + [Changes](#changes) + + [NEW HARDWARE](#new-hardware) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [Improvements](#improvements) + + [Fixes](#fixes) ### NEW HARDWARE diff --git a/changelog/v2.6.0/changelog.md b/changelog/v2.6.0/changelog.md index a8d0ac341..fd5e55404 100644 --- a/changelog/v2.6.0/changelog.md +++ b/changelog/v2.6.0/changelog.md @@ -14,14 +14,14 @@ ## Changes -- [`v2.6.0`](#v260) - - [Changes](#changes) - - [RISC-V SDK](#risc-v-sdk) - - [New Features](#new-features) - - [NEW HARDWARE](#new-hardware) - - [PLANET DEBUG](#planet-debug) - - [DEVELOPMENT KIT PACKAGE](#development-kit-package) - - [Test examples](#test-examples) ++ [`v2.6.0`](#v260) + + [Changes](#changes) + + [RISC-V SDK](#risc-v-sdk) + + [New Features](#new-features) + + [NEW HARDWARE](#new-hardware) + + [PLANET DEBUG](#planet-debug) + + [DEVELOPMENT KIT PACKAGE](#development-kit-package) + + [Test examples](#test-examples) ### RISC-V SDK diff --git a/changelog/v2.7.0/changelog.md b/changelog/v2.7.0/changelog.md index 0030dd492..36c80c63f 100644 --- a/changelog/v2.7.0/changelog.md +++ b/changelog/v2.7.0/changelog.md @@ -14,14 +14,14 @@ ## Changes -- [`v2.7.0`](#v270) - - [Changes](#changes) - - [AVR](#avr) - - [Improvements](#improvements) - - [Fixes](#fixes) - - [NEW HARDWARE](#new-hardware) - - [PLANET DEBUG](#planet-debug) - - [Collaborators](#collaborators) ++ [`v2.7.0`](#v270) + + [Changes](#changes) + + [AVR](#avr) + + [Improvements](#improvements) + + [Fixes](#fixes) + + [NEW HARDWARE](#new-hardware) + + [PLANET DEBUG](#planet-debug) + + [Collaborators](#collaborators) ### AVR diff --git a/changelog/v2.7.1/changelog.md b/changelog/v2.7.1/changelog.md index f4bada63a..f3fd03a1d 100644 --- a/changelog/v2.7.1/changelog.md +++ b/changelog/v2.7.1/changelog.md @@ -14,12 +14,12 @@ ## Changes -- [`v2.7.1`](#v271) - - [Changes](#changes) - - [New Features](#new-features) - - [Improvements](#improvements) - - [Fixes](#fixes) - - [NEW HARDWARE](#new-hardware) ++ [`v2.7.1`](#v271) + + [Changes](#changes) + + [New Features](#new-features) + + [Improvements](#improvements) + + [Fixes](#fixes) + + [NEW HARDWARE](#new-hardware) ### New Features diff --git a/changelog/v2.7.2/changelog.md b/changelog/v2.7.2/changelog.md index 0c9cb5949..79e5dfdb1 100644 --- a/changelog/v2.7.2/changelog.md +++ b/changelog/v2.7.2/changelog.md @@ -14,12 +14,12 @@ ## Changes -- [`v2.7.2`](#v272) - - [Changes](#changes) - - [New Features](#new-features) - - [Improvements](#improvements) - - [Fixes](#fixes) - - [NEW HARDWARE](#new-hardware) ++ [`v2.7.2`](#v272) + + [Changes](#changes) + + [New Features](#new-features) + + [Improvements](#improvements) + + [Fixes](#fixes) + + [NEW HARDWARE](#new-hardware) ### New Features diff --git a/changelog/v2.8.0/changelog.md b/changelog/v2.8.0/changelog.md index 11024898a..7410b1f18 100644 --- a/changelog/v2.8.0/changelog.md +++ b/changelog/v2.8.0/changelog.md @@ -14,14 +14,14 @@ ## Changes -- [`v2.8.0`](#v280) - - [Changes](#changes) - - [dsPIC](#dspic) - - [GCC ARM](#gcc-arm) - - [New Features](#new-features) - - [Improvements](#improvements) - - [Fixes](#fixes) - - [NEW HARDWARE](#new-hardware) ++ [`v2.8.0`](#v280) + + [Changes](#changes) + + [dsPIC](#dspic) + + [GCC ARM](#gcc-arm) + + [New Features](#new-features) + + [Improvements](#improvements) + + [Fixes](#fixes) + + [NEW HARDWARE](#new-hardware) ### dsPIC diff --git a/changelog/v2.9.0/changelog.md b/changelog/v2.9.0/changelog.md index 71e7a6020..dc98fba43 100644 --- a/changelog/v2.9.0/changelog.md +++ b/changelog/v2.9.0/changelog.md @@ -14,12 +14,12 @@ ## Changes -- [`v2.9.0`](#v290) - - [Changes](#changes) - - [New Features](#new-features) - - [Improvements](#improvements) - - [Fixes](#fixes) - - [NEW HARDWARE](#new-hardware) ++ [`v2.9.0`](#v290) + + [Changes](#changes) + + [New Features](#new-features) + + [Improvements](#improvements) + + [Fixes](#fixes) + + [NEW HARDWARE](#new-hardware) ### New Features From 0764e6a62f88b705fc815b84f11fc0d4f97e71ea Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Mon, 30 Sep 2024 09:30:54 +0200 Subject: [PATCH 13/19] Improved changes logging. --- scripts/log_changes.py | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/scripts/log_changes.py b/scripts/log_changes.py index 441407989..5d4c6d027 100644 --- a/scripts/log_changes.py +++ b/scripts/log_changes.py @@ -42,7 +42,6 @@ def extract_date(filename): utility.filter_multiple_empty_rows(os.path.join(os.getcwd(),'changelog.md')) ## Update CHANGELOG files with specific date releases -array_of_links = ['Support added for following hardware:\n'] for each_version in all_versions: ## Get file content first with open(os.path.join(changelog_root, each_version, 'changelog.md'), 'r') as sub_changelog_file: @@ -56,7 +55,14 @@ def extract_date(filename): current_files = os.listdir(os.path.join(changelog_root, each_version)) if len(current_files) > 1: print('Updated changelog file at: %s' % os.path.join(changelog_root, each_version)) + empty_hw = False + array_of_links = ['Support added for following hardware:\n'] if 'new_hw' in current_files: + if 'Support added for following hardware:' not in open(os.path.join(changelog_root, each_version, 'changelog.md'), 'r').read(): + array_of_links = [ + '>> If any new hardware was added to current version, it will be listed here.\n', + 'Support added for following hardware:\n'] + empty_hw = True ## Sort the files based on date (newest go to top of the file) all_sub_files = sorted(os.listdir(os.path.join(changelog_root, each_version, 'new_hw')), key=extract_date) for each_sub_file in all_sub_files: @@ -64,9 +70,14 @@ def extract_date(filename): array_of_links.append(f'+ **[{each_sub_file.split('.')[0]}](./new_hw/{each_sub_file})**') ## Then write the new sub changelog.md content - with open(os.path.join(changelog_root, each_version, 'changelog.md'), 'w') as sub_changelog_file: - sub_changelog_file.writelines(''.join(sub_changelog).replace('Support added for following hardware:', '\n'.join(array_of_links))) - sub_changelog_file.close() + if empty_hw: + with open(os.path.join(changelog_root, each_version, 'changelog.md'), 'w') as sub_changelog_file: + sub_changelog_file.writelines(''.join(sub_changelog).replace('>> If any new hardware was added to current version, it will be listed here.', '\n'.join(array_of_links))) + sub_changelog_file.close() + else: + with open(os.path.join(changelog_root, each_version, 'changelog.md'), 'w') as sub_changelog_file: + sub_changelog_file.writelines(''.join(sub_changelog).replace('Support added for following hardware:', '\n'.join(array_of_links))) + sub_changelog_file.close() ## And remove any occurrences of more than 1 sequential empty row utility.filter_multiple_empty_rows(os.path.join(changelog_root, each_version, 'changelog.md')) From 3f21ac3d0db7b110278ade43097de6d5f2055d3c Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Mon, 30 Sep 2024 09:35:48 +0200 Subject: [PATCH 14/19] Updated delete pattern for branch prune --- .github/workflows/branch_patterns/delete_patterns.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/branch_patterns/delete_patterns.txt b/.github/workflows/branch_patterns/delete_patterns.txt index a73ceafc8..02dcbc36e 100644 --- a/.github/workflows/branch_patterns/delete_patterns.txt +++ b/.github/workflows/branch_patterns/delete_patterns.txt @@ -1,2 +1,3 @@ new-feature/boards +new-feature/cards revert* From 7bf9d53fae1a618f6398d2fdcc6d2c06f38f8402 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:26:11 +0200 Subject: [PATCH 15/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 013a6d5f8..f20206bfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" From fafa253e3eb894a019b9c09cb7eb334e238c2654 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:38:22 +0200 Subject: [PATCH 16/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f20206bfe..013a6d5f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" From b0a86d39ef31f4b25e4a44363119ceabce33e1a7 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:26:11 +0200 Subject: [PATCH 17/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 013a6d5f8..f20206bfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" From b6be2fc0fc604bff3b1aaacdf652610f43683c02 Mon Sep 17 00:00:00 2001 From: strahi-linux Date: Fri, 27 Sep 2024 14:38:22 +0200 Subject: [PATCH 18/19] Updated workflow --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f20206bfe..013a6d5f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,4 +28,4 @@ jobs: run: python -u scripts/keyword_replace.py "code" "_code" "thirdparty/ethernet/cyclonetcp" "cp1252" - name: Run Package Script - run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "True" + run: python -u scripts/package.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.release.tag_name }} "False" From eb6febd048700feb231cb7616f078284e553c581 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 30 Sep 2024 09:56:25 +0000 Subject: [PATCH 19/19] Updated changelog files with latest release info. --- changelog/v2.11.2/changelog.md | 1 + changelog/v2.11.2/new_hw/{new_hw.md => 2024-09-30.md} | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename changelog/v2.11.2/new_hw/{new_hw.md => 2024-09-30.md} (95%) diff --git a/changelog/v2.11.2/changelog.md b/changelog/v2.11.2/changelog.md index cc588227c..8787d1621 100644 --- a/changelog/v2.11.2/changelog.md +++ b/changelog/v2.11.2/changelog.md @@ -39,6 +39,7 @@ Support added for following hardware: + **[2024-09-25](./new_hw/2024-09-25.md)** + **[2024-09-26](./new_hw/2024-09-26.md)** + **[2024-09-27](./new_hw/2024-09-27.md)** ++ **[2024-09-30](./new_hw/2024-09-30.md)** --- diff --git a/changelog/v2.11.2/new_hw/new_hw.md b/changelog/v2.11.2/new_hw/2024-09-30.md similarity index 95% rename from changelog/v2.11.2/new_hw/new_hw.md rename to changelog/v2.11.2/new_hw/2024-09-30.md index 84ebc68b0..b63fc74de 100644 --- a/changelog/v2.11.2/new_hw/new_hw.md +++ b/changelog/v2.11.2/new_hw/2024-09-30.md @@ -8,11 +8,11 @@ --- -# `DATE` +# 2024-09-30 ## Changes -- [`DATE`](#date) +- [2024-09-30](#2024-09-30) - [Changes](#changes) - [NEW HARDWARE](#new-hardware)