Hi,
The description for k_msgq_init() states that
To Quote:
"......
(a) what is @a q_msg_size being referred to here(highlighted above)?
(b) And assuming it is the size of the buffer, then because the buffer is a char *, why should it be aligned to be a multiple of N?, Because for big sized buffers, this can result in a lot of wastage of memory for the sake of alignment.
Also, Are there any restrictions for unaligned accesses on cortex-m33? If not, could you confirm whether this alignment can be skipped on nRF5340.
Thanks,