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

Using SDK examples

Hello, Is it possible to do a save as or copy an example to another directory/folder without having to re-link all the .c files? I am using SES 4.30c. Every time I take an example I have to add all the files again, it's quite time consuming. Bellow is an example.

Regards,

Parents
  • Hi,

    The example SES projects in the SDK use relative paths to the SDK files, so you can move the example within the SDK folder as long as the depth is the same. For instance, you can copy <SDK>\examples\peripheral\uart\ to \examples\custom\uart\ or similar, and it will still work. However, if you want to move projects outside the SDK folder or change the depth, you need to add all files again. An alternative if you want to be able to put the project anywhere you want, is to use a SES macro to hold the SDK root folder, and make all paths relative to that, as explained here.

Reply
  • Hi,

    The example SES projects in the SDK use relative paths to the SDK files, so you can move the example within the SDK folder as long as the depth is the same. For instance, you can copy <SDK>\examples\peripheral\uart\ to \examples\custom\uart\ or similar, and it will still work. However, if you want to move projects outside the SDK folder or change the depth, you need to add all files again. An alternative if you want to be able to put the project anywhere you want, is to use a SES macro to hold the SDK root folder, and make all paths relative to that, as explained here.

Children
No Data
Related