-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from MikroElektronika/new-feature/boards/37
Merge branch new-feature/boards/37 into master
- Loading branch information
Showing
12 changed files
with
349 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
bsp/board/include/boards/board_eval_with_stm32l073vz/board.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
92 changes: 92 additions & 0 deletions
92
bsp/board/include/boards/board_eval_with_stm32l073vz/board.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
5 changes: 5 additions & 0 deletions
5
bsp/board/include/boards/board_eval_with_stm32l476zg/board.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
144 changes: 144 additions & 0 deletions
144
bsp/board/include/boards/board_eval_with_stm32l476zg/board.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<p align="center"> | ||
<img src="http://www.mikroe.com/img/designs/beta/logo_small.png?raw=true" alt="MikroElektronika"/> | ||
</p> | ||
|
||
--- | ||
|
||
**[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)** | ||
|
||
--- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions
16
resources/queries/boards/board_eval_with_stm32l073vz/Boards.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
20 changes: 20 additions & 0 deletions
20
resources/queries/boards/board_eval_with_stm32l073vz/LinkerTables.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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+" | ||
} | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
resources/queries/boards/board_eval_with_stm32l476zg/Boards.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
20 changes: 20 additions & 0 deletions
20
resources/queries/boards/board_eval_with_stm32l476zg/LinkerTables.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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+" | ||
} | ||
} | ||
] | ||
} |