I made a simple application for MCBSTR9 (ARM9 based demo board, but nvm really). I have the startup and interrupt handler code included in the project (91x_it.c), it compiles and executes/sets up the processor properly, but when it comes to start up my code in the disassembly windows it's just rubish like:
0x000001D0 00000000 ANDEQ R0,R0,R0 8: GPIO_DeInit(GPIO7); 0x000001D4 00000000 ANDEQ R0,R0,R0 0x000001D8 00000000 ANDEQ R0,R0,R0 9: GPIO_InitStruct.GPIO_Direction = GPIO_PinOutput; 0x000001DC 00000000 ANDEQ R0,R0,R0 0x000001E0 00000000 ANDEQ R0,R0,R0 10: GPIO_InitStruct.GPIO_Pin = GPIO_Pin_All; 0x000001E4 00000000 ANDEQ R0,R0,R0 0x000001E8 00000000 ANDEQ R0,R0,R0 11: GPIO_InitStruct.GPIO_Type = GPIO_Type_PushPull ;
- it doesn't seem to compile my code at all. There are no reported errors during the project build....What am I missing??
Issue solved. THe problem was my include paths for the 91x_lib. Funnily the compiler didn't object to this, just left out a part ove the user code, regardless that I have set the Warnings option to All.