How to set processor variant?

Comments

8 comments

  • Avatar
    Gordon Scott

    Found it.

     

    From Project Explorer, right-click the project, select Target processor (blah) and choose the right one.

    Oh .. previously I couldn't see it in Project->Properties, now I can. Probably I just can't see for looking :-(

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    V2.1 should sport a super-dooper target processor selector.  It works nicely here in the labs,

    0
    Comment actions Permalink
  • Avatar
    Gordon Scott

    I'm trying to do similar again, but again I can't find the processor selector.

    Where is it in V2.2 please?

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    The processor selector will only work on projects that are not tied to a particular board, in general.  If you have created a project for an eval board with a known processor, you won't easily be able to change processor.

    In 2.2 you right click the project, like this:

    TargetSelector.png

    0
    Comment actions Permalink
  • Avatar
    Gordon Scott

    Hi Paul,

    Well I see why I can't find it, though I _think_ this project wasn't originally cloned from an eval build, though this project is cloned from one of mine a year or two back.

    Here's my context menu...

    Where do I go from here, please?

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    This project is for a fixed processor so must have been created from a specific board project template.  You will need to go in and edit the project file, probably by hand.  You should see the target processor set up in the hzp file somewhere.

    0
    Comment actions Permalink
  • Avatar
    Gordon Scott

    In this instance, it occurs to me that it might be quickest just to start over with a New Project and copy in the source afresh.

    0
    Comment actions Permalink
  • Avatar
    Gordon Scott

    Hi Paul,

    I tried changing the Target="..." lines in the .hzp and also the MemoryMap lines ditto, then deleted the Target="..." strings, reopening the project each time. No change. I grepped all the files in the project for bot 103 and 101 (originals were STM32F103 or 101) and found none.

    So I'm rebuilding from scratch as above.

    I would be useful to know why I fail with the edit, though.

    Thanks.

    0
    Comment actions Permalink

Please sign in to leave a comment.