Skip to content

Support Pi Zero W (swappable rustls crypto backend, feature gate object detection)#120

Draft
jkaczman wants to merge 3 commits into
mainfrom
feat/use_ai_feat_gate
Draft

Support Pi Zero W (swappable rustls crypto backend, feature gate object detection)#120
jkaczman wants to merge 3 commits into
mainfrom
feat/use_ai_feat_gate

Conversation

@jkaczman

@jkaczman jkaczman commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Added a feature in camera_hub called "use_ai" to help gate out all inference-related code, so that Pi Zero W can be tested.

Ran cargo fmt on camera_hub and motion_ai (which is why there's some unrelated changes).

Made the crypto backend for rustls swappable due to aws-lc-rs not supporting ARMv6. Zero 2W continues to use it, however, Zero W will use ring backend instead.

fixes #125 - motion detection no longer runs during recording or before pairing.

@jkaczman jkaczman changed the title Gate inference behind use_ai feature to prepare for Pi Zero W support Support Pi Zero W (swappable rustls crypto backend, feature gate object detection) Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Motion detection runs before pairing and during live-streaming

1 participant