I'm running the following code , which I copied from CSL . this code defined gpio pin 4 as input pin falling edge interrupt:
CSL_Status status;
CSL_GpioPinConfig config;
/* Disable CPU interrupt */
IRQ_globalDisable();
/* Clear any pending interrupts */
IRQ_clearAll();
/* Disable all the interrupts */
IRQ_disableAll();
/* Initialize Interrupt Vector table */
IRQ_setVecs((Uint32)(&VECSTART));
/* Open GPIO module */
hGpio = GPIO_open(&GpioObj,&status);
if((NULL == hGpio) || (CSL_SOK != status))
{
return GPIO_OPEN_FAILED;
}
/* Reset the GPIO module */
GPIO_reset(hGpio);
/** test GPIO_config API to make PIN4 as i/p */
config.pinNum = CSL_GPIO_PIN4;
config.direction = CSL_GPIO_DIR_INPUT;
config.trigger = CSL_GPIO_TRIG_FALLING_EDGE;
status = GPIO_configBit(hGpio,&config);
if(CSL_SOK != status)
{
return GPIO_CONF_FAILED;
}
/* Enable GPIO interrupts */
status = GPIO_enableInt(hGpio,CSL_GPIO_PIN4);
if(CSL_SOK != status)
{
return GPIO_EN_INT_FAILED;
}
/* Clear any pending Interrupt */
IRQ_clear(GPIO_EVENT);
IRQ_plug(GPIO_EVENT,&gpio_ISR);
/* Enabling Interrupt */
IRQ_enable(GPIO_EVENT);
IRQ_globalEnable();
during compilation I'm getting the following warning:
">> warning: creating output section vectors without SECTIONS specification"
what does it mean?