I’m working on the ARM7 uIP demo for IAR (uIP_Demo_IAR_ARM7) that’s provided with the source. I know that this may be an easy question but I have lost too much time trying to do it on my own. I want to be able to handle PIO button interrupts.
I have a netduino plus board (with at91sam7x512) which has an onaboard button (PA29) and I want to initialise and handle the interrupt so that when you press the button the onboard LED (PB23) will turn ON.
I want to achieve this using the provided FreeRTOS at91sam7x256 port. I already have it working with the demos which come from the atmel site but they use a very different port which fails to work together with the FreeRTOS. I want to use the FreeRTOS port because the main goal of the application will be far different from turning LEDs on and off.
I have the FreeRTOS practical guide and I know that there is a whole chapter about interrupts but I didn’t find out how can you handle a button press interrupt.