Skip to content

Fix pedometer SysConfig requests and open-drain conversion - #252

Merged
ShiboSoftwareDev merged 1 commit into
mainfrom
fix/pedometer-sysconfig-request
Oct 1, 2026
Merged

ShiboSoftwareDev merged 1 commit into
mainfrom
fix/pedometer-sysconfig-request

Conversation

@AnasSarkiz

Copy link
Copy Markdown
Member

After building imrishabh18/pedometer v1.1.3, ti generate-sysconfig ./index.circuit.tsx reports a missing request even though dist/index/circuit.json exists. The message does not explain that the missing file supplies firmware behavior. With a request supplied, the board's valid open-drain I2C declarations also fail conversion.

This change explains hardware Circuit JSON versus firmware requests, identifies missing explicit --config paths accurately, and supplies a tested index.sysconfig.json for the current board's U1 component and signal names. It updates the bundled converter pin to b4458ed78fdcfeee3404af45bf30b36e06349c7d, allowing open-drain SDA/SCL while preserving incompatible GPIO checks.

Dependency: merge circuit-json-to-sysconfig #6 first. The separate pre-build missing-export crash is addressed by eval #4905. This is a follow-up to merged #250.

Validation: 30 Node CLI tests plus the imported-component snapshot pass; formatting, typecheck, and npm package build pass. New regression tests cover missing requests after a successful TSX build, an invalid explicit request path, and open-drain I2C through the CLI. The final built npm CLI, using the committed request file and converter revision, passes both generate and real TI check on pedometer v1.1.3 with Bun 1.3.14. SysConfig 1.28.1+4785 / SimpleLink F3 SDK 9.21.00.36 generates seven files and semantic checking passes.

The example explicitly selects display isolation high, PMIC low-power low, accelerometer input, I2C at 100 kbit/s, reserved SWD pins, NoRTOS, and internal LF RCOSC. It is a configuration example, not a complete pedometer firmware application. The converter remains bundled at build time, so npm consumers do not fetch the Git dependency.

@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ti-system-block-ui Building Building Preview Oct 1, 2026 5:33pm UTC

Request Review

@ShiboSoftwareDev
ShiboSoftwareDev merged commit 0f358ac into main Oct 1, 2026
5 of 6 checks passed
@ShiboSoftwareDev
ShiboSoftwareDev deleted the fix/pedometer-sysconfig-request branch October 1, 2026 17:41
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


This branch had an error being deployed

1 failed deployment
Preview — 773a288d Deployed Oct 1, 2026 by tscircuit[bot]
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.

3 participants