Skip to content

Commit

Permalink
Auto-merged PR from new-feature/boards/23 to master
Browse files Browse the repository at this point in the history
* Added release hw to new-feature/boards/23

* Remove old changelog file after moving it

* Updated changelog files with latest release info.

---------

Co-authored-by: ivan.ruzavin <ivan.ruzavin@mikroe.com>
Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
3 people authored Oct 17, 2024
1 parent b14d472 commit 93a5a94
Show file tree
Hide file tree
Showing 12 changed files with 486 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if(${_MSDK_BOARD_NAME_} STREQUAL "KIT_DISCOVERY_WITH_STM32F411VE_MCU")
set(BOARD_PATH "include/boards/board_discovery_with_stm32f411ve")
set(MCU_CARD FALSE)
set(SHIELD FALSE)
endif()
175 changes: 175 additions & 0 deletions bsp/board/include/boards/board_discovery_with_stm32f411ve/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
/****************************************************************************
**
** 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 "STM32F411VE_DISCOVERY"

#include "hal_target.h"

// Mapping
#define HEADER_CONNECTOR_CN2_D1 // Pin not routed
#define HEADER_CONNECTOR_CN2_D2 PA14
#define HEADER_CONNECTOR_CN2_D3 // Pin not routed
#define HEADER_CONNECTOR_CN2_D4 PA13
#define HEADER_CONNECTOR_CN2_D5 // Pin not routed
#define HEADER_CONNECTOR_CN2_D6 PB3

#define HEADER_CONNECTOR_CN5_D1 PA9
#define HEADER_CONNECTOR_CN5_D2 PA11
#define HEADER_CONNECTOR_CN5_D3 PA12
#define HEADER_CONNECTOR_CN5_D4 PA10
#define HEADER_CONNECTOR_CN5_D5 // Pin not routed

#define HEADER_CONNECTOR_P1_D1 // Pin not routed
#define HEADER_CONNECTOR_P1_D2 // Pin not routed
#define HEADER_CONNECTOR_P1_D3 // Pin not routed
#define HEADER_CONNECTOR_P1_D4 // Pin not routed
#define HEADER_CONNECTOR_P1_D5 // Pin not routed
#define HEADER_CONNECTOR_P1_D6 // Pin not routed
#define HEADER_CONNECTOR_P1_D7 PC1
#define HEADER_CONNECTOR_P1_D8 PC0
#define HEADER_CONNECTOR_P1_D9 PC3
#define HEADER_CONNECTOR_P1_D10 PC2
#define HEADER_CONNECTOR_P1_D11 // Pin not routed
#define HEADER_CONNECTOR_P1_D12 // Pin not routed
#define HEADER_CONNECTOR_P1_D13 PA3
#define HEADER_CONNECTOR_P1_D14 PA2
#define HEADER_CONNECTOR_P1_D15 PA5
#define HEADER_CONNECTOR_P1_D16 PA4
#define HEADER_CONNECTOR_P1_D17 PA7
#define HEADER_CONNECTOR_P1_D18 PA6
#define HEADER_CONNECTOR_P1_D19 PC5
#define HEADER_CONNECTOR_P1_D20 PC4
#define HEADER_CONNECTOR_P1_D21 PB1
#define HEADER_CONNECTOR_P1_D22 PB0
#define HEADER_CONNECTOR_P1_D23 // Pin not routed
#define HEADER_CONNECTOR_P1_D24 PB2
#define HEADER_CONNECTOR_P1_D25 PE7
#define HEADER_CONNECTOR_P1_D26 PE8
#define HEADER_CONNECTOR_P1_D27 PE9
#define HEADER_CONNECTOR_P1_D28 PE10
#define HEADER_CONNECTOR_P1_D29 PE11
#define HEADER_CONNECTOR_P1_D30 PE12
#define HEADER_CONNECTOR_P1_D31 PE13
#define HEADER_CONNECTOR_P1_D32 PE14
#define HEADER_CONNECTOR_P1_D33 PE15
#define HEADER_CONNECTOR_P1_D34 PB10
#define HEADER_CONNECTOR_P1_D35 // Pin not routed
#define HEADER_CONNECTOR_P1_D36 PB12
#define HEADER_CONNECTOR_P1_D37 PB13
#define HEADER_CONNECTOR_P1_D38 PB14
#define HEADER_CONNECTOR_P1_D39 PB15
#define HEADER_CONNECTOR_P1_D40 PD8
#define HEADER_CONNECTOR_P1_D41 PD9
#define HEADER_CONNECTOR_P1_D42 PD10
#define HEADER_CONNECTOR_P1_D43 PD11
#define HEADER_CONNECTOR_P1_D44 PD12
#define HEADER_CONNECTOR_P1_D45 PD13
#define HEADER_CONNECTOR_P1_D46 PD14
#define HEADER_CONNECTOR_P1_D47 PD15
#define HEADER_CONNECTOR_P1_D48 // Pin not routed
#define HEADER_CONNECTOR_P1_D49 // Pin not routed
#define HEADER_CONNECTOR_P1_D50 // Pin not routed

#define HEADER_CONNECTOR_P2_D1 // Pin not routed
#define HEADER_CONNECTOR_P2_D2 // Pin not routed
#define HEADER_CONNECTOR_P2_D3 // Pin not routed
#define HEADER_CONNECTOR_P2_D4 // Pin not routed
#define HEADER_CONNECTOR_P2_D5 // Pin not routed
#define HEADER_CONNECTOR_P2_D6 // Pin not routed
#define HEADER_CONNECTOR_P2_D7 PH0
#define HEADER_CONNECTOR_P2_D8 PH1
#define HEADER_CONNECTOR_P2_D9 PC14
#define HEADER_CONNECTOR_P2_D10 PC15
#define HEADER_CONNECTOR_P2_D11 PE6
#define HEADER_CONNECTOR_P2_D12 PC13
#define HEADER_CONNECTOR_P2_D13 PE4
#define HEADER_CONNECTOR_P2_D14 PE5
#define HEADER_CONNECTOR_P2_D15 PE2
#define HEADER_CONNECTOR_P2_D16 PE3
#define HEADER_CONNECTOR_P2_D17 PE0
#define HEADER_CONNECTOR_P2_D18 PE1
#define HEADER_CONNECTOR_P2_D19 PB8
#define HEADER_CONNECTOR_P2_D20 PB9
#define HEADER_CONNECTOR_P2_D21 // Pin not routed
#define HEADER_CONNECTOR_P2_D22 // Pin not routed
#define HEADER_CONNECTOR_P2_D23 PB6
#define HEADER_CONNECTOR_P2_D24 PB7
#define HEADER_CONNECTOR_P2_D25 PB4
#define HEADER_CONNECTOR_P2_D26 PB5
#define HEADER_CONNECTOR_P2_D27 // Pin not routed
#define HEADER_CONNECTOR_P2_D28 PB3
#define HEADER_CONNECTOR_P2_D29 // Pin not routed
#define HEADER_CONNECTOR_P2_D30 // Pin not routed
#define HEADER_CONNECTOR_P2_D31 PD3
#define HEADER_CONNECTOR_P2_D32 PD4
#define HEADER_CONNECTOR_P2_D33 PD1
#define HEADER_CONNECTOR_P2_D34 PD2
#define HEADER_CONNECTOR_P2_D35 PC12
#define HEADER_CONNECTOR_P2_D36 PD0
#define HEADER_CONNECTOR_P2_D37 PC10
#define HEADER_CONNECTOR_P2_D38 PC11
#define HEADER_CONNECTOR_P2_D39 PA14
#define HEADER_CONNECTOR_P2_D40 PA15
#define HEADER_CONNECTOR_P2_D41 PA10
#define HEADER_CONNECTOR_P2_D42 PA13
#define HEADER_CONNECTOR_P2_D43 PA8
#define HEADER_CONNECTOR_P2_D44 PA9
#define HEADER_CONNECTOR_P2_D45 PC8
#define HEADER_CONNECTOR_P2_D46 PC9
#define HEADER_CONNECTOR_P2_D47 PC6
#define HEADER_CONNECTOR_P2_D48 PC7

#ifdef __cplusplus
}
#endif

#endif // _BOARD_H_
// ------------------------------------------------------------------------- END
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if(${_MSDK_BOARD_NAME_} STREQUAL "KIT_DISCOVERY_WITH_STM32F412ZG_MCU")
set(BOARD_PATH "include/boards/board_discovery_with_stm32f412zg")
set(MCU_CARD FALSE)
set(SHIELD FALSE)
endif()
198 changes: 198 additions & 0 deletions bsp/board/include/boards/board_discovery_with_stm32f412zg/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
/****************************************************************************
**
** 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 "STM32F412ZG_DISCOVERY"

#include "hal_target.h"

// Mapping
#define HEADER_CONNECTOR_CN1_D1 PA1
#define HEADER_CONNECTOR_CN1_D2 PC1
#define HEADER_CONNECTOR_CN1_D3 PC3
#define HEADER_CONNECTOR_CN1_D4 PC4
#define HEADER_CONNECTOR_CN1_D5 PB9
#define HEADER_CONNECTOR_CN1_D6 PB0

#define HEADER_CONNECTOR_CN2_D1 PA5
#define HEADER_CONNECTOR_CN2_D2 PA6
#define HEADER_CONNECTOR_CN2_D3 PA7
#define HEADER_CONNECTOR_CN2_D4 PA15
#define HEADER_CONNECTOR_CN2_D5 PB8
#define HEADER_CONNECTOR_CN2_D6 PG10
#define HEADER_CONNECTOR_CN2_D7 // Pin not routed
#define HEADER_CONNECTOR_CN2_D8 PG11

#define HEADER_CONNECTOR_CN11_D1 PG9
#define HEADER_CONNECTOR_CN11_D2 PG14
#define HEADER_CONNECTOR_CN11_D3 PG13
#define HEADER_CONNECTOR_CN11_D4 PF4
#define HEADER_CONNECTOR_CN11_D5 PG12
#define HEADER_CONNECTOR_CN11_D6 PF10
#define HEADER_CONNECTOR_CN11_D7 PF3
#define HEADER_CONNECTOR_CN11_D8 PG11

#define HEADER_CONNECTOR_CN12_D1 PG10
#define HEADER_CONNECTOR_CN12_D2 PB8
#define HEADER_CONNECTOR_CN12_D3 PA15
#define HEADER_CONNECTOR_CN12_D4 PA7
#define HEADER_CONNECTOR_CN12_D5 PA6
#define HEADER_CONNECTOR_CN12_D6 PA5
#define HEADER_CONNECTOR_CN12_D7 // Pin not routed
#define HEADER_CONNECTOR_CN12_D8 // Pin not routed
#define HEADER_CONNECTOR_CN12_D9 PB9
#define HEADER_CONNECTOR_CN12_D10 PB10

#define HEADER_CONNECTOR_P1_D1 // Pin not routed
#define HEADER_CONNECTOR_P1_D2 // Pin not routed
#define HEADER_CONNECTOR_P1_D3 // Pin not routed
#define HEADER_CONNECTOR_P1_D4 // Pin not routed
#define HEADER_CONNECTOR_P1_D5 // Pin not routed
#define HEADER_CONNECTOR_P1_D6 // Pin not routed
#define HEADER_CONNECTOR_P1_D7 PC1
#define HEADER_CONNECTOR_P1_D8 // Pin not routed
#define HEADER_CONNECTOR_P1_D9 PC3
#define HEADER_CONNECTOR_P1_D10 // Pin not routed
#define HEADER_CONNECTOR_P1_D11 PA1
#define HEADER_CONNECTOR_P1_D12 // Pin not routed
#define HEADER_CONNECTOR_P1_D13 PA3
#define HEADER_CONNECTOR_P1_D14 // Pin not routed
#define HEADER_CONNECTOR_P1_D15 PA5
#define HEADER_CONNECTOR_P1_D16 // Pin not routed
#define HEADER_CONNECTOR_P1_D17 PA7
#define HEADER_CONNECTOR_P1_D18 // Pin not routed
#define HEADER_CONNECTOR_P1_D19 PC5
#define HEADER_CONNECTOR_P1_D20 // Pin not routed
#define HEADER_CONNECTOR_P1_D21 PB1
#define HEADER_CONNECTOR_P1_D22 // Pin not routed
#define HEADER_CONNECTOR_P1_D23 // Pin not routed
#define HEADER_CONNECTOR_P1_D24 // Pin not routed
#define HEADER_CONNECTOR_P1_D25 PF3
#define HEADER_CONNECTOR_P1_D26 // Pin not routed
#define HEADER_CONNECTOR_P1_D27 PF10
#define HEADER_CONNECTOR_P1_D28 // Pin not routed
#define HEADER_CONNECTOR_P1_D29 // Pin not routed
#define HEADER_CONNECTOR_P1_D30 // Pin not routed
#define HEADER_CONNECTOR_P1_D31 PG2
#define HEADER_CONNECTOR_P1_D32 // Pin not routed
#define HEADER_CONNECTOR_P1_D33 PG9
#define HEADER_CONNECTOR_P1_D34 // Pin not routed
#define HEADER_CONNECTOR_P1_D35 PB11
#define HEADER_CONNECTOR_P1_D36 // Pin not routed
#define HEADER_CONNECTOR_P1_D37 PB13
#define HEADER_CONNECTOR_P1_D38 // Pin not routed
#define HEADER_CONNECTOR_P1_D39 PB15
#define HEADER_CONNECTOR_P1_D40 // Pin not routed
#define HEADER_CONNECTOR_P1_D41 // Pin not routed
#define HEADER_CONNECTOR_P1_D42 // Pin not routed
#define HEADER_CONNECTOR_P1_D43 // Pin not routed
#define HEADER_CONNECTOR_P1_D44 // Pin not routed
#define HEADER_CONNECTOR_P1_D45 PD13
#define HEADER_CONNECTOR_P1_D46 // Pin not routed
#define HEADER_CONNECTOR_P1_D47 // Pin not routed
#define HEADER_CONNECTOR_P1_D48 // Pin not routed
#define HEADER_CONNECTOR_P1_D49 // Pin not routed

#define HEADER_CONNECTOR_P2_D1 // Pin not routed
#define HEADER_CONNECTOR_P2_D2 // Pin not routed
#define HEADER_CONNECTOR_P2_D3 // Pin not routed
#define HEADER_CONNECTOR_P2_D4 // Pin not routed
#define HEADER_CONNECTOR_P2_D5 // Pin not routed
#define HEADER_CONNECTOR_P2_D6 // Pin not routed
#define HEADER_CONNECTOR_P2_D7 PH0
#define HEADER_CONNECTOR_P2_D8 // Pin not routed
#define HEADER_CONNECTOR_P2_D9 PC14
#define HEADER_CONNECTOR_P2_D10 // Pin not routed
#define HEADER_CONNECTOR_P2_D11 PE6
#define HEADER_CONNECTOR_P2_D12 // Pin not routed
#define HEADER_CONNECTOR_P2_D13 PE4
#define HEADER_CONNECTOR_P2_D14 // Pin not routed
#define HEADER_CONNECTOR_P2_D15 PE2
#define HEADER_CONNECTOR_P2_D16 // Pin not routed
#define HEADER_CONNECTOR_P2_D17 PE0
#define HEADER_CONNECTOR_P2_D18 // Pin not routed
#define HEADER_CONNECTOR_P2_D19 PB8
#define HEADER_CONNECTOR_P2_D20 // Pin not routed
#define HEADER_CONNECTOR_P2_D21 // Pin not routed
#define HEADER_CONNECTOR_P2_D22 // Pin not routed
#define HEADER_CONNECTOR_P2_D23 PB6
#define HEADER_CONNECTOR_P2_D24 // Pin not routed
#define HEADER_CONNECTOR_P2_D25 PB4
#define HEADER_CONNECTOR_P2_D26 // Pin not routed
#define HEADER_CONNECTOR_P2_D27 // Pin not routed
#define HEADER_CONNECTOR_P2_D28 // Pin not routed
#define HEADER_CONNECTOR_P2_D29 // Pin not routed
#define HEADER_CONNECTOR_P2_D30 // Pin not routed
#define HEADER_CONNECTOR_P2_D31 PG10
#define HEADER_CONNECTOR_P2_D32 // Pin not routed
#define HEADER_CONNECTOR_P2_D33 PG12
#define HEADER_CONNECTOR_P2_D34 // Pin not routed
#define HEADER_CONNECTOR_P2_D35 PG14
#define HEADER_CONNECTOR_P2_D36 // Pin not routed
#define HEADER_CONNECTOR_P2_D37 // Pin not routed
#define HEADER_CONNECTOR_P2_D38 // Pin not routed
#define HEADER_CONNECTOR_P2_D39 PA14
#define HEADER_CONNECTOR_P2_D40 // Pin not routed
#define HEADER_CONNECTOR_P2_D41 PA10
#define HEADER_CONNECTOR_P2_D42 // Pin not routed
#define HEADER_CONNECTOR_P2_D43 PA8
#define HEADER_CONNECTOR_P2_D44 // Pin not routed
#define HEADER_CONNECTOR_P2_D45 // Pin not routed
#define HEADER_CONNECTOR_P2_D46 // Pin not routed
#define HEADER_CONNECTOR_P2_D47 PC6
#define HEADER_CONNECTOR_P2_D48 // Pin not routed
#define HEADER_CONNECTOR_P2_D49 // Pin not routed

#ifdef __cplusplus
}
#endif

#endif // _BOARD_H_
// ------------------------------------------------------------------------- END
1 change: 1 addition & 0 deletions changelog/v2.11.3/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Support added for following hardware:
+ **[2024-10-14](./new_hw/2024-10-14.md)**
+ **[2024-10-15](./new_hw/2024-10-15.md)**
+ **[2024-10-16](./new_hw/2024-10-16.md)**
+ **[2024-10-17](./new_hw/2024-10-17.md)**

---

Expand Down
Loading

0 comments on commit 93a5a94

Please sign in to comment.