why I can only run *(__IO uint32_t *)(0x6C000000) = data; from main.c
I am trying to use FMC and I am using
*(__IO uint32_t *)(0x6C000000) = data
to send the data
but it only works from main.c I had bunch libraries included in other files too.
when I try to create new c file and put there I am getting errors. Can anybody help with this ?
compiling NT35510_800x480.c...
..\Core\Src\NT35510_800x480.c(17): error: #40: expected an identifier
*(
_IO uint8_t *)(0x6C000000) = data;
..\Core\Src\NT35510_800x480.c(17): error: #79: expected a type specifier
*(
_IO uint8_t *)(0x6C000000) = data;
..\Core\Src\NT35510_800x480.c(17): error: #145: function "<error>" may not be initialized
*(
_IO uint8_t *)(0x6C000000) = data;
..\Core\Src\NT35510_800x480.c: 0 warnings, 3 errors
"SN0009 IC1 STM32L4S9ZIT6\SN0009 IC1 STM32L4S9ZIT6.axf" - 3 Error(s), 0 Warning(s).
