Compare commits

...

10 Commits

Author SHA1 Message Date
Arturo Buzarra ff7f16b053 Merge tag 'dey-5.0-r3.1'
Digi Embedded Yocto 5.0-r3.1

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-12-22 11:03:04 +01:00
Gonzalo Ruiz 77e9124728 ccimx95: add support for the ConnectCore 95 platform
Add missing entries in the readme for ConnectCore 91 and 93.

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

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-12-16 09:58:32 +01:00
Javier Viguera b95b52bdf8 Merge branch 'master' into dey-5.0/maint
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-28 14:53:23 +01:00
Javier Viguera 876b1d55fc connectcore-demo-example: use is_local_access for local run detection
According to the API, navigator.platform is unreliable and not recommended
for runtime detection. As our platforms are ARM based, we were using it
to get the platform and grep for a literal arm. That fails for example
when using chromium browser on the ConnectCore devices, as it is reporting
'Linux x86_64' even running on an arm64 device.

Instead use the already implemented is_local_access function to detect
whether the browser is running locally in the target.

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

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-12 17:29:44 +01:00
Javier Viguera 79bd5559bf connectcore-demo-example: add support for ccimx95-dvk
https://onedigi.atlassian.net/browse/DEL-9809

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-11 17:56:54 +01:00
Javier Viguera 420bed0ba3 connectcore-demo-example: fix ccimx8x-sbc audio component position
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-11 17:50:04 +01:00
Javier Viguera 90ffa6a9c8 connectcore-demo-example: fix shown ethernet MAC address format
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-11 17:50:04 +01:00
Arturo Buzarra 22fb60f07d Merge tag 'dey-5.0-r2.2'
Digi Embedded Yocto 5.0-r2.2

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2025-07-21 13:57:22 +02:00
Isaac Hermida 4250a5e098 connectcore-demo-example: preserve "swu" file in update_firmware
Avoid deleting the original "swu" firmware file during the update process,
especially in dual-boot systems.
Previously, the file could be removed from the source path even
in the event of an exception. This change ensures the original file
remains intact regardless of update outcome.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-07-14 15:50:42 +02:00
Isaac Hermida 14911565e8 connectcore-demo-example: improve is_dual_system()
Fix an issue where the fw_printenv command output includes a trailing newline,
which could lead to incorrect string comparisons. The output is now stripped to
ensure consistent and accurate evaluation.

Example before fix:

>>> res = exec_cmd("fw_printenv -n dualboot")
>>> res
(0, 'yes\n')

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

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
2025-07-14 15:48:33 +02:00
18 changed files with 229 additions and 27 deletions

View File

