uVision puzzles me a fair bit.
In my project I have declared instances of TIM_TimeBaseInitTypeDef, RCC_ClocksTypeDef, I2S_InitTypeDef without any problems.
Now I'm trying to declare an instance of DMA_InitTypeDef and get this error:
main.c(460): error: #20: identifier "uint32_t" is undefined
I am able to define the following:
#define ADC1_DR_Address ((uint32_t)0x4001244C)
which doesn't give me an error.
this is wierd so any advice?
The newbie Thomas
sorry it was the
DMA_InitStructure.DMA_PeripheralBaseAddr = ADC1_DR_Address;
where ADC1_DR_Address is defined as
that caused the trouble.
I'll try to continue changing it to:
#define ADC1_DR_Address ((uint32)0x4001244C)
Can someone please elaborate on the differenc?
Thanks Thomas