This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create one project for different devices

Dear Madam or Sir,

we are using different controllers (e.g STM32F101x and STM32F2xx). The Keil IDE supports the programmer by using "multiple targets". For different targets I can choose different controllers, but how can I add files to a specific target without mapping it to the other target. Especially the controller-specific files should be added only to one target (e.g Startup and Header files).

Does anybody has a solution for that problem?

Parents
  • I doubt it. It strikes me that this would be hard to pull off, the libraries and hardware have some annoying differences that you'd spend all your time doing abstraction work, and regression testing. I'd find it less error prone to maintain two trees/projects and merge.

    The USB library examples look to support multiple boards/chips.

    BTW Has anyone come across any third-party project management tools for Keil, that can split, combine or merge project files? Or import/export/translate project descriptions from other chains?

Reply
  • I doubt it. It strikes me that this would be hard to pull off, the libraries and hardware have some annoying differences that you'd spend all your time doing abstraction work, and regression testing. I'd find it less error prone to maintain two trees/projects and merge.

    The USB library examples look to support multiple boards/chips.

    BTW Has anyone come across any third-party project management tools for Keil, that can split, combine or merge project files? Or import/export/translate project descriptions from other chains?

Children
No data