Skip to content

Conversation

@aggarg
Copy link
Member

@aggarg aggarg commented Jul 14, 2025

Description

DefineconfigENABLE_PAC and configENABLE_BTI before including portable.h to prevent "used before definition" warnings when these macros are not set in FreeRTOSConfig.h.

Test Steps

M33 Demo project builds successfully.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • [NA] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#1293

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Define configENABLE_PAC and configENABLE_BTI before including portable.h
to prevent "used before definition" warnings when these macros are not
set in FreeRTOSConfig.h.

Fixes: FreeRTOS#1293

Signed-off-by: Gaurav Aggarwal <[email protected]>
@aggarg aggarg requested a review from a team as a code owner July 14, 2025 06:46
@sonarqubecloud
Copy link

@aggarg aggarg merged commit 684b34c into FreeRTOS:main Jul 14, 2025
20 of 21 checks passed
@aggarg aggarg deleted the issue_1293 branch July 14, 2025 10:50
moninom1 pushed a commit to moninom1/FreeRTOS-Kernel that referenced this pull request Sep 30, 2025
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.

4 participants