Skip to content

Commit 4d84fd0

Browse files
authored
Merge pull request #121 from MikroElektronika/new-feature/boards/28
Merge branch new-feature/boards/28 into master
2 parents 474171b + a873056 commit 4d84fd0

File tree

12 files changed

+340
-0
lines changed

12 files changed

+340
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if(${_MSDK_BOARD_NAME_} STREQUAL "KIT_DISCOVERY_WITH_STM32L496AG_MCU")
2+
set(BOARD_PATH "include/boards/board_discovery_with_stm32l496ag")
3+
set(MCU_CARD FALSE)
4+
set(SHIELD FALSE)
5+
endif()
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
/****************************************************************************
2+
**
3+
** Copyright (C) ${COPYRIGHT_YEAR} MikroElektronika d.o.o.
4+
** Contact: https://www.mikroe.com/contact
5+
**
6+
** This file is part of the mikroSDK package
7+
**
8+
** Commercial License Usage
9+
**
10+
** Licensees holding valid commercial NECTO compilers AI licenses may use this
11+
** file in accordance with the commercial license agreement provided with the
12+
** Software or, alternatively, in accordance with the terms contained in
13+
** a written agreement between you and The MikroElektronika Company.
14+
** For licensing terms and conditions see
15+
** https://www.mikroe.com/legal/software-license-agreement.
16+
** For further information use the contact form at
17+
** https://www.mikroe.com/contact.
18+
**
19+
**
20+
** GNU Lesser General Public License Usage
21+
**
22+
** Alternatively, this file may be used for
23+
** non-commercial projects under the terms of the GNU Lesser
24+
** General Public License version 3 as published by the Free Software
25+
** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html.
26+
**
27+
** The above copyright notice and this permission notice shall be
28+
** included in all copies or substantial portions of the Software.
29+
**
30+
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31+
** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
32+
** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33+
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
34+
** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
35+
** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
36+
** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37+
**
38+
****************************************************************************/
39+
/*!
40+
* @file board.h
41+
* @brief Main board pin mapping.
42+
*/
43+
44+
#ifndef _BOARD_H_
45+
#define _BOARD_H_
46+
47+
#ifdef __cplusplus
48+
extern "C"
49+
{
50+
#endif
51+
52+
#define BOARD_NAME "STM32L496AG_DISCOVERY"
53+
54+
#include "hal_target.h"
55+
56+
// Mapping
57+
#define HEADER_CONNECTOR_CN6_D1 // Pin not routed
58+
#define HEADER_CONNECTOR_CN6_D2 PH7
59+
#define HEADER_CONNECTOR_CN6_D3 PD10
60+
#define HEADER_CONNECTOR_CN6_D4 PD9
61+
#define HEADER_CONNECTOR_CN6_D5 PD8
62+
#define HEADER_CONNECTOR_CN6_D6 PE15
63+
#define HEADER_CONNECTOR_CN6_D7 PE14
64+
#define HEADER_CONNECTOR_CN6_D8 PE13
65+
#define HEADER_CONNECTOR_CN6_D9 PE12
66+
#define HEADER_CONNECTOR_CN6_D10 PE11
67+
#define HEADER_CONNECTOR_CN6_D11 PE10
68+
#define HEADER_CONNECTOR_CN6_D12 PE9
69+
#define HEADER_CONNECTOR_CN6_D13 PE8
70+
#define HEADER_CONNECTOR_CN6_D14 PE7
71+
#define HEADER_CONNECTOR_CN6_D15 PD1
72+
#define HEADER_CONNECTOR_CN6_D16 PD0
73+
#define HEADER_CONNECTOR_CN6_D17 PD15
74+
#define HEADER_CONNECTOR_CN6_D18 PD14
75+
#define HEADER_CONNECTOR_CN6_D19 PD4
76+
#define HEADER_CONNECTOR_CN6_D20 PD5
77+
#define HEADER_CONNECTOR_CN6_D21 PD13
78+
#define HEADER_CONNECTOR_CN6_D22 PD7
79+
#define HEADER_CONNECTOR_CN6_D23 // Pin not routed
80+
#define HEADER_CONNECTOR_CN6_D24 // Pin not routed
81+
#define HEADER_CONNECTOR_CN6_D25 // Pin not routed
82+
#define HEADER_CONNECTOR_CN6_D26 // Pin not routed
83+
#define HEADER_CONNECTOR_CN6_D27 // Pin not routed
84+
#define HEADER_CONNECTOR_CN6_D28 // Pin not routed
85+
#define HEADER_CONNECTOR_CN6_D29 // Pin not routed
86+
87+
#define HEADER_CONNECTOR_CN10_D1 PG15
88+
#define HEADER_CONNECTOR_CN10_D2 PH13
89+
#define HEADER_CONNECTOR_CN10_D3 PA15
90+
#define HEADER_CONNECTOR_CN10_D4 PB5
91+
#define HEADER_CONNECTOR_CN10_D5 PB4
92+
#define HEADER_CONNECTOR_CN10_D6 PA5
93+
#define HEADER_CONNECTOR_CN10_D7 // Pin not routed
94+
#define HEADER_CONNECTOR_CN10_D8 // Pin not routed
95+
#define HEADER_CONNECTOR_CN10_D9 PB7
96+
#define HEADER_CONNECTOR_CN10_D10 PB8
97+
98+
#define HEADER_CONNECTOR_CN11_D1 PG8
99+
#define HEADER_CONNECTOR_CN11_D2 PG7
100+
#define HEADER_CONNECTOR_CN11_D3 PG13
101+
#define HEADER_CONNECTOR_CN11_D4 PH15
102+
#define HEADER_CONNECTOR_CN11_D5 PI11
103+
#define HEADER_CONNECTOR_CN11_D6 PB9
104+
#define HEADER_CONNECTOR_CN11_D7 PI6
105+
#define HEADER_CONNECTOR_CN11_D8 PG6
106+
107+
#define HEADER_CONNECTOR_CN15_D1 PA5
108+
#define HEADER_CONNECTOR_CN15_D2 PB4
109+
#define HEADER_CONNECTOR_CN15_D3 PB5
110+
#define HEADER_CONNECTOR_CN15_D4 PA15
111+
#define HEADER_CONNECTOR_CN15_D5 PH13
112+
#define HEADER_CONNECTOR_CN15_D6 PG15
113+
#define HEADER_CONNECTOR_CN15_D7 PG15
114+
#define HEADER_CONNECTOR_CN15_D8 PG6
115+
116+
#define HEADER_CONNECTOR_CN16_D1 PC4
117+
#define HEADER_CONNECTOR_CN16_D2 PC1
118+
#define HEADER_CONNECTOR_CN16_D3 PC3
119+
#define HEADER_CONNECTOR_CN16_D4 PF10
120+
#define HEADER_CONNECTOR_CN16_D5 PA1
121+
#define HEADER_CONNECTOR_CN16_D6 PB8
122+
123+
124+
#ifdef __cplusplus
125+
}
126+
#endif
127+
128+
#endif // _BOARD_H_
129+
// ------------------------------------------------------------------------- END
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if(${_MSDK_BOARD_NAME_} STREQUAL "KIT_DISCOVERY_WITH_STM32L4P5AG_MCU")
2+
set(BOARD_PATH "include/boards/board_discovery_with_stm32l4p5ag")
3+
set(MCU_CARD FALSE)
4+
set(SHIELD FALSE)
5+
endif()
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/****************************************************************************
2+
**
3+
** Copyright (C) ${COPYRIGHT_YEAR} MikroElektronika d.o.o.
4+
** Contact: https://www.mikroe.com/contact
5+
**
6+
** This file is part of the mikroSDK package
7+
**
8+
** Commercial License Usage
9+
**
10+
** Licensees holding valid commercial NECTO compilers AI licenses may use this
11+
** file in accordance with the commercial license agreement provided with the
12+
** Software or, alternatively, in accordance with the terms contained in
13+
** a written agreement between you and The MikroElektronika Company.
14+
** For licensing terms and conditions see
15+
** https://www.mikroe.com/legal/software-license-agreement.
16+
** For further information use the contact form at
17+
** https://www.mikroe.com/contact.
18+
**
19+
**
20+
** GNU Lesser General Public License Usage
21+
**
22+
** Alternatively, this file may be used for
23+
** non-commercial projects under the terms of the GNU Lesser
24+
** General Public License version 3 as published by the Free Software
25+
** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html.
26+
**
27+
** The above copyright notice and this permission notice shall be
28+
** included in all copies or substantial portions of the Software.
29+
**
30+
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31+
** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
32+
** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33+
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
34+
** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
35+
** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
36+
** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37+
**
38+
****************************************************************************/
39+
/*!
40+
* @file board.h
41+
* @brief Main board pin mapping.
42+
*/
43+
44+
#ifndef _BOARD_H_
45+
#define _BOARD_H_
46+
47+
#ifdef __cplusplus
48+
extern "C"
49+
{
50+
#endif
51+
52+
#define BOARD_NAME "STM32L4P5AG_DISCOVERY"
53+
54+
#include "hal_target.h"
55+
56+
// Mapping
57+
#define HEADER_CONNECTOR_CN12_D1 PD1
58+
#define HEADER_CONNECTOR_CN12_D2 PI2
59+
#define HEADER_CONNECTOR_CN12_D3 PI0
60+
#define HEADER_CONNECTOR_CN12_D4 PB15
61+
#define HEADER_CONNECTOR_CN12_D5 PB14
62+
#define HEADER_CONNECTOR_CN12_D6 PB13
63+
#define HEADER_CONNECTOR_CN12_D7 // Pin not routed
64+
#define HEADER_CONNECTOR_CN12_D8 // Pin not routed
65+
#define HEADER_CONNECTOR_CN12_D9 PF15
66+
#define HEADER_CONNECTOR_CN12_D10 PF14
67+
68+
#define HEADER_CONNECTOR_CN13_D1 PB13
69+
#define HEADER_CONNECTOR_CN13_D2 PB14
70+
#define HEADER_CONNECTOR_CN13_D3 PB15
71+
#define HEADER_CONNECTOR_CN13_D4 PI0
72+
#define HEADER_CONNECTOR_CN13_D5 PI2
73+
#define HEADER_CONNECTOR_CN13_D6 PD1
74+
#define HEADER_CONNECTOR_CN13_D7 PD1
75+
#define HEADER_CONNECTOR_CN13_D8 PD0
76+
77+
#define HEADER_CONNECTOR_CN14_D1 PB11
78+
#define HEADER_CONNECTOR_CN14_D2 PB10
79+
#define HEADER_CONNECTOR_CN14_D3 PF11
80+
#define HEADER_CONNECTOR_CN14_D4 PD13
81+
#define HEADER_CONNECTOR_CN14_D5 PF13
82+
#define HEADER_CONNECTOR_CN14_D6 PD14
83+
#define HEADER_CONNECTOR_CN14_D7 PD15
84+
#define HEADER_CONNECTOR_CN14_D8 PD0
85+
86+
#define HEADER_CONNECTOR_CN15_D1 PC1
87+
#define HEADER_CONNECTOR_CN15_D2 PA1
88+
#define HEADER_CONNECTOR_CN15_D3 PB0
89+
#define HEADER_CONNECTOR_CN15_D4 PB1
90+
#define HEADER_CONNECTOR_CN15_D5 PC4
91+
#define HEADER_CONNECTOR_CN15_D6 PC5
92+
93+
#ifdef __cplusplus
94+
}
95+
#endif
96+
97+
#endif // _BOARD_H_
98+
// ------------------------------------------------------------------------- END

