-
Notifications
You must be signed in to change notification settings - Fork 3k
Add missing END to Armv8M IAR assembly files #9295
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
Conversation
@deepikabhavnani, thank you for your changes. |
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.
Looks good
The new ENDs are themselves missing newlines, if GitHub's diff view is to be believed. |
tools/importer/cmsis_importer.json
Outdated
@@ -149,7 +149,8 @@ | |||
"b88254809eb626689c8aeb41304a308bf4e34a04", | |||
"287121ffdc4c9c19f9ce8872e4edd941862daca1", | |||
"1752803626865147dca92f30a39cef8d04581736", | |||
"6a6e3ac0ebab1a6b6aa08d0928702c79562acee9" | |||
"6a6e3ac0ebab1a6b6aa08d0928702c79562acee9", | |||
"fea73b6c93b0471628b4699edaedc8a57e5ec70b" |
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.
@deepikabhavnani - Can you please clarify what this change is for?
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.
This change is to keep track of all changes we do on top of Cmsis files. Assembly file changed here is pulled from CMSIS repo, and is updated to add missing END. This change will be needed whenever we do CMSIS update
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.
Change is not needed for CMSIS repo, since they do not use _common.S for secure / non-secure targets. CMSIS has 3 files, 1 each for secure and non-secure and 1 common file which is included from other two.END is present in files which include common file
Do the assembly files need newlines? |
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.
LGTM, pending question about newlines.
I am not sure of that, absence of newline won't cause any failures https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/RTOS2/RTX/Source/IAR/irq_armv8mbl_ns.s#L4 |
Not failure, but a warning should be. We default to leave one line in our coding style. ARMCC5 warns about it by default I recall: "No newline at end of file" |
Previously they were there (empty line at the end), and other files as well in their sources, I checked few. To avoid warnings, we shall add it here. This shall be fixed in RTX |
Pedant alert - it's not an empty line, it's just terminating the "END" line properly. |
Add missing END to the IAR assembly files. In future this commit should be merged to other assembly file commit, when performing CMSIS update. ARMmbed@287121f
4f3be3a
to
01ecf2a
Compare
01ecf2a
to
09db656
Compare
Added a new line, but I warnings were for C/Cpp files if I am correct and not for assembly files. Also this change is only for IAR. |
I tried build with no new line at the end and got no warnings. |
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Add missing END to Armv8M IAR assembly files.
Pull request type
Reviewers