connectcore-demo-example: add support for ccimx95-dvk

https://onedigi.atlassian.net/browse/DEL-9809

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2025-11-10 13:51:31 +01:00
parent 420bed0ba3
commit 79bd5559bf
8 changed files with 171 additions and 6 deletions

View File

@ -825,6 +825,7 @@ Digi Demo - Dashboard
<script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script> <script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script>
<script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script> <script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script>
<script type="text/javascript" src="./static/js/ccimx95-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script> <script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -890,4 +891,3 @@ Digi Demo - Dashboard
</body> </body>
</html> </html>

View File

@ -308,6 +308,7 @@ Digi Demo - Management
<script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script> <script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script>
<script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script> <script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script>
<script type="text/javascript" src="./static/js/ccimx95-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script> <script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -367,4 +368,3 @@ Digi Demo - Management
</body> </body>
</html> </html>

View File

@ -249,6 +249,7 @@ Digi Demo - Multimedia
<script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script> <script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script>
<script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script> <script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script>
<script type="text/javascript" src="./static/js/ccimx95-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script> <script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -308,4 +309,3 @@ Digi Demo - Multimedia
</body> </body>
</html> </html>

View File

@ -527,6 +527,7 @@ Digi Demo - Network
<script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script> <script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script>
<script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script> <script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script>
<script type="text/javascript" src="./static/js/ccimx95-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script> <script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -586,4 +587,3 @@ Digi Demo - Network
</body> </body>
</html> </html>

View File

@ -174,6 +174,7 @@ Digi Demo - NPU
<script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx8mm-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script> <script type="text/javascript" src="./static/js/ccimx8m-nano.js"></script>
<script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script> <script type="text/javascript" src="./static/js/ccimx8x-sbc-pro.js"></script>
<script type="text/javascript" src="./static/js/ccimx95-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx93-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script> <script type="text/javascript" src="./static/js/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script> <script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -231,4 +232,3 @@ Digi Demo - NPU
</script> </script>
</body> </body>
</html> </html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 661 KiB

View File

