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

kernel: remove deprecated STACK EXTERN macros #63779

Conversation

dcpleung
Copy link
Member

@dcpleung dcpleung commented Oct 10, 2023

These macros have been deprecated since v3.2.0. So remove them.

  • K_KERNEL_STACK_EXTERN
    • Use K_KERNEL_STACK_DECLARE instead.
  • K_KERNEL_STACK_ARRAY_EXTERN
    • Use K_KERNEL_STACK_ARRAY_DECLARE instead.
  • K_KERNEL_PINNED_STACK_ARRAY_EXTERN
    • Use K_KERNEL_PINNED_STACK_ARRAY_DECLARE instead.
  • K_THREAD_STACK_EXTERN
    • Use K_THREAD_STACK_DECLARE instead.
  • K_THREAD_STACK_ARRAY_EXTERN
    • Use K_THREAD_STACK_ARRAY_DECLARE instead.

These macros have been deprecated since v3.2.0. So remove them.

() K_KERNEL_STACK_EXTERN
   Use K_KERNEL_STACK_DECLARE instead.

() K_KERNEL_STACK_ARRAY_EXTERN
   Use K_KERNEL_STACK_ARRAY_DECLARE instead.

() K_KERNEL_PINNED_STACK_ARRAY_EXTERN
   Use K_KERNEL_PINNED_STACK_ARRAY_DECLARE instead.

() K_THREAD_STACK_EXTERN
   Use K_THREAD_STACK_DECLARE instead.

() K_THREAD_STACK_ARRAY_EXTERN
   Use K_THREAD_STACK_ARRAY_DECLARE instead.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
@nashif nashif added this to the v3.5.0 milestone Oct 10, 2023
@jhedberg jhedberg merged commit 2d25fae into zephyrproject-rtos:main Oct 11, 2023
22 checks passed
@dcpleung dcpleung deleted the kernel/remove_deprecated_stack_extern_macros branch October 11, 2023 16:56
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.

5 participants