@ -10,6 +10,7 @@ The ADC lines used in this example are mapped as follows in the Digi boards:
- **ConnectCore MP25 DVK**: ANA0 (GPIO connector, J8, Pin 18).
- **ConnectCore MP13 DVK**: ADC1_INP14 (MikroBus socket, J31, Pin 1).
- **ConnectCore MP15 DVK**: ANA0 (GPIO connector, J41, Pin 4).
- **ConnectCore 95 DVK**: ADC IN0 (GPIO connector, J44, Pin 3).
- **ConnectCore 93 DVK**: ADC IN0 (GPIO connector, J48, Pin 1).
- **ConnectCore 91 DVK**: ADC IN0 (GPIO connector, J48, Pin 1).
- **ConnectCore 8M Mini DVK**: MCA_IO1 (channel 1) at XBEE1_UART_TX. By default
@ -61,7 +62,7 @@ For more information, see the [Digi Embedded Yocto online documentation](https:/
License
-------
Copyright 2017-2023, Digi International Inc.
Copyright 2017-2025, Digi International Inc.
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice

View File

@ -29,6 +29,11 @@ The CAN interface for this example depends on the running platform:
- CAN1_H: Pin 2
- CAN1_L: Pin 3
- GND: Pin 4
- **ConnectCore 95 DVK**: CAN connector of the board (J11).
- 5V: Pin 1
- CAN1_H: Pin 2
- CAN1_L: Pin 3
- GND: Pin 4
- **ConnectCore 93 DVK**: CAN connector of the board (J15).
- 5V: Pin 1
- CAN1_H: Pin 2
@ -161,7 +166,7 @@ For more information, see the [Digi Embedded Yocto online documentation](https:/
License
-------
Copyright 2018-2023, Digi International Inc.
Copyright 2018-2025, Digi International Inc.
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice

View File

@ -18,6 +18,9 @@ The GPIOs lines used in this example are mapped as follows in the Digi boards:
- **ConnectCore MP15 DVK**:
- User button: GPIOA,13 (User Button 1 in the board)
- User led: GPIOC,3 (ULED in the board)
- **ConnectCore 95 DVK**:
- User button: GPIOCHIP3,12 (User Button 1 in the board)
- User led: GPIOCHIP2,23 (User Led 2 in the board)
- **ConnectCore 93 DVK**:
- User button: GPIOCHIP2,7 (User Button 1 in the board)
- User led: USER_LED1 (User Led 1 in the board)
@ -84,7 +87,7 @@ For more information, see the [Digi Embedded Yocto online documentation](https:/
License
-------
Copyright 2017-2023, Digi International Inc.
Copyright 2017-2025, Digi International Inc.
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice

View File

@ -33,6 +33,11 @@ The I2C connections for this example depend on the running platform:
- GND: Pin 8
- I2C-3 SDA: Pin 6
- I2C-3 SCL: Pin 5
- **ConnectCore 95 DVK**: MikroBus connector (J39).
- VCC: Pin 7
- GND: Pin 8
- I2C-3 SDA: Pin 6
- I2C-3 SCL: Pin 5
- **ConnectCore 8M Mini DVK**: Expansion connector of the board (J48).
- VCC: Connector J52 Pin 7
- GND: Pin 9
@ -111,7 +116,7 @@ For more information, see the [Digi Embedded Yocto online documentation](https:/
License
-------
Copyright 2017-2023, Digi International Inc.
Copyright 2017-2025, Digi International Inc.
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice

View File

@ -12,6 +12,7 @@ The PWM lines used in this example are mapped as follows in the Digi boards:
- **ConnectCore MP25 DVK**: MikroBus PWM channel 4 - PIN **1** of the MikroBus connector (J40).
- **ConnectCore MP13 DVK**: MikroBus PWM channel 8 - PIN **1** of the MikroBus connector (J31). Need to add the overlay _ov_board_pwm8_ccmp13-dvk.dtbo
- **ConnectCore MP15 DVK**: MikroBus PWM channel 4 - PIN **1** of the MikroBus connector (J31).
- **ConnectCore 95 DVK**: MikroBus PWM channel 3 - PIN **1** of the MikroBus connector (J39).
- **ConnectCore 93 DVK**: PWM0 channel 1 shared with LVDS backlight. Need to disable LVDS and enable the PWM channel in the DTB.
- **ConnectCore 91 DVK**: PWM0 channel 1 shared.
- **ConnectCore 8M Mini DVK**: MCA PWM0 channel 2 connected to the LED1.
@ -59,7 +60,7 @@ For more information, see the [Digi Embedded Yocto online documentation](https:/
License
-------
Copyright 2017-2023, Digi International Inc.
Copyright 2017-2025, Digi International Inc.
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice

View File

@ -46,6 +46,13 @@ The SPI connections for this example depends on the running platform:
- SPI-8 MISO: 5
- SPI-8 MOSI: 6
- SPI-8 SS0: 3
- **ConnectCore 95 DVK**: MikroBus connector (J38).
- VCC: Pin 7
- GND: Pin 8
- SPI-8 CLK: 4
- SPI-8 MISO: 5
- SPI-8 MOSI: 6
- SPI-8 SS0: 3
- **ConnectCore 8X SBC Pro**: Expansion connector of the board (J27).
- VCC: Pin D1
- GND: Pin C1
@ -133,7 +140,7 @@ For more information, see the [Digi Embedded Yocto online documentation](https:/
License
-------
Copyright 2017-2023, Digi International Inc.
Copyright 2017-2025, Digi International Inc.
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3
# Copyright (c) 2022-2024, Digi International, Inc.
# Copyright (c) 2022-2025, Digi International, Inc.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@ -204,7 +204,7 @@ class RequestHandler(http.server.SimpleHTTPRequestHandler):
try:
net_iface = NetworkInterface.get(iface)
index = iface[len("eth"):]
info["ethernet%s_mac" % index] = str(net_iface.mac)
info["ethernet%s_mac" % index] = mac_to_human_string(net_iface.mac)
info["ethernet%s_ip" % index] = str(net_iface.ipv4)
except NetworkException as exc2:
log.error("Error reading interface '%s' data: %s", iface, str(exc2))
@ -570,8 +570,6 @@ class RequestHandler(http.server.SimpleHTTPRequestHandler):
self.wfile.write(json.dumps({"error": e.stdout}).encode(encoding="utf_8"))
fw_process = None
if is_dual_system() and os.path.exists(path):
os.remove(path)
elif re.search("/ajax/check_firmware_update_running", self.path) is not None:
# Set the response headers.
self._set_headers(200)
@ -1267,7 +1265,7 @@ def is_dual_system():
Boolean: True for dual systems, False otherwise.
"""
res = exec_cmd("fw_printenv -n dualboot")
return res[0] == 0 and res[1] == "yes"
return res[0] == 0 and res[1].strip() == "yes"
def get_fw_store_path():

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/ccimx8m-nano.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/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -890,4 +891,3 @@ Digi Demo - Dashboard
</body>
</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/ccimx8m-nano.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/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -367,4 +368,3 @@ Digi Demo - Management
</body>
</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/ccimx8m-nano.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/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -308,4 +309,3 @@ Digi Demo - Multimedia
</body>
</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/ccimx8m-nano.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/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -586,4 +587,3 @@ Digi Demo - Network
</body>
</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/ccimx8m-nano.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/ccimx91-dvk.js"></script>
<script type="text/javascript" src="./static/js/ccimx6sbc.js"></script>
@ -231,4 +232,3 @@ Digi Demo - NPU
</script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 661 KiB

View File

@ -1,5 +1,5 @@
/*
* Copyright 2022-2024, Digi International Inc.
* Copyright 2022-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
@ -114,14 +114,14 @@ class CCIMX8X extends ConnectCoreDevice {
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 = 1;
AUDIO_COMPONENT_PANEL_VERTICAL_PERCENT = 19;
AUDIO_COMPONENT_ARROW_PERCENT = 16;
AUDIO_COMPONENT_AREA_TOP_PERCENT = 7;
AUDIO_COMPONENT_AREA_LEFT_PERCENT = 14.5;
AUDIO_COMPONENT_AREA_WIDTH_PERCENT = 5.4;
AUDIO_COMPONENT_AREA_HEIGHT_PERCENT = 11;
AUDIO_COMPONENT_PANEL_ORIENTATION = VALUE_BOTTOM;
AUDIO_COMPONENT_PANEL_HORIZONTAL_PERCENT = 75;
AUDIO_COMPONENT_PANEL_VERTICAL_PERCENT = 27;
AUDIO_COMPONENT_ARROW_PERCENT = 76;
AUDIO_COMPONENT_AREA_TOP_PERCENT = 74;
AUDIO_COMPONENT_AREA_LEFT_PERCENT = 73.5;
AUDIO_COMPONENT_AREA_WIDTH_PERCENT = 7.5;
AUDIO_COMPONENT_AREA_HEIGHT_PERCENT = 16;
LED_COMPONENT_VISIBLE = true;
LED_COMPONENT_HAS_PANEL = true;

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

@ -531,7 +531,7 @@ function getDeviceName() {
// Updates the available web sections.
function updateAvailableSections() {
// Remove device specific sections when rendering the demo from a computer.
if (!navigator.platform.includes("aarch") && !navigator.platform.includes("arm")) {
if (!is_local_access()) {
removeSection(ID_SECTION_MULTIMEDIA);
removeSection(ID_SECTION_NPU);
}

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
* 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:
device = new CCMP255(deviceData);
break;
case CCIMX95.DEVICE_TYPE:
device = new CCIMX95(deviceData);
break;
case CCIMX93.DEVICE_TYPE:
device = new CCIMX93(deviceData);
break;

View File

@ -17,6 +17,7 @@ application takes periodic samples and prints the raw value and the value in mv.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -41,6 +42,7 @@ reception using the selected baudrate.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -66,6 +68,7 @@ whenever an interrupt is generated in the input GPIO.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -90,6 +93,7 @@ Afterward, it reads the data back to validate it (tested with 24FC1026).
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -114,6 +118,9 @@ frequencies, and governors.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
<platform>ccmp13-dvk</platform>
<platform>ccmp25-dvk</platform>
@ -137,6 +144,8 @@ vice-versa.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
<platform>ccmp13-dvk</platform>
@ -160,6 +169,7 @@ the page size and the address size in bytes.
<platform>ccimx6ulsbc</platform>
<platform>ccimx8x-sbc-express</platform>
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -185,6 +195,7 @@ then the device will reboot automatically after the timeout expires.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -209,7 +220,9 @@ GATT services and characteristics.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
<platform>ccmp13-dvk</platform>
<platform>ccmp25-dvk</platform>
@ -257,6 +270,7 @@ When this request arrives the application sends back the current time.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -283,6 +297,7 @@ The uploads takes place every 10 new samples, that is every 50 seconds.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -308,6 +323,7 @@ to stream `binary_dp`.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>
@ -330,6 +346,7 @@ Example application to enable/disable maintenance status.
<platform>ccimx8x-sbc-pro</platform>
<platform>ccimx8mn-dvk</platform>
<platform>ccimx8mm-dvk</platform>
<platform>ccimx95-dvk</platform>
<platform>ccimx93-dvk</platform>
<platform>ccimx91-dvk</platform>
<platform>ccmp15-dvk</platform>