We use the app scheduler in our app and I recently needed to increase the EVENT_SIZE passed into APP_SCHED_INIT. I changed it to a value that is not an event 4-byte multiple. This seemed to cause undefined behavior, including hard faults.
Is it required that this value is a 4-byte multiple or is this behavior unexpected? I couldn't find any documentation indicating that this is a requirement.