Repository navigation
Conversation
…ensor) (#2627) * Creating Bmp3xx scaffold * Add Bmp3xx register map and settings enums * Add BMP3xx calibration parsing and compensation with tests * Add Bmp390/Bmp388 device classes with simulated-device tests * Added README and sample * Report pressure as unavailable when the temperature is out of range * Add calibration test vectors from a real BMP390 * Wait for the running measurement when leaving normal or forced mode * Document the wait when leaving normal or forced mode * Clear stale data-ready flags before a forced measurement * Wait for the longest conversion that can still be running * Track whether a measurement exists instead of a reset-value sentinel * Document that Read discards unread data and needs no forced mode first
Co-authored-by: krwq <660048+krwq@users.noreply.github.com>
Co-authored-by: krwq <660048+krwq@users.noreply.github.com>
…ynchronously Co-authored-by: krwq <660048+krwq@users.noreply.github.com>
|
/azp run dotnet.iot |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
@copilot Please fix a cancellation deadlock introduced by this PR and update this same PR. In |
…aling Co-authored-by: krwq <660048+krwq@users.noreply.github.com>
Fixed in adc11cc on this branch. Callback snapshots are dispatched outside the registry lock; wait-handle signaling and disposal are synchronized so captured callbacks are safe after cleanup. Added bounded, repeated cancellation-and-join and dispatch/cleanup regressions. Fresh independent review found no significant issues. GPIO build and targeted tests were attempted but blocked before compilation by Arcade feed DNS failure; CodeQL timed out. BMP3xx and the other excluded changes remain untouched. |
Preserve the existing GPIO PR history and main's BMP3xx baseline. Use controllable time for the simulator's measurement-window assertions while retaining the system clock for driver tests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a6f4935-0e14-465b-9dc0-434376c5f6f5
Follow-up to krwq's request, addressing the blocked V2 cleanup worker and premature asynchronous cleanup.
Validation on Windows with the actual .NET 8/xUnit runner: all 89 BMP3xx tests passed in both Debug and Release; all four Windows-supported GPIO lifetime cases passed in both configurations using the repository's existing platform filter. The reviewed timing repair also passed 50 repeated simulator-suite runs (450 test executions) and a controlled real 100 ms scheduling delay. All eight GPIO lifetime cases also passed on Ubuntu with the actual .NET 8/xUnit runner in both Debug and Release, including all four Unix-only Raspberry Pi cases. No hardware testing is claimed.
All six Debug/Release matrix jobs across Linux, macOS, and Windows passed in cross-platform CI on the combined commit
39d244de0b230d211c67f874bd5db7d91c883c7d.Concurrent-wait reference counting, callback removal by event type, and EdgeEvent disposal remain outside this change.