Author Topic: _BOOT_LOADER_ASSEMBLER  (Read 6222 times)

Offline hervé

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
_BOOT_LOADER_ASSEMBLER
« on: March 21, 2011, 10:57:03 AM »
Hi Mark,

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


Regards


Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: _BOOT_LOADER_ASSEMBLER
« Reply #1 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