µTasker Forum

µTasker Forum => µTasker general => Topic started by: hervé on March 21, 2011, 10:57:03 AM

Title: _BOOT_LOADER_ASSEMBLER
Post by: hervé on March 21, 2011, 10:57:03 AM
Hi Mark,

What is the use of _BOOT_LOADER_ASSEMBLER in .\Applications\uTaskerBoot\config.h


Regards

Title: Re: _BOOT_LOADER_ASSEMBLER
Post by: mark on March 21, 2011, 02:26:52 PM
Hervé

The boot loader project has a single config.h file used by all processor types (Freescale, NXP, Luminary, etc.).

The define _BOOT_LOADER_ASSEMBLER is only relevant for the Freescale Coldfire project where the CodeWarrior assembler can include the config.h file and find out whether the processor type used has an old silicon bug or not (FLASH Speculation error which meant that Flash acceleration needed to be disabled in the startup code if the errata is not fixed). It thus avoids having to exchange start-up code since it can be controlled by a define in the config.h file.

In all other projects the define is not set and so has no meaning.

Regards

Mark