Skip to content

Set up Cursor Cloud dev environment#15

Draft
ajlennon wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-1738
Draft

Set up Cursor Cloud dev environment#15
ajlennon wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-1738

Conversation

@ajlennon

Copy link
Copy Markdown
Member

Summary

Sets up the Cursor Cloud development environment for this Yocto BSP meta-layer and documents how to run its lint/scan tooling.

This repo is a Yocto/OpenEmbedded BSP layer (BitBake recipes, machine configs, device trees, kernel patches) — there are no servers/daemons/databases to run. The "application" is the lint/scan tooling, whose primary check is the yocto-lens static scan defined in .github/workflows/yocto-lens.yml.

Changes

  • Add AGENTS.md with a ## Cursor Cloud specific instructions section covering the toolchain, the real CI scan command, the DISTRO_ROOT writability gotcha, expected HIGH-finding noise, and the other lint scripts.

Environment setup (no code changes required)

  • All required tools (bash, python3, git, curl, rg) are pre-installed; the yocto-lens binary self-downloads on demand.
  • Update script clones/refreshes the sibling meta-dynamicdevices-distro layer into $HOME (network-tolerant, idempotent) so the CI-equivalent scan can run.

Verification (hello world = run the repo's CI static scan on real recipes)

  • ./scripts/dts-cpp-comment-trap-check.sh → exit 0
  • DISTRO_ROOT=$HOME/meta-dynamicdevices-distro ./scripts/yocto-lens-ci.shyocto-lens-ci: OK (2 layers, 67 recipes, 107 patches, 145 findings; HIGH findings are expected DD-only-scan noise)

yocto_lens_ci_scan.log

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
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.

2 participants