-
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 #167 from MikroElektronika/new-feature/boards/54
Merge branch new-feature/boards/54 into master
- Loading branch information
Showing
7 changed files
with
193 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
bsp/board/include/boards/board_freedom_for_k64_k63_k24/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_FREEDOM_FOR_K64_K63_K24") | ||
set(BOARD_PATH "include/boards/board_freedom_for_k64_k63_k24") | ||
set(MCU_CARD FALSE) | ||
set(SHIELD FALSE) | ||
endif() |
122 changes: 122 additions & 0 deletions
122
bsp/board/include/boards/board_freedom_for_k64_k63_k24/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,122 @@ | ||
/**************************************************************************** | ||
** | ||
** 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 "Freedom Development Platform for Kinetis K64, K63, and K24 MCUs" | ||
|
||
#include "hal_target.h" | ||
|
||
// Mapping | ||
#define HEADER_CONNECTOR_CN1_D1 PB18 | ||
#define HEADER_CONNECTOR_CN1_D2 PC16 | ||
#define HEADER_CONNECTOR_CN1_D3 PB19 | ||
#define HEADER_CONNECTOR_CN1_D4 PC17 | ||
#define HEADER_CONNECTOR_CN1_D5 PC1 | ||
#define HEADER_CONNECTOR_CN1_D6 PB9 | ||
#define HEADER_CONNECTOR_CN1_D7 PC8 | ||
#define HEADER_CONNECTOR_CN1_D8 PA1 | ||
#define HEADER_CONNECTOR_CN1_D9 PC9 | ||
#define HEADER_CONNECTOR_CN1_D10 PB23 | ||
#define HEADER_CONNECTOR_CN1_D11 PC0 | ||
#define HEADER_CONNECTOR_CN1_D12 PA2 | ||
#define HEADER_CONNECTOR_CN1_D13 PC7 | ||
#define HEADER_CONNECTOR_CN1_D14 PC2 | ||
#define HEADER_CONNECTOR_CN1_D15 PC5 | ||
#define HEADER_CONNECTOR_CN1_D16 PC3 | ||
|
||
#define HEADER_CONNECTOR_CN2_D1 PE26 | ||
#define HEADER_CONNECTOR_CN2_D2 PC12 | ||
#define HEADER_CONNECTOR_CN2_D3 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D4 PC4 | ||
#define HEADER_CONNECTOR_CN2_D5 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D6 PD0 | ||
#define HEADER_CONNECTOR_CN2_D7 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D8 PD2 | ||
#define HEADER_CONNECTOR_CN2_D9 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D10 PD3 | ||
#define HEADER_CONNECTOR_CN2_D11 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D12 PD1 | ||
#define HEADER_CONNECTOR_CN2_D13 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D14 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D15 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D16 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D17 PE25 | ||
#define HEADER_CONNECTOR_CN2_D18 PE25 | ||
#define HEADER_CONNECTOR_CN2_D19 // Pin not routed | ||
#define HEADER_CONNECTOR_CN2_D20 PE24 | ||
|
||
#define HEADER_CONNECTOR_CN4_D1 // Pin not routed | ||
#define HEADER_CONNECTOR_CN4_D2 PB2 | ||
#define HEADER_CONNECTOR_CN4_D3 // Pin not routed | ||
#define HEADER_CONNECTOR_CN4_D4 PB3 | ||
#define HEADER_CONNECTOR_CN4_D5 // Pin not routed | ||
#define HEADER_CONNECTOR_CN4_D6 PB10 | ||
#define HEADER_CONNECTOR_CN4_D7 // Pin not routed | ||
#define HEADER_CONNECTOR_CN4_D8 PB11 | ||
#define HEADER_CONNECTOR_CN4_D9 PB20 | ||
#define HEADER_CONNECTOR_CN4_D10 PC11 | ||
#define HEADER_CONNECTOR_CN4_D11 // Pin not routed | ||
#define HEADER_CONNECTOR_CN4_D12 PC10 | ||
|
||
// LEDS | ||
#define LED1 PB22 // RED | ||
#define LED2 PE26 // GREEN | ||
#define LED3 PB21 // BLUE | ||
|
||
// BUTTONS | ||
#define BUTTON2 PC6 | ||
#define BUTTON3 PA4 | ||
|
||
#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,29 @@ | ||
<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-12-12 | ||
|
||
## Changes | ||
|
||
- [2024-12-12](#2024-12-12) | ||
- [Changes](#changes) | ||
- [NEW HARDWARE](#new-hardware) | ||
|
||
### NEW HARDWARE | ||
|
||
Support added for following hardware: | ||
|
||
+ [Freedom Development Platform for Kinetis K64, K63, and K24 MCUs](https://www.nxp.com/design/design-center/development-boards-and-designs/general-purpose-mcus/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F) | ||
|
||
--- | ||
|
||
**[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.
16 changes: 16 additions & 0 deletions
16
resources/queries/boards/board_freedom_for_k64_k63_k24/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_FREEDOM_FOR_K64_K63_K24", | ||
"name": "Freedom Development Platform for Kinetis K64, K63, and K24 MCUs", | ||
"icon": "images/boards/board-freedom-for-k64-k63-k24.png", | ||
"default_device": "", | ||
"soldered_device": "MK64FN1M0VLL12", | ||
"category": "Development Systems", | ||
"mikrobus_count": 0, | ||
"sort_order": 6, | ||
"min_pin_count": 0, | ||
"display_socket": "NO_DISPLAY", | ||
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"BOARD_FREEDOM_FOR_K64_K63_K24\"}", | ||
"necto_config": "", | ||
"display": "NO_DISPLAY", | ||
"package_uid": "100/LQFP" | ||
} |
20 changes: 20 additions & 0 deletions
20
resources/queries/boards/board_freedom_for_k64_k63_k24/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_FREEDOM_FOR_K64_K63_K24", | ||
"tables": [ | ||
{ | ||
"BoardToDevice": { | ||
"device_uid": "MK64FN1M0VLL12" | ||
} | ||
}, | ||
{ | ||
"BoardToSocket": { | ||
"socket_uid": ["NONE"] | ||
} | ||
}, | ||
{ | ||
"SDKToBoard": { | ||
"sdk_uid": "2.11.2+" | ||
} | ||
} | ||
] | ||
} |