Author Topic: _BOOT_LOADER_ASSEMBLER  (Read 8733 times)

Offline hervé

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

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


Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3238
    • View Profile
    • uTasker
« Reply #1 on: March 21, 2011, 02:26:52 PM »

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.