picoclaw/pkg
karan 2720fa71c7
add I2C and SPI tools for hardware interaction (#140)
* add I2C and SPI tools for hardware interaction

- Implemented I2CTool for I2C bus interaction, including device scanning, reading, and writing.
- Implemented SPITool for SPI bus communication, supporting device listing, data transfer, and reading.
- Added platform-specific implementations for Linux and stubs for non-Linux platforms.
- Updated agent loop to register new I2C and SPI tools.
- Created documentation for hardware skills, including usage examples and pinmux setup instructions.

* Remove build constraints for Linux from I2C and SPI tool files.
2026-02-14 16:53:17 +08:00
..
agent add I2C and SPI tools for hardware interaction (#140) 2026-02-14 16:53:17 +08:00
auth fix(auth): handle string interval in device-code login 2026-02-12 02:22:59 -05:00
bus * First commit 2026-02-09 19:20:19 +08:00
channels style: fix gofmt formatting (CRLF -> LF) 2026-02-14 11:21:47 +09:00
config fix: update tests to match upstream API changes 2026-02-14 11:32:42 +09:00
constants refactor(tools): extract shared logic for internal channels and tool definitions 2026-02-13 15:05:16 +08:00
cron fix concurrency and persistence safety in session/cron/heartbeat services 2026-02-12 23:11:28 +03:00
heartbeat * fix: heartbeat/service_test.go test failed 2026-02-13 22:19:18 +08:00
logger * First commit 2026-02-09 19:20:19 +08:00
migrate Merge branch 'main' of https://github.com/sipeed/picoclaw 2026-02-13 15:36:43 +05:30
providers refactor: Trim trailing slashes from the API base URL and enhance API error messages with status codes. 2026-02-14 02:09:55 +08:00
session fix concurrency and persistence safety in session/cron/heartbeat services 2026-02-12 23:11:28 +03:00
skills Add memory system, dynamic tool loading, and fix logging issues 2026-02-11 00:14:33 +08:00
state refactor(heartbeat): add configurable interval and channel-aware routing 2026-02-13 11:13:32 +08:00
tools add I2C and SPI tools for hardware interaction (#140) 2026-02-14 16:53:17 +08:00
utils refactor(channels): consolidate media handling and improve resource cleanup 2026-02-12 12:46:28 +08:00
voice Remove duplicate truncate functions, reuse utils.Truncate 2026-02-12 00:46:48 +08:00