@ -0,0 +1,162 @@
/*
* Copyright 2025, Digi International Inc.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
class CCIMX95 extends ConnectCoreDevice {
// Public constants.
static DEVICE_TYPE = "ccimx95-dvk";
static PLATFORM_NAME = "ConnectCore 95 DVK";
// Variables.
BOARD_IMAGE = "ccimx95-dvk_board.png";
BOARD_IMAGE_SCALE = 85;
CPU_COMPONENT_VISIBLE = true;
CPU_COMPONENT_HAS_PANEL = true;
CPU_COMPONENT_HAS_ARROW = true;
CPU_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
CPU_COMPONENT_PANEL_ORIENTATION = VALUE_BOTTOM;
CPU_COMPONENT_PANEL_HORIZONTAL_PERCENT = 33.5;
CPU_COMPONENT_PANEL_VERTICAL_PERCENT = 70;
CPU_COMPONENT_ARROW_PERCENT = 40;
CPU_COMPONENT_AREA_TOP_PERCENT = 32.1;
CPU_COMPONENT_AREA_LEFT_PERCENT = 37.7;
CPU_COMPONENT_AREA_WIDTH_PERCENT = 8;
CPU_COMPONENT_AREA_HEIGHT_PERCENT = 11.8;
MEMORY_COMPONENT_VISIBLE = true;
MEMORY_COMPONENT_HAS_PANEL = true;
MEMORY_COMPONENT_HAS_ARROW = true;
MEMORY_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
MEMORY_COMPONENT_PANEL_ORIENTATION = VALUE_TOP;
MEMORY_COMPONENT_PANEL_HORIZONTAL_PERCENT = 34;
MEMORY_COMPONENT_PANEL_VERTICAL_PERCENT = 56;
MEMORY_COMPONENT_ARROW_PERCENT = 40;
MEMORY_COMPONENT_AREA_TOP_PERCENT = 46.4;
MEMORY_COMPONENT_AREA_LEFT_PERCENT = 38.8;
MEMORY_COMPONENT_AREA_WIDTH_PERCENT = 6;
MEMORY_COMPONENT_AREA_HEIGHT_PERCENT = 7;
WIFI_BT_COMPONENT_VISIBLE = true;
WIFI_BT_COMPONENT_HAS_PANEL = true;
WIFI_BT_COMPONENT_HAS_ARROW = true;
WIFI_BT_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
WIFI_BT_COMPONENT_PANEL_ORIENTATION = VALUE_RIGHT;
WIFI_BT_COMPONENT_PANEL_HORIZONTAL_PERCENT = 68.6;
WIFI_BT_COMPONENT_PANEL_VERTICAL_PERCENT = 30;
WIFI_BT_COMPONENT_ARROW_PERCENT = 37;
WIFI_BT_COMPONENT_AREA_TOP_PERCENT = 36.3;
WIFI_BT_COMPONENT_AREA_LEFT_PERCENT = 32.9;
WIFI_BT_COMPONENT_AREA_WIDTH_PERCENT = 3.5;
WIFI_BT_COMPONENT_AREA_HEIGHT_PERCENT = 5;
ETHERNET0_COMPONENT_VISIBLE = true;
ETHERNET0_COMPONENT_HAS_PANEL = true;
ETHERNET0_COMPONENT_HAS_ARROW = true;
ETHERNET0_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
ETHERNET0_COMPONENT_PANEL_ORIENTATION = VALUE_LEFT;
ETHERNET0_COMPONENT_PANEL_HORIZONTAL_PERCENT = 15;
ETHERNET0_COMPONENT_PANEL_VERTICAL_PERCENT = 65;
ETHERNET0_COMPONENT_ARROW_PERCENT = 69
ETHERNET0_COMPONENT_AREA_TOP_PERCENT = 68;
ETHERNET0_COMPONENT_AREA_LEFT_PERCENT = 5;
ETHERNET0_COMPONENT_AREA_WIDTH_PERCENT = 9;
ETHERNET0_COMPONENT_AREA_HEIGHT_PERCENT = 10;
ETHERNET1_COMPONENT_VISIBLE = true;
ETHERNET1_COMPONENT_HAS_PANEL = true;
ETHERNET1_COMPONENT_HAS_ARROW = true;
ETHERNET1_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
ETHERNET1_COMPONENT_PANEL_ORIENTATION = VALUE_LEFT;
ETHERNET1_COMPONENT_PANEL_HORIZONTAL_PERCENT = 15;
ETHERNET1_COMPONENT_PANEL_VERTICAL_PERCENT = 30;
ETHERNET1_COMPONENT_ARROW_PERCENT = 34;
ETHERNET1_COMPONENT_AREA_TOP_PERCENT = 32.8;
ETHERNET1_COMPONENT_AREA_LEFT_PERCENT = 5;
ETHERNET1_COMPONENT_AREA_WIDTH_PERCENT = 9;
ETHERNET1_COMPONENT_AREA_HEIGHT_PERCENT = 10;
CONSOLE_COMPONENT_VISIBLE = true;
CONSOLE_COMPONENT_HAS_PANEL = false;
CONSOLE_COMPONENT_HAS_ARROW = false;
CONSOLE_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
CONSOLE_COMPONENT_AREA_TOP_PERCENT = 4.5;
CONSOLE_COMPONENT_AREA_LEFT_PERCENT = 20.5;
CONSOLE_COMPONENT_AREA_WIDTH_PERCENT = 3.8;
CONSOLE_COMPONENT_AREA_HEIGHT_PERCENT = 5;
VIDEO_COMPONENT_VISIBLE = true;
VIDEO_COMPONENT_HAS_PANEL = true;
VIDEO_COMPONENT_HAS_ARROW = true;
VIDEO_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
VIDEO_COMPONENT_PANEL_ORIENTATION = VALUE_BOTTOM;
VIDEO_COMPONENT_PANEL_HORIZONTAL_PERCENT = 34;
VIDEO_COMPONENT_PANEL_VERTICAL_PERCENT = 19.5;
VIDEO_COMPONENT_ARROW_PERCENT = 37;
VIDEO_COMPONENT_AREA_TOP_PERCENT = 83.5;
VIDEO_COMPONENT_AREA_LEFT_PERCENT = 36;
VIDEO_COMPONENT_AREA_WIDTH_PERCENT = 6;
VIDEO_COMPONENT_AREA_HEIGHT_PERCENT = 8;
AUDIO_COMPONENT_VISIBLE = true;
AUDIO_COMPONENT_HAS_PANEL = true;
AUDIO_COMPONENT_HAS_ARROW = true;
AUDIO_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
AUDIO_COMPONENT_PANEL_ORIENTATION = VALUE_TOP;
AUDIO_COMPONENT_PANEL_HORIZONTAL_PERCENT = 0;
AUDIO_COMPONENT_PANEL_VERTICAL_PERCENT = 16;
AUDIO_COMPONENT_ARROW_PERCENT = 15;
AUDIO_COMPONENT_AREA_TOP_PERCENT = 4.5;
AUDIO_COMPONENT_AREA_LEFT_PERCENT = 14;
AUDIO_COMPONENT_AREA_WIDTH_PERCENT = 4.5;
AUDIO_COMPONENT_AREA_HEIGHT_PERCENT = 9.5;
LED_COMPONENT_VISIBLE = true;
LED_COMPONENT_HAS_PANEL = true;
LED_COMPONENT_HAS_ARROW = false;
LED_COMPONENT_PANEL_ALWAYS_VISIBLE = true;
LED_COMPONENT_PANEL_ORIENTATION = VALUE_TOP;
LED_COMPONENT_PANEL_HORIZONTAL_PERCENT = 59.2;
LED_COMPONENT_PANEL_VERTICAL_PERCENT = 11;
LED_COMPONENT_AREA_TOP_PERCENT = 20;
LED_COMPONENT_AREA_LEFT_PERCENT = 61;
LED_COMPONENT_AREA_WIDTH_PERCENT = 2;
LED_COMPONENT_AREA_HEIGHT_PERCENT = 2;
FLASH_MEMORY_COMPONENT_VISIBLE = true;
FLASH_MEMORY_COMPONENT_HAS_PANEL = true;
FLASH_MEMORY_COMPONENT_HAS_ARROW = true;
FLASH_MEMORY_COMPONENT_PANEL_ALWAYS_VISIBLE = false;
FLASH_MEMORY_COMPONENT_PANEL_ORIENTATION = VALUE_LEFT;
FLASH_MEMORY_COMPONENT_PANEL_HORIZONTAL_PERCENT = 52;
FLASH_MEMORY_COMPONENT_PANEL_VERTICAL_PERCENT = 30;
FLASH_MEMORY_COMPONENT_ARROW_PERCENT = 34;
FLASH_MEMORY_COMPONENT_AREA_TOP_PERCENT = 31;
FLASH_MEMORY_COMPONENT_AREA_LEFT_PERCENT = 46.1;
FLASH_MEMORY_COMPONENT_AREA_WIDTH_PERCENT = 4.8;
FLASH_MEMORY_COMPONENT_AREA_HEIGHT_PERCENT = 8;
// Capabilities
SUPPORTS_VIDEO_BRIGHTNESS = false;
SUPPORTS_NUM_ETHERNET = 2;
// Misc info
PCB_COLOR = ID_COLOR_BLUE;
// Constructor.
constructor(deviceData) {
super(CCIMX95.DEVICE_TYPE, CCIMX95.PLATFORM_NAME, deviceData);
}
}

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2022-2024, Digi International Inc. * Copyright (C) 2022-2025, Digi International Inc.
* *
* This Source Code Form is subject to the terms of the Mozilla Public * This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
@ -392,6 +392,9 @@ function createDevice(deviceData) {
case CCMP255.DEVICE_TYPE: case CCMP255.DEVICE_TYPE:
device = new CCMP255(deviceData); device = new CCMP255(deviceData);
break; break;
case CCIMX95.DEVICE_TYPE:
device = new CCIMX95(deviceData);
break;
case CCIMX93.DEVICE_TYPE: case CCIMX93.DEVICE_TYPE:
device = new CCIMX93(deviceData); device = new CCIMX93(deviceData);
break; break;