mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
14 lines
369 B
Go
14 lines
369 B
Go
//go:build !linux
|
|
|
|
package tools
|
|
|
|
// transfer is a stub for non-Linux platforms.
|
|
func (t *SPITool) transfer(args map[string]any) *ToolResult {
|
|
return ErrorResult("SPI is only supported on Linux")
|
|
}
|
|
|
|
// readDevice is a stub for non-Linux platforms.
|
|
func (t *SPITool) readDevice(args map[string]any) *ToolResult {
|
|
return ErrorResult("SPI is only supported on Linux")
|
|
}
|