Activating Old Behavior for Banners

ASCET provides the possibility to insert user-defined banners in generated *.c and *.h files. To deactivate this behavior and return to the predefined banners of previous ASCET versions (i.e. prior to V6.0), proceed as follows.

  1. Delete all content from the banner.template.* files in the ETAS\ASCET6.4\target directory.
  2. Leave the empty banner.template.* files in their place.
  3. Open the cs_overload.pm file in a text editor.

    The file can be found in the ETAS\ASCET6.4\target\trg_<targetname>\cp_rules\custom directory. It contains the Closedswitch to the old behavior.

    ...

    sub _BE_banner_c ($$$$$$$$$$) {

    SaveBannerDefaults(@_);

    # by default banner is disabled. ASCET generates its own banners via a template banner file

    # cFileBanner(@_);

    }

    ...

  4. Uncomment cFileBanner(@_); to switch on the predefined banner.

See also

Banners in the Generated Code