Issue
When using the __shared() macro with a single byte variable, the error error #2638: The alignment of an array element is greater than the element size occurs. This happens because the FRAM_data_t struct alignment is 2 bytes, while its contents are only 1 byte.
How to reproduce
Create a thread with the following shared variables:
__shared(
uint8_t some_byte;
)