Skip to content

STM32N6: Add missing Kconfig #88786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gautierg-st
Copy link
Collaborator

@gautierg-st gautierg-st commented Apr 18, 2025

This PR adds some ARM Kconfig extension for STM32N6 and update the CMakeLists to remove the signed binary before generating a new one (preventing west build auto to be stuck because the old binary can't be overwritten)

mathieuchopstm
mathieuchopstm previously approved these changes Apr 18, 2025
@@ -24,6 +24,7 @@ if(SIGNING_TOOL_FIND STREQUAL SIGNING_TOOL_FIND-NOTFOUND)
Refer to board documentation for more information")
else()
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
COMMAND ${CMAKE_COMMAND} -E rm -f ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.signed.bin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no to this, it does not work on windows and just looks bad, the original command should always update the file anyway so this is not even needed

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is that the signing tool cannot delete or overwrite the previously generated file. So without this command, when recompiling, we get stuck at the signing command. The only solution is to abort, delete the signed file, and relaunch the compilation.
I agree that the signing tool should do that itself, but for now, as a workaround, it is our only choice.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed the offending commit. @nordicjm Can you take another look?

STM32N6 supports M-Profile Vector Extension (MVE) integer and
floating-point instruction set.

Signed-off-by: Guillaume Gautier <[email protected]>
@gautierg-st gautierg-st changed the title STM32N6: Add missing Kconfig and remove binary before generating a new one STM32N6: Add missing Kconfig Apr 30, 2025
@erwango erwango requested a review from nordicjm April 30, 2025 06:58
@erwango erwango requested a review from mathieuchopstm April 30, 2025 06:58
@erwango erwango dismissed nordicjm’s stale review April 30, 2025 08:55

Dismissing as offending commit is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants