Hi,
I want to alloc dynamic stack memory for zephyr threads, such as k_aligned_alloc(stack_size, ARCH_STACK_PTR_ALIGN) instead of K_THREAD_STACK_DEFINE. I'm sure k_aligned_alloc has returned the memory address. But it doesn't seem to work. Is there any way to dynamically allocate stack memory for threads?