[BUG] IAR ARMCM33 Non-Secure portasm.s stray URL outside comment delimiters causes "Invalid syntax" assembler error in portasm.s
Los mantenedores suelen responder en 3 días
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
Línea de trabajo
The bug is at line 466 of portable/IAR/ARM_CM33/non_secure/portasm.s, where a URL sits outside the /* */ comment on the ldmia r2!, {r0, r3, lr} line. Check pull request #1485 first, since it is already open against this issue and may contain the fix. If the fix is still needed, move the /* in front of the URL so the whole line is commented, then confirm the file assembles under IAR.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
Building the FreeRTOS-Kernel with the IAR toolchain targeting the ARM CM33 TrustZone Non-Secure port fails immediately with an assembler "Invalid syntax" error at **portable/IAR/ARM_CM33/non_secure/portasm.s**.
The root cause is a stray URL (http://files.iar.com/ftp/pub/box/bxarm-9.60.3.deb) that was accidentally placed outside the /* */ comment delimiters on that line. The IAR assembler sees the bare URL text as an invalid assembly token and aborts.
Corrupted line as it exists in the file:
ldmia r2!, {r0, r3, lr} http://files.iar.com/ftp/pub/box/bxarm-9.60.3.deb/* Read from stack - r0 = xSecureContext, r3 = PSPLIM and LR restored. */
The /* needs to be moved before the URL so the entire text is inside the comment:
ldmia r2!, {r0, r3, lr} /* http://files.iar.com/ftp/pub/box/bxarm-9.60.3.deb Read from stack - r0 = xSecureContext, r3 = PSPLIM and LR restored. */
Target
- Development board: PNEV7642FAMA(NXP)
- Instruction Set Architecture: ARM CM33 TZ
- IDE and version: IAR ARM 9.70.2
- Toolchain and version: ewarm-9.70.2
Host
- Host OS: Windows
- Version: Windows 11
To Reproduce
- Clone FreeRTOS-Kernel
mainbranch. - Open or create an IAR EWARM project targeting an ARM CM33 TrustZone device (e.g. NXP PNEV7642FAMA).
- Add
portable/IAR/ARM_CM33/non_secure/portasm.sto the project. - Build the project.
- The assembler fails on line 466 with:
Error[0]: Invalid syntax portasm.s 466
Expected behavior
The file should assemble without errors. The URL on line 466 must be enclosed inside the /* */ comment delimiters so the assembler does not encounter bare non-instruction text.
Screenshots
Additional context
commit track history: History for portable/IAR/ARM_CM33/non_secure/portasm.s - FreeRTOS/FreeRTOS-Kernel · GitHub
- Lenguaje dominante
- C
- Estrellas
- 4.6k
- Forks
- 1.6k
- Merge medio
- 2 d 22 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FreeRTOS/FreeRTOS-Kernel
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
FreeRTOS/FreeRTOS-Kernel#1542 ·
Los mantenedores suelen responder en 3 días
-
[BUG] Release asset FreeRTOS-KernelV11.3.2.zip has the files of main, not of the tag V11.3.2Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
FreeRTOS/FreeRTOS-Kernel#1520 ·
Los mantenedores suelen responder en 3 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
FreeRTOS/FreeRTOS-Kernel#1494 · 3 comentarios ·
Los mantenedores suelen responder en 3 días
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
FreeRTOS/FreeRTOS-Kernel#1554 ·
Los mantenedores suelen responder en 3 días
-
[BUG] event_wait_timed can't return falsePosiblemente ocupada @TedLyngmo la tomó hace 39 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 38/100
FreeRTOS/FreeRTOS-Kernel#1546 ·
Los mantenedores suelen responder en 3 días
Todos los issues de FreeRTOS/FreeRTOS-Kernel
Issues similares
-
RecompLauncher supportAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
shinyquagsire23/OpenJKDF2#540 ·
Los mantenedores suelen responder en 12 días
-
Prison work hall: laundry and kitchen stations stand at bare walls, the hatch has no counter or signAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Life-Framework/Life-Framework#5939 ·
Los mantenedores suelen responder en 1 día
-
autoconf failes to find libsodium even when present due to implicit function declarationPosiblemente ocupada @coderjoe la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 13 días
-
SessionInterfaceHandler is throwing a deprecation notice as a warning instead of a deprecationAbiertoBug Status: Needs Triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
enhancement_package: a site operand of another JSON type raises TypeError, not a named refusalAbiertobug python
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
Jstar269/nakagawa-recomp#3521 ·
Los mantenedores suelen responder en 1 día