Other Parts Discussed in Thread: C2000WARE,
I'm trying to debug gpio_ex1_setup, and so far I'm finding a lot of problems.
Notable amongst these is that the Gpio base address is set to 0x7c00 instead of 0x6f80 for this chip.
I'm going slightly nuts trying to find where this address is actually specified - it's not in gpio.c or gpio.h or in any of the other files I can find.
However i'm finding a reference to "GpioCtrlRegsFile":-
#ifdef __cplusplus #pragma DATA_SECTION("GpioCtrlRegsFile") #else #pragma DATA_SECTION(GpioCtrlRegs,"GpioCtrlRegsFile"); #endif volatile struct GPIO_CTRL_REGS GpioCtrlRegs;
in globalvariabledefs.c, but can't find any actual file of that name.