Posted on May 17, 2011 at 13:04thanks!, I've added -mthumb to my linker command line and the problem is solved. LFLAGS = -Wl,--gc-sections,-Map=$@.map,-cref,-u,Reset_Handler -T$(LINKER) -mthumb
Posted on May 17, 2011 at 13:04 thanks all for your reply, I'll work on the blx vs bl instruction fow now (blx is used to call all the function of libc.a instead of bl <address<). Is there a simple way to tell gcc to avoid using the blx instruct...
Posted on May 17, 2011 at 13:04Hi, I've made a simple program that blink a led on my stm32 board. The program is built with both WinARM test-release 20080331 and Sourcery G++ Lite. The problem is that every time I use one C standard library function...
Posted on May 17, 2011 at 12:42Hi, I've a strange problem with some code I've ported to my stm32 board. I need to interface with a SD card through the SPI port. The code works reasonably well if I test it under emulation (I'm using openocd and a JTA...