This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SDK10 feature "Section variables" with Microsoft compiler

Hi

We are using the SDK files in our hardware projects and in our simulation environments to verify the functionality of our platform. While doing tests with the new SDK 10 and specially the feature peer manager i struggled over the feature "Section variables" required for FDS and FStorage (both layers below the peer manager). The "Section variables" have support for Keil, IAR and GCC, but no other compilers.

I tried to add support for our Microsoft compiler (VS2015) but i failed. Section support is available, but i couldn't manage to make it work.

Will there be support for other compilers? Any idea how this can be done?

Regards Adrian

Parents
  • There are no plans for supporting other compilers that I am aware of.

    Are you using part of the SDK for testing your cod on a computer, mocking code that is tied to hardware etc? In such case I guess you would probably have more luck using GCC.

    It should be possible to add support for other compilers in components/libraries/experimental_section_vars/section_vars.h. Maybe some other contributes on this forum has experience with sections in Visual Studio?

Reply
  • There are no plans for supporting other compilers that I am aware of.

    Are you using part of the SDK for testing your cod on a computer, mocking code that is tied to hardware etc? In such case I guess you would probably have more luck using GCC.

    It should be possible to add support for other compilers in components/libraries/experimental_section_vars/section_vars.h. Maybe some other contributes on this forum has experience with sections in Visual Studio?

Children
Related