Hello everyone,
Sorry for the newbie question, but I have been trying to fix my issue for a little bit and can't find a solution.
Despite having all these neat librairies I usually enjoy writting my own by manipulating the registers. After some digging in the STM32 librairies, I found this one stm32446x.h which includes all the macro that I would need. For now my code is dead simple.
- include "stm32f446xx.h"
RCC.RCC_AHB1ENR |= (1 << 4);
int main() {}
When I try to access these macros I get the following error (I used a different compiler than the online one after it not working) :
stm32f446xx.h:1145:43: error: expected ')' before '*' token
I have tried all the variation of the include possible, but it still give me the error. I even try to include the file with its full path, but nothing does it.
Thank you in advance for any help you can give me.
Hello everyone,
Sorry for the newbie question, but I have been trying to fix my issue for a little bit and can't find a solution.
Despite having all these neat librairies I usually enjoy writting my own by manipulating the registers. After some digging in the STM32 librairies, I found this one stm32446x.h which includes all the macro that I would need. For now my code is dead simple.
When I try to access these macros I get the following error (I used a different compiler than the online one after it not working) :
stm32f446xx.h:1145:43: error: expected ')' before '*' token
I have tried all the variation of the include possible, but it still give me the error. I even try to include the file with its full path, but nothing does it.
Thank you in advance for any help you can give me.