Skip to content
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

Define vApplicationGetTimerTaskMemory only when configUSE_TIMERS is set #1104

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

HazardyKnusperkeks
Copy link
Contributor

Otherwise it is very reasonable that config_TIMER_TASK_STACK_DEPTH is undefined.

Description

Add the vApplicationGetTimerTaskMemorys #if the condition configUSE_TIMERS ==1 .

Test Steps

Define configSUPPORT_STATIC_ALLOCATION, and configKERNEL_PROVIDED_STATIC_MEMORY, but not configTIMER_TASK_STACK_DEPTH, you get a compiler error, that configTIMER_TASK_STACK_DEPTH is undefined.

Checklist:

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

Related Issue

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

@HazardyKnusperkeks
Copy link
Contributor Author

I don't think the link-verifier fail is related to my change.

@aggarg
Copy link
Member

aggarg commented Jul 25, 2024

I don't think the link-verifier fail is related to my change.

You are right. It is not because of your change. We are looking into it.

@kstribrnAmzn
Copy link
Member

@aggarg I'm not an admin on this repo so I cannot override the merge with checks failing. I feel comfortable merging this in without the link verifying passing - I have verified the link verifier tool is failing to verify Segger's wiki site cert. Would you be able to merge this in without the check passing?

@aggarg
Copy link
Member

aggarg commented Jul 26, 2024

@HazardyKnusperkeks Can you update your branch from latest main. That should address the link-verifier check.

Otherwise it is very reasonable that config_TIMER_TASK_STACK_DEPTH is
undefined.
@HazardyKnusperkeks
Copy link
Contributor Author

Done.

Copy link

sonarcloud bot commented Jul 26, 2024

@aggarg aggarg merged commit fffed5e into FreeRTOS:main Jul 26, 2024
16 checks passed
@HazardyKnusperkeks HazardyKnusperkeks deleted the timerMemory branch July 26, 2024 06:49
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.

5 participants