-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
base: main
Are you sure you want to change the base?
STM32N6: Add missing Kconfig #88786
Conversation
bcc052d
to
83bcc91
Compare
soc/st/stm32/stm32n6x/CMakeLists.txt
Outdated
@@ -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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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]>
83bcc91
to
9616576
Compare
Dismissing as offending commit is gone.
This PR adds some ARM Kconfig extension for STM32N6
and update the CMakeLists to remove the signed binary before generating a new one (preventingwest build auto
to be stuck because the old binary can't be overwritten)