Skip to content

Commit e376947

Browse files
authored
Merge pull request #247 from MikroElektronika/new-feature/boards/90
Merge branch new-feature/boards/90 into master
2 parents 497fc7e + 7fdb2cb commit e376947

File tree

8 files changed

+414
-0
lines changed

8 files changed

+414
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
if(${_MSDK_BOARD_NAME_} STREQUAL "DSPICDEM_NET_CONNECTIVITY_DEVELOPMENT_BOARD")
2+
set(BOARD_PATH "include/boards/board_dspicdem_net_connectivity_development")
3+
set(PIM_SOCKET TRUE)
4+
set(SHIELD FALSE)
5+
set(DIP_SOCKET FALSE)
6+
endif()
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
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 "dsPICDEM Connectivity Development Board"
53+
54+
#include "pim_socket.h"
55+
56+
// Mapping
57+
#define HEADER_J10_1 PIM_PIN_031
58+
#define HEADER_J10_2 PIM_PIN_083
59+
#define HEADER_J10_3 PIM_PIN_082
60+
#define HEADER_J10_4 PIM_PIN_081
61+
#define HEADER_J10_5 PIM_PIN_080
62+
#define HEADER_J10_6 PIM_PIN_038
63+
#define HEADER_J10_7 PIM_PIN_037
64+
#define HEADER_J10_8 PIM_PIN_036
65+
#define HEADER_J10_9 PIM_PIN_076
66+
#define HEADER_J10_10 PIM_PIN_035
67+
#define HEADER_J10_11 // Pin not routed
68+
#define HEADER_J10_12 // Pin not routed
69+
#define HEADER_J10_13 // Pin not routed
70+
#define HEADER_J10_14 PIM_PIN_090
71+
#define HEADER_J10_15 PIM_PIN_089
72+
#define HEADER_J10_16 PIM_PIN_012
73+
#define HEADER_J10_17 PIM_PIN_010
74+
#define HEADER_J10_18 PIM_PIN_008
75+
#define HEADER_J10_19 PIM_PIN_006
76+
#define HEADER_J10_20 PIM_PIN_004
77+
#define HEADER_J10_21 PIM_PIN_002
78+
79+
#define HEADER_J11_1 PIM_PIN_014
80+
#define HEADER_J11_2 PIM_PIN_016
81+
#define HEADER_J11_3 PIM_PIN_091
82+
#define HEADER_J11_4 PIM_PIN_092
83+
#define HEADER_J11_5 PIM_PIN_025
84+
#define HEADER_J11_6 // Pin not routed
85+
#define HEADER_J11_7 PIM_PIN_018
86+
#define HEADER_J11_8 PIM_PIN_020
87+
#define HEADER_J11_9 PIM_PIN_022
88+
#define HEADER_J11_10 PIM_PIN_024
89+
#define HEADER_J11_11 // Pin not routed
90+
#define HEADER_J11_12 // Pin not routed
91+
#define HEADER_J11_13 // Pin not routed
92+
#define HEADER_J11_14 PIM_PIN_026
93+
#define HEADER_J11_15 PIM_PIN_028
94+
#define HEADER_J11_16 PIM_PIN_019
95+
#define HEADER_J11_17 PIM_PIN_017
96+
#define HEADER_J11_18 PIM_PIN_056
97+
#define HEADER_J11_19 PIM_PIN_055
98+
#define HEADER_J11_20 PIM_PIN_048
99+
#define HEADER_J11_21 PIM_PIN_047
100+
101+
#define HEADER_J12_1 PIM_PIN_049
102+
#define HEADER_J12_2 PIM_PIN_050
103+
#define HEADER_J12_3 PIM_PIN_044
104+
#define HEADER_J12_4 PIM_PIN_045
105+
#define HEADER_J12_5 PIM_PIN_046
106+
#define HEADER_J12_6 PIM_PIN_039
107+
#define HEADER_J12_7 PIM_PIN_040
108+
#define HEADER_J12_8 // Pin not routed
109+
#define HEADER_J12_9 // Pin not routed
110+
#define HEADER_J12_10 // Pin not routed
111+
#define HEADER_J12_11 // Pin not routed
112+
#define HEADER_J12_12 // Pin not routed
113+
#define HEADER_J12_13 PIM_PIN_088
114+
#define HEADER_J12_14 PIM_PIN_087
115+
#define HEADER_J12_15 PIM_PIN_062
116+
#define HEADER_J12_16 PIM_PIN_061
117+
#define HEADER_J12_17 PIM_PIN_060
118+
#define HEADER_J12_18 PIM_PIN_059
119+
#define HEADER_J12_19 PIM_PIN_072
120+
#define HEADER_J12_20 PIM_PIN_079
121+
#define HEADER_J12_21 PIM_PIN_078
122+
123+
#define HEADER_J13_1 PIM_PIN_071
124+
#define HEADER_J13_2 PIM_PIN_070
125+
#define HEADER_J13_3 PIM_PIN_069
126+
#define HEADER_J13_4 PIM_PIN_058
127+
#define HEADER_J13_5 PIM_PIN_057
128+
#define HEADER_J13_6 PIM_PIN_068
129+
#define HEADER_J13_7 PIM_PIN_067
130+
#define HEADER_J13_8 PIM_PIN_066
131+
#define HEADER_J13_9 PIM_PIN_065
132+
#define HEADER_J13_10 // Pin not routed
133+
#define HEADER_J13_11 // Pin not routed
134+
#define HEADER_J13_12 // Pin not routed
135+
#define HEADER_J13_13 PIM_PIN_052
136+
#define HEADER_J13_14 PIM_PIN_051
137+
#define HEADER_J13_15 PIM_PIN_041
138+
#define HEADER_J13_16 PIM_PIN_042
139+
#define HEADER_J13_17 PIM_PIN_094
140+
#define HEADER_J13_18 PIM_PIN_093
141+
#define HEADER_J13_19 PIM_PIN_032
142+
#define HEADER_J13_20 PIM_PIN_034
143+
#define HEADER_J13_21 PIM_PIN_033
144+
145+
#define BUTTON_1 PIM_PIN_090
146+
#define BUTTON_2 PIM_PIN_089
147+
#define BUTTON_3 PIM_PIN_088
148+
#define LED_1 PIM_PIN_082
149+
#define LED_2 PIM_PIN_081
150+
#define LED_3 PIM_PIN_080
151+
152+
#ifdef __cplusplus
153+
}
154+
#endif
155+
156+
#endif // _BOARD_H_
157+
// ------------------------------------------------------------------------- END
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
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 pim_socket.h
41+
* @brief PIM socket MCU card pin mapping.
42+
*/
43+
44+
#ifndef _PIM_SOCKET_H_
45+
#define _PIM_SOCKET_H_
46+
47+
#ifdef __cplusplus
48+
extern "C"{
49+
#endif
50+
51+
#include "mcu_card.h"
52+
#include "hal_target.h"
53+
54+
// Left connector
55+
#define PIM_PIN_001 LEFT_CN_PIN_001
56+
#define PIM_PIN_002 LEFT_CN_PIN_002
57+
#define PIM_PIN_003 LEFT_CN_PIN_003
58+
#define PIM_PIN_004 LEFT_CN_PIN_004
59+
#define PIM_PIN_005 LEFT_CN_PIN_005
60+
#define PIM_PIN_006 LEFT_CN_PIN_006
61+
#define PIM_PIN_007 LEFT_CN_PIN_007
62+
#define PIM_PIN_008 LEFT_CN_PIN_008
63+
#define PIM_PIN_009 LEFT_CN_PIN_009
64+
#define PIM_PIN_010 LEFT_CN_PIN_010
65+
#define PIM_PIN_011 LEFT_CN_PIN_011
66+
#define PIM_PIN_012 LEFT_CN_PIN_012
67+
#define PIM_PIN_013 LEFT_CN_PIN_013
68+
#define PIM_PIN_014 LEFT_CN_PIN_014
69+
#define PIM_PIN_015 LEFT_CN_PIN_015
70+
#define PIM_PIN_016 LEFT_CN_PIN_016
71+
#define PIM_PIN_017 LEFT_CN_PIN_017
72+
#define PIM_PIN_018 LEFT_CN_PIN_018
73+
#define PIM_PIN_019 LEFT_CN_PIN_019
74+
#define PIM_PIN_020 LEFT_CN_PIN_020
75+
#define PIM_PIN_021 LEFT_CN_PIN_021
76+
#define PIM_PIN_022 LEFT_CN_PIN_022
77+
#define PIM_PIN_023 LEFT_CN_PIN_023
78+
#define PIM_PIN_024 LEFT_CN_PIN_024
79+
#define PIM_PIN_025 LEFT_CN_PIN_025
80+
81+
// Down connector
82+
#define PIM_PIN_026 DOWN_CN_PIN_026
83+
#define PIM_PIN_027 DOWN_CN_PIN_027
84+
#define PIM_PIN_028 DOWN_CN_PIN_028
85+
#define PIM_PIN_029 DOWN_CN_PIN_029
86+
#define PIM_PIN_030 DOWN_CN_PIN_030
87+
#define PIM_PIN_031 DOWN_CN_PIN_031
88+
#define PIM_PIN_032 DOWN_CN_PIN_032
89+
#define PIM_PIN_033 DOWN_CN_PIN_033
90+
#define PIM_PIN_034 DOWN_CN_PIN_034
91+
#define PIM_PIN_035 DOWN_CN_PIN_035
92+
#define PIM_PIN_036 DOWN_CN_PIN_036
93+
#define PIM_PIN_037 DOWN_CN_PIN_037
94+
#define PIM_PIN_038 DOWN_CN_PIN_038
95+
#define PIM_PIN_039 DOWN_CN_PIN_039
96+
#define PIM_PIN_040 DOWN_CN_PIN_040
97+
#define PIM_PIN_041 DOWN_CN_PIN_041
98+
#define PIM_PIN_042 DOWN_CN_PIN_042
99+
#define PIM_PIN_043 DOWN_CN_PIN_043
100+
#define PIM_PIN_044 DOWN_CN_PIN_044
101+
#define PIM_PIN_045 DOWN_CN_PIN_045
102+
#define PIM_PIN_046 DOWN_CN_PIN_046
103+
#define PIM_PIN_047 DOWN_CN_PIN_047
104+
#define PIM_PIN_048 DOWN_CN_PIN_048
105+
#define PIM_PIN_049 DOWN_CN_PIN_049
106+
#define PIM_PIN_050 DOWN_CN_PIN_050
107+
108+
// Right connector
109+
#define PIM_PIN_051 RIGHT_CN_PIN_051
110+
#define PIM_PIN_052 RIGHT_CN_PIN_052
111+
#define PIM_PIN_053 RIGHT_CN_PIN_053
112+
#define PIM_PIN_054 RIGHT_CN_PIN_054
113+
#define PIM_PIN_055 RIGHT_CN_PIN_055
114+
#define PIM_PIN_056 RIGHT_CN_PIN_056
115+
#define PIM_PIN_057 RIGHT_CN_PIN_057
116+
#define PIM_PIN_058 RIGHT_CN_PIN_058
117+
#define PIM_PIN_059 RIGHT_CN_PIN_059
118+
#define PIM_PIN_060 RIGHT_CN_PIN_060
119+
#define PIM_PIN_061 RIGHT_CN_PIN_061
120+
#define PIM_PIN_062 RIGHT_CN_PIN_062
121+
#define PIM_PIN_063 RIGHT_CN_PIN_063
122+
#define PIM_PIN_064 RIGHT_CN_PIN_064
123+
#define PIM_PIN_065 RIGHT_CN_PIN_065
124+
#define PIM_PIN_066 RIGHT_CN_PIN_066
125+
#define PIM_PIN_067 RIGHT_CN_PIN_067
126+
#define PIM_PIN_068 RIGHT_CN_PIN_068
127+
#define PIM_PIN_069 RIGHT_CN_PIN_069
128+
#define PIM_PIN_070 RIGHT_CN_PIN_070
129+
#define PIM_PIN_071 RIGHT_CN_PIN_071
130+
#define PIM_PIN_072 RIGHT_CN_PIN_072
131+
#define PIM_PIN_073 RIGHT_CN_PIN_073
132+
#define PIM_PIN_074 RIGHT_CN_PIN_074
133+
#define PIM_PIN_075 RIGHT_CN_PIN_075
134+
135+
// Up connector
136+
#define PIM_PIN_076 UP_CN_PIN_076
137+
#define PIM_PIN_077 UP_CN_PIN_077
138+
#define PIM_PIN_078 UP_CN_PIN_078
139+
#define PIM_PIN_079 UP_CN_PIN_079
140+
#define PIM_PIN_080 UP_CN_PIN_080
141+
#define PIM_PIN_081 UP_CN_PIN_081
142+
#define PIM_PIN_082 UP_CN_PIN_082
143+
#define PIM_PIN_083 UP_CN_PIN_083
144+
#define PIM_PIN_084 UP_CN_PIN_084
145+
#define PIM_PIN_085 UP_CN_PIN_085
146+
#define PIM_PIN_086 UP_CN_PIN_086
147+
#define PIM_PIN_087 UP_CN_PIN_087
148+
#define PIM_PIN_088 UP_CN_PIN_088
149+
#define PIM_PIN_089 UP_CN_PIN_089
150+
#define PIM_PIN_090 UP_CN_PIN_090
151+
#define PIM_PIN_091 UP_CN_PIN_091
152+
#define PIM_PIN_092 UP_CN_PIN_092
153+
#define PIM_PIN_093 UP_CN_PIN_093
154+
#define PIM_PIN_094 UP_CN_PIN_094
155+
#define PIM_PIN_095 UP_CN_PIN_095
156+
#define PIM_PIN_096 UP_CN_PIN_096
157+
#define PIM_PIN_097 UP_CN_PIN_097
158+
#define PIM_PIN_098 UP_CN_PIN_098
159+
#define PIM_PIN_099 UP_CN_PIN_099
160+
#define PIM_PIN_100 UP_CN_PIN_100
161+
162+
#ifdef __cplusplus
163+
}
164+
#endif
165+
166+
#endif // _PIM_SOCKET_H_
167+
// ------------------------------------------------------------------------- END

changelog/v2.13.1/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Support added for following hardware:
6767
+ **[2025-02-13](./new_hw/2025-02-13.md)**
6868
+ **[2025-02-14](./new_hw/2025-02-14.md)**
6969
+ **[2025-02-17](./new_hw/2025-02-17.md)**
70+
+ **[2025-02-18](./new_hw/2025-02-18.md)**
7071

7172
---
7273

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
# 2025-02-18
12+
13+
## Changes
14+
15+
- [2025-02-18](#2025-02-18)
16+
- [Changes](#changes)
17+
- [NEW HARDWARE](#new-hardware)
18+
19+
### NEW HARDWARE
20+
21+
Support added for following hardware:
22+
23+
+ [dsPICDEM Connectivity Development Board](https://mplab-discover.microchip.com/v2/item/com.microchip.portal.evalboard/com.microchip.subcategories.modules-and-peripherals.communication.can.Others/other.dm300004-1-2/1.0.0?view=about)
24+
25+
---
26+
27+
**[BACK TO PREVIOUS FILE](../changelog.md)**
28+
29+
---
18.3 KB
Loading
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"uid": "DSPICDEM_NET_CONNECTIVITY_DEVELOPMENT_BOARD",
3+
"name": "dsPICDEM Connectivity Development Board",
4+
"icon": "images/boards/board-dspicdem-net-connectivity-development.png",
5+
"default_device": "PIM_FOR_DSPIC33EP256GP506",
6+
"soldered_device": "",
7+
"category": "Development Systems",
8+
"mikrobus_count": 0,
9+
"sort_order": 6,
10+
"min_pin_count": 0,
11+
"display_socket": "NO_DISPLAY",
12+
"sdk_config": "{\"_MSDK_BOARD_NAME_\":\"DSPICDEM_NET_CONNECTIVITY_DEVELOPMENT_BOARD\"}",
13+
"necto_config": "",
14+
"display": "NO_DISPLAY",
15+
"package_uid": ""
16+
}

0 commit comments

Comments
 (0)