Skip to content

Conversation

@thenguyenyf
Copy link
Contributor

This PR introduces fixes for potential issues that could cause build errors or warnings, or result in failed kernel test suites, when using the IAR build tool.

Thinh Le Cong added 5 commits December 18, 2025 03:56
Fix IAR compiler error Pe1153 caused by mismatched alias type between
_kernel_openocd_offsets and _kernel_thread_info_offsets.

The alias now uses [] to match the array type. No functional change.

Signed-off-by: Thinh Le Cong <[email protected]>
Avoid calling flag print-liggcc-file-name when using IAR

Signed-off-by: Thinh Le Cong <[email protected]>
Add a minimal implementation of test_asm_inline_other.h to support
non-GNUC toolchains (e.g. IAR) during kernel benchmark tests

Signed-off-by: Thinh Le Cong <[email protected]>
IAR compiler may emit Error[Go004]: Could not inline function
when handling functions marked as always_inline or inline=forced,
especially in complex kernel code

Signed-off-by: Thinh Le Cong <[email protected]>
…rsion

Add missing TOOLCHAIN_WARNING_* definitions for the IAR toolchain:
- subsys/testsuite/include/zephyr/test_toolchain.h
- subsys/testsuite/include/zephyr/test_toolchain/iar.h

Signed-off-by: Thinh Le Cong <[email protected]>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants