How to compile for some different Stm32 chip derivates?

Comments

5 comments

  • Avatar
    Michael Johnson

    Should be okay - are you having problems?

    0
    Comment actions Permalink
  • Avatar
    Joe Merten

    Currently, I use only Stm32 chips (I want also compile for linux target, but that's different topic).

    I'm using Cmsis & Stlib. I'd copied the Stlib for Stm32F10x, F2xx and F4xx into some place on my computer and set the appropriate macros in my project(s) - see attached CtlTest.hzp.

    I need to compile the F10x Stlib sources (e.g. stm32f10x_adc.c) only for all of my F10x Derivates and stm32f2xx_adc.c only for the F2xx ones etc. Could you check if my attached CtlTest.hzp is setup right?

    I want to be shure to use crossworks in the right way before carrying that approach into my whole development team and build big projects on top of this.

    Currently, my Stm32F205RG build config isn't working - I got verify errors while flashing (using Stlink V2). But when I create a new project (using che crossworks wizard (Ctl executable for Stm32) it works without errors. Don't know what's wrong there.

    0
    Comment actions Permalink
  • Avatar
    Joe Merten

    I'd now attached the sources so you might reproduce the problem.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Try removing the "Applicable Loaders" project property.

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    Hi Joe,

    I've come up with the attached. I'll think a bit more about this.

     

    Regards

    Michael

    0
    Comment actions Permalink

Please sign in to leave a comment.