Add support for Luckfox PicoKVM

Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
This commit is contained in:
luckfox-eng29
2025-08-07 14:26:01 +08:00
parent 3e7d8fb0f5
commit 8fbd6bcf0d
114 changed files with 4676 additions and 3270 deletions

View File

@@ -2,7 +2,7 @@
# Check if an IP address was provided as an argument
if [ -z "$1" ]; then
echo "Usage: $0 <JetKVM IP Address>"
echo "Usage: $0 <KVM IP Address>"
exit 1
fi
@@ -10,11 +10,11 @@ ip_address="$1"
# Print header
echo "┌──────────────────────────────────────┐"
echo "│ JetKVM Development Setup │"
echo "│ KVM Development Setup │"
echo "└──────────────────────────────────────┘"
# Set the environment variable and run Vite
echo "Starting development server with JetKVM device at: $ip_address"
echo "Starting development server with KVM device at: $ip_address"
# Check if pwd is the current directory of the script
if [ "$(pwd)" != "$(dirname "$0")" ]; then
@@ -24,6 +24,6 @@ fi
sleep 1
JETKVM_PROXY_URL="ws://$ip_address" npx vite dev --mode=device
KVM_PROXY_URL="ws://$ip_address" npx vite dev --mode=device
popd > /dev/null