I’ve set up an arm-elf- development environment for a LPC2106.
Everything seems ok except that, using arm-elf-gcc and arm-elf-gdb, I can’t step into a function–the addresses of the parameters in the function call get corrupted.
Can someone show their Makefile for the LPC2106? I’m using:
CFLAGS = -mcpu=arm7tdmi -g -nostartfiles -stack-check
Can anyone tell me what I’m doing wrong?
Thanks