This is a twin post of Creating a new project for STM32F3-Discovery in IAR from scratch, but for STM32F4-Discovery.
Showing posts with label c. Show all posts
Showing posts with label c. Show all posts
Sunday, March 17, 2013
Saturday, February 2, 2013
Howto create a new project for STM32F3-Discovery in IAR from scratch (step-by-step)
Maybe everyone knows how to do it. I did not. I spent days, trying to understand the logic. It *seems* to me that I grasped it somehow, but I fail to see to what extent. But since it's working for me now, I hurry to write this down so I can always check back to this post and know how to start.
Prerequisites
So, what I have here is STM32F3-Discovery from STMicroelectronics. I also have IAR Embedded Workbench IDE installed. I had to fall back to IAR as CooCox IDE doesn't support STM32F3-Discovery and they don't tell when they are going to have it. This happens not the first time with them - STM32F4-Discovery still poorly supported and I'm not sure if STM32F0-Discovery is supported either. So I decided I'd go with IAR.Tuesday, January 8, 2013
Can't find 0x210 words (0x210 withtotal) for psect "swtext1" in segment "CONST"
Have you ever seen something like this:
Error [1347] ; 0. can't find 0x210 words (0x210 withtotal) for psect "swtext1" in segment "CONST" (largest unused contiguous range 0x100)
Well, I crashed my head over the table the whole morning playing with buffers sizes, defines, deleting functions etc... The linker kept giving me the above error. Then I searched and fount this thread. One cool thing about this thread is that it contains a pretty cool step-by-step on how to trace to the root of the problem:
Subscribe to:
Posts (Atom)