changelog/v2.11.4/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ Support added for following hardware:
8484
+ **[2024-10-23](./new_hw/2024-10-23.md)**
8585
+ **[2024-10-24](./new_hw/2024-10-24.md)**
8686
+ **[2024-10-25](./new_hw/2024-10-25.md)**
87+
+ **[2024-10-28](./new_hw/2024-10-28.md)**
8788

8889
---
8990

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<p align="center">
2+
<img src="http://www.mikroe.com/img/designs/beta/logo_small.png?raw=true" alt="MikroElektronika"/>
3+
</p>
4+
5+
---
6+
7+
**[BACK TO PREVIOUS FILE](../changelog.md)**
8+
9+
---
10+
11+
# 2024-10-28
12+
13+
## Changes
14+
15+
- [2024-10-28](#2024-10-28)
16+
- [Changes](#changes)
17+
- [NEW HARDWARE](#new-hardware)
18+
19+
### NEW HARDWARE
20+
21+
Support added for following hardware:
22+
23+
+ [Discovery kit with STM32L496AG 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-discovery-kits/32l496gdiscovery.html)
24+
+ [Discovery kit with STM32L4P5AG 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-discovery-kits/stm32l4p5g-dk.html)
25+
26+
---
27+
28+
**[BACK TO PREVIOUS FILE](../changelog.md)**
29+
30+
---
257 KB
Loading
344 KB
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"uid": "KIT_DISCOVERY_WITH_STM32L496AG_MCU",
3+
"name": "Discovery kit with STM32L496AG MCU",
4+
"icon": "images/boards/board-kit-discovery-with-stm32l496ag-mcu.png",
5+
"default_device": "",
6+
"soldered_device": "STM32L496AG",
7+
"category": "Starter boards",
8+
"mikrobus_count": 0,
9+
"sort_order": 7,
10+
"min_pin_count": 0,
11+
"display_socket": "NO_DISPLAY",
12+
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"KIT_DISCOVERY_WITH_STM32L496AG_MCU\"}",
13+
"necto_config": "",
14+
"display": "NO_DISPLAY",
15+
"package_uid": "169/UFBGA"
16+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"board_uid": "KIT_DISCOVERY_WITH_STM32L496AG_MCU",
3+
"tables": [
4+
{
5+
"BoardToDevice": {
6+
"device_uid": "STM32L496AG"
7+
}
8+
},
9+
{
10+
"BoardToSocket": {
11+
"socket_uid": ["NONE"]
12+
}
13+
},
14+
{
15+
"SDKToBoard": {
16+
"sdk_uid": "2.11.2+"
17+
}
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)