Files
NanoKVM-MIRROR/support/sg2002
deftdawg f05467f45c Fix oled_sleep_param only retaining lowest 8-bits of value
providing oled_sleep_param with a 16-bit value (i.e. >256), results unpredictable display sleep times as only the low 8-bits are retained due to uint8_t (i.e. 5 minutes 300 seconds; shuts off in ~44s /  300s - 256s), this patch switches to uint16_t which should allow for up to sleeps of up to 65535 seconds.
2025-12-18 16:39:58 -05:00
..
2025-03-21 16:17:47 +08:00

NanoKVM Support Instructions

Environment Preparation

  1. NanoKVM-Lite/Full/PCIe is based on the SG2002 as the main control chip. The projects in the support section are compiled under the MaixCDK framework. Before compiling, please ensure that the MaixCDK environment is correctly configured. For configuration instructions, click here.

kvm_system Compilation Instructions

The kvm_system is responsible for monitoring the NanoKVM system status, system updates, screen key drivers, and a few system functions, compiled with MaixCDK.

  1. Before compiling, please ensure that the above-mentioned MaixCDK environment is correctly configured.
  2. Modify the paths of MAIXCDK_PATH and NanoKVM_PATH in ./build.
  3. Execute ./build kvm_system to compile kvm_system.
  4. Use scp ./kvm_system/dist/kvm_system_release/kvm_system root@192.168.x.x:/kvmapp/kvm_system to copy it to NanoKVM for testing.
  5. Use ./build add_to_kvmapp to place the executable file into the /kvmapp installation package.
  6. Use ./build kvm_system clean to clean the compilation of kvm_system.

kvm_vision Compilation Instructions

kvm_vision refers to the image acquisition and encoding subsystem of NanoKVM, compiled with MaixCDK to produce dynamic libraries for Go calls. Use kvm_vision_test to compile and test the dynamic library.

  1. Before compiling, please ensure that the above-mentioned MaixCDK environment is correctly configured.
  2. Modify the paths of MAIXCDK_PATH and NanoKVM_PATH in ./build.
  3. Execute ./build kvm_vision to compile kvm_vision_test.
  4. You can test the dynamic libraries in kvm_vision_test/dist/kvm_vision_test_release/dl_lib/.
  5. Use ./build add_to_kvmapp to place the dynamic libraries into the /kvmapp installation package.
  6. Use ./build kvm_vision clean to clean the compilation of kvm_vision.