From a3ed215e1310244947c5cae5fef8e1deda80bebd Mon Sep 17 00:00:00 2001 From: Alex P Date: Thu, 23 Oct 2025 23:36:23 +0300 Subject: [PATCH] docs: document JetKVM ARMv7 architecture and lint requirements Added documentation to .golangci.yml explaining: - JetKVM uses ARMv7 (Rockchip RK3308, Cortex-A7) not ARM64 - golangci-lint should be run via 'make lint-go' not directly - Audio CGO code requires cross-compilation environment from Makefile The build-tags are explicitly listed to match the actual build configuration used in the Makefile (netgo, timetzdata, nomsgpack). Running 'make lint' or 'make lint-go' works correctly as it sets up the full ARM cross-compilation environment with audio library dependencies. --- .golangci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index dd8a0794..f6d6edf5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,4 +1,12 @@ version: "2" +run: + # JetKVM target: ARMv7 (Rockchip RK3308, Cortex-A7) + # NOTE: Run 'make lint-go' instead of 'golangci-lint run' directly + # Audio CGO code requires cross-compilation environment from Makefile + build-tags: + - netgo + - timetzdata + - nomsgpack linters: enable: - forbidigo