Hi, I’m using Crossworks FreeRTOS demo for AT91SAM7X. When I try to use interrupts for example from SPI my program freezes at undef_handler in AT91SAM7_Startup. I suppose i have to add something to startup but I can’t figure out what exactly.
You need to configure the interrupt controller to tell it where the interrupt handler is. Look at the examples in the FreeRTOSDemo directory to see how.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.