In file "cerberOS_BSP.h" I have the following:
extern char cmp_ids[][];
extern UInt8 periph_list[];
In file "BSP_unpnp.c", I have:
UInt8 periph_list[AMOUNT_OF_PERIPH] = {0};
char cmp_ids[MAX_CMPS][4] = {0};
This gives no errors for periph_list but gives the following for cmp_ids:
../../uJ/cerberOS_BSP.h:55:13: error: array type has incomplete element type
extern char cmp_ids[][];
Unsure on how to solve this since I don't fully understand the issue, any ideas?