Author Topic: Updating uTasker  (Read 3627 times)

Offline Phil

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Updating uTasker
« on: June 27, 2017, 06:05:33 PM »
Mark,

Is there any information in regards to updating uTaskerV1.4.10 to the latest?  (V1.4.12 in this case)

For example, save the config.h and app_hw_xxxx.h files, copy entire directory structure over current version, then overwrite config.h and app_hw_xxxx.h files that were previously saved.

Thank you.

Phil

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3234
    • View Profile
    • uTasker
Re: Updating uTasker
« Reply #1 on: June 27, 2017, 11:30:43 PM »
Phil

Generally I would try to keep an application directory for each project; that is, directories under /applications
Then you can copy this directory into the /applications directory of any version.
Mostly it will be able to run but in case of any errors check with the uTaskerV1.4 application reference to see whether there is something that needs to be modified. Eg. between V1.4.10 and V1.4.12 the TICK resolution has been modified to support us resolution and so

#define _TICK_RESOLUTION     TICK_UNIT_MS(50)
will be needed instead of TICK_RESOLUTION 50.

The change has been made so that you will get a clear build error and it can be adapted accordingly.

Sometimes an interface may change (eg. with an additional parameter). Watch out for new warnings and again update as required - it should usually be quite obvious so it shouldn't be too complicated to upgrade.

If you have been using the uTaskerV1.4 director for work you can rename the uTaskerV1.4 directory in the new release and keep it as reference and copy your uTaskerV1.4 in its place.

Regards

Mark

Offline Phil

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: Updating uTasker
« Reply #2 on: June 30, 2017, 02:29:24 PM »
Great suggestion, Mark.

Most appreciated!