hudson2009 wrote on Wednesday, July 04, 2007:
Hi,
I am Using AT91sam7x-ek and rowley compiler.
Try with the IwIP_Demo_Rowley_ARM7 and it is working.
Trying to get UART work by porting the serial example from IAR(ARM7_AT91SAM7S64_IAR).
q1. where and whats is the file name of following function
AT91C_AIC_ConfigureIt()
AT91C_PMC_EnablePeriphClock()
AT91C_PIO_CfgPeriph
q2.I can manage to get the Serial ISR working, probably flowwing file have not been converted properly. can anyone help to make it for Rowley GCC At91sam7x?
/* Enable the interrupts in the AIC. */
AT91F_AIC_ConfigureIt( AT91C_BASE_AIC, AT91C_ID_US0, serINTERRUPT_LEVEL, AT91C_AIC_SRCTYPE_INT_LEVEL_SENSITIVE, ( void (*)( void ) ) vSerialISREntry );
AT91F_AIC_EnableIt( AT91C_BASE_AIC, AT91C_BASE_AIC );
or
VICIntSelect &= ~( serUART0_VIC_CHANNEL_BIT );
VICIntEnable |= serUART0_VIC_CHANNEL_BIT;
VICVectAddr1 = ( portLONG ) vUART_ISR;
VICVectCntl1 = serUART0_VIC_CHANNEL | serUART0_VIC_ENABLE;
many thanks