I'm writing code to access the PRU's internal memories, as part of a library. There is a certain structure that I am implementing that is preventing my code from being loaded into the PRU. It compiles normally, but when loading the program, the error described in the image below appears.
The strange thing is that I did the same syntax for the UART register and everything worked fine, but here, however, it just doesn't load. The compiler does not detect any syntax errors.
Struct code, located in some libraries:
#define REG_CFG_BASE_ADRESS ( (uint32_t) 0x30066000 ) typedef struct { uint8_t test: 1; }__attribute__ ((packed)) gpio_t; volatile uint32_t *GPIO_ = ((volatile uint32_t *)( REG_CFG_BASE_ADRESS ));