Skip to content

Create Nucleo N657x0-Q Platform#1547

Open
bremoran wants to merge 2 commits intomainfrom
platform-nucleo-n657x0-q
Open

Create Nucleo N657x0-Q Platform#1547
bremoran wants to merge 2 commits intomainfrom
platform-nucleo-n657x0-q

Conversation

@bremoran
Copy link
Contributor

@bremoran bremoran commented Feb 5, 2026

This change introduces a new bare-metal test platform for the Nucleo N657x0-Q board and integrates it into the project’s Nix devshell and test build system.

Summary

  • Adds a dedicated Nix devshell target for nucleo-n657x0-q.
  • Introduces a full bare-metal platform under test/baremetal/platform/nucleo-n657x0-q/, including build rules, execution wrapper, argument packing utility, and platform sources.
  • Updates HAL and test make components to integrate the new platform.

Changes

  • flake.nix: Add .#nucleo-n657x0-q devshell.
  • nix/nucleo-n657x0-q/default.nix: Define board devshell and tooling.
  • nix/util.nix: Utility update for new platform.
  • test/baremetal/platform/nucleo-n657x0-q/README.md: Platform documentation.
  • test/baremetal/platform/nucleo-n657x0-q/platform.mk: Makefile integration for the platform.
  • test/baremetal/platform/nucleo-n657x0-q/exec_wrapper.py: Execution wrapper for running tests on target.
  • test/baremetal/platform/nucleo-n657x0-q/make_argv_bin.py: Helper to pack argv for target.
  • test/baremetal/platform/nucleo-n657x0-q/src/*.c, *.h: Platform sources (cmdline, semihosting syscall, helpers).
  • test/hal/hal.c, test/hal/pmu_armv8.h: Minor HAL updates for compatibility.
  • test/mk/components.mk: Include the new platform components.

Why

  • Enables running and validating ML-KEM tests on the Nucleo N657x0-Q board.
  • Establishes a consistent devshell and build workflow for this platform.

Usage

  • Devshell: nix develop .#nucleo-n657x0-q
  • Build tests: make test EXTRA_MAKEFILE=test/baremetal/platform/nucleo-n657x0-q/platform.mk

Notes

  • No breaking changes expected to other platforms.
  • Documentation included under the platform’s README.md.

@bremoran bremoran requested a review from a team as a code owner February 5, 2026 13:21
Signed-off-by: Brendan Moran <brendan.moran@arm.com>
Signed-off-by: Brendan Moran <brendan.moran@arm.com>
@bremoran bremoran force-pushed the platform-nucleo-n657x0-q branch from c71f1bc to 32c4136 Compare February 5, 2026 13:28
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.

1 participant