mirror of
https://github.com/compute-blade-community/compute-blade-agent.git
synced 2026-04-30 05:03:20 +02:00
feat(hal): add RK3588 (Radxa CM5) HAL with sysfs fan control (#155)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Cedric Specht <cedric@specht-labs.de>
This commit is contained in:
@@ -31,6 +31,8 @@ func NewHal(ctx context.Context, opts ComputeBladeHalOpts) (ComputeBladeHal, err
|
||||
return newBcm2712Hal(ctx, opts)
|
||||
case strings.Contains(compatStr, "bcm2711"):
|
||||
return newBcm2711Hal(ctx, opts)
|
||||
case strings.Contains(compatStr, "rockchip,rk3588"):
|
||||
return newRk3588Hal(ctx, opts)
|
||||
default:
|
||||
return nil, fmt.Errorf("unsupported platform: %s", strings.ReplaceAll(compatStr, "\x00", ", "))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user