Embedded project soution with multiple targets

Sysprogs forums Forums VisualGDB Embedded project soution with multiple targets

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10007
    ap
    Participant

    I have a use case for having a solution with multiple targets/projects.

    In the simplest sense, I should be able to build cpputest as a library using arm toolchain without including any device specific files and then link it with different projects.

    Or I want to implement my wrapper around HAL and build it as a library using arm toolchain and then include the library when building other projects.

    Does VisualGDB support this type of project organization ?

    #10026
    support
    Keymaster

    Hi,

    You can do that manually by simply creating a ‘static library’ project, moving the necessary files there and referencing that project from other projects. However you may run into problems as different device types have slightly different sets of peripherals and hence the HAL library needs to be recompiled for each one separately.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.