target/ast10x0/peripherals: align PhantomData to *const () across all structs Replace PhantomData<UnsafeCell<()>> (_not_sync) with PhantomData<*const ()> (_not_send_sync) in all peripheral register wrapper structs, and add the field where it was missing entirely. - scu/registers.rs: rename _not_sync -> _not_send_sync, update type - smc/registers.rs: rename _not_sync -> _not_send_sync, update type, remove now-unused UnsafeCell import - i2c/controller.rs: rename _not_sync -> _not_send_sync, update type, remove now-unused UnsafeCell import - sgpiom/register_block.rs: add missing _not_send_sync field and import - uart/mod.rs: add missing _not_send_sync field and import PhantomData<*const ()> is the conventional way to opt out of both Send and Sync regardless of other field types, and makes the intent explicit at the struct definition.
The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md
NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.
You can run tasks using the Pigweed workflow launcher pw or bazel.
./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy../pw format - Run the code formatters.bazel test //... - Run all tests.bazel build //docs - Build documentation.The project is structured as a bazel module.
No additional tools are required - all dependencies are managed by bazel.