Skip to content

portable: Fix malformed comment in IAR ARM_CM33 port - #1485

Open
berringtoni36-commits wants to merge 1 commit into
FreeRTOS:mainfrom
berringtoni36-commits:fix-iar-armcm33-comment
Open

portable: Fix malformed comment in IAR ARM_CM33 port#1485
berringtoni36-commits wants to merge 1 commit into
FreeRTOS:mainfrom
berringtoni36-commits:fix-iar-armcm33-comment

Conversation

@berringtoni36-commits

Copy link
Copy Markdown

Description

The IAR ARM_CM33 non-secure port contains a URL outside the assembly comment delimiters in portasm.s. IAR reports an "Invalid syntax" error because it parses the bare URL as assembly code.

Move the opening /* before the URL so the whole explanatory text is a valid comment.

Fixes #1480

Testing

  • git diff --check
  • Verified the changed line is now enclosed by /* ... */; target IAR toolchain is not available on macOS.

Signed-off-by: 赵文强 <zhaowenqiang@zhaowenqiangdeMacBook-Air.local>
@sonarqubecloud

Copy link
Copy Markdown

@jefftenney

jefftenney commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Hi @berringtoni36-commits. Good catch here. It looks like that URL doesn't belong there at all -- it looks like an accidental paste. May I suggest:

  1. Remove that URL.
  2. The ARMv8-M port files have specific structure. Make your changes to portable\ARMv8M\non_secure\portable\IAR\ARM_CM33\portasm.s and then run portable\ARMv8M\copy_files.py.

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.

[BUG] IAR ARMCM33 Non-Secure portasm.s stray URL outside comment delimiters causes "Invalid syntax" assembler error in portasm.s

2 participants