Changes between Version 4 and Version 5 of tips/configuration_class


Ignore:
Timestamp:
Dec 8, 2022, 10:13:05 AM (17 months ago)
Author:
fujisft-kaji
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tips/configuration_class

    v4 v5  
    1818----
    1919= プレコンパイルタイム =
    20 * 概要図:[https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=21&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.2)]
     20* 概要図:[https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=21&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.2)]
    2121* 対象パラメータのコンフィギュレーションが変わると,BSWモジュールの再コンパイルが必要となる
    2222* BSWモジュールのコンパイル時にジェネレータで生成したヘッダファイルが必要になる
    2323* プレコンパイルタイムのコンフィギュレーション情報は,{{{<Module name>_Cfg.h}}}(必要なら{{{<Module name>_Cfg.c}}})に出力される
    24   * [https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_SRS_BSWGeneral.pdf#page=64&view=fitv AUTOSAR_SRS_BSWGeneral.pdf(BSW00346)]参照
     24  * [https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_SRS_BSWGeneral.pdf#page=64&view=fitv AUTOSAR_SRS_BSWGeneral.pdf(BSW00346)]参照
    2525  * Osの例
    2626    * {{{OsScalabilityClass}}},{{{OsStackMonitoring}}}など
     
    3131----
    3232= リンクタイム =
    33 * 概要図:[https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=23&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.3)]
     33* 概要図:[https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=23&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.3)]
    3434* ジェネレータが生成したコードを別途コンパイルして生成したオブジェクトファイルをリンクすることで,コンフィギュレーションを変更する
    3535* 対象パラメータのコンフィギュレーションが変わっても,BSWモジュールの静的コードの再コンパイルは必要ない
    3636  * コンフィギュレーション情報を含むファイルの再コンパイルが必要
    3737* コンフィギュレーション情報は,{{{<Module name>_Lcfg.h}}},{{{<Module name>_Lcfg.c}}}に出力される
    38   * [https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_SRS_BSWGeneral.pdf#page=64&view=fitv AUTOSAR_SRS_BSWGeneral.pdf(BSW00346)]参照
     38  * [https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_SRS_BSWGeneral.pdf#page=64&view=fitv AUTOSAR_SRS_BSWGeneral.pdf(BSW00346)]参照
    3939* Osの例
    4040  * {{{OsTaskActivation}}},{{{OsTaskPriority}}}など
     
    4747= ポストビルドタイム =
    4848== ローダブル(1) ==
    49 * 概要図:[https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=25&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.4)]
     49* 概要図:[https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=25&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.4)]
    5050* ジェネレータが生成したコードを別途コンパイルして生成した.hexファイルをECUに配置し,別途ECUに配置したBSWモジュールからアクセスする
    5151* 複数の.hexファイルを用意し,配置する.hexを変更することで,動的にコンフィギュレーションを変更できる
    5252* コンフィギュレーション情報は,{{{<Module name>_PBcfg.h}}},{{{<Module name>_PBcfg.c}}}に出力される
    53   * [https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_SRS_BSWGeneral.pdf#page=64&view=fitv AUTOSAR_SRS_BSWGeneral.pdf(BSW00346)]参照
     53  * [https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_SRS_BSWGeneral.pdf#page=64&view=fitv AUTOSAR_SRS_BSWGeneral.pdf(BSW00346)]参照
    5454* Osは該当パラメータが無い
    5555* Comの例
     
    5858    * TOPPERS/A-COMでは,リンクタイムと規定されているパラメータであっても,実装容易性のためにポストビルドタイムとしている
    5959== ローダブル(2) ==
    60 * 概要図:[https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=26&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.5)]
     60* 概要図:[https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=26&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.5)]
    6161* ジェネレータによって直接.hexファイルを生成する
    6262== セレクタブル ==
    63 * 概要図:[https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=27&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.6)]
     63* 概要図:[https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_TPS_ECUConfiguration.pdf#page=27&view=fitv AUTOSAR_TPS_ECUConfiguration.pdf(Figure 2.6)]
    6464* ジェネレータによって複数のコンフィギュレーション情報を含むファイルを生成し,BSWモジュールの初期化時に使用するコンフィギュレーションを選択する
    6565* コンフィギュレーション情報をどういった命名規則で複数のファイルに出力するかは未規定
     
    7272  * {{{Pre-compile time:X | All Variants}}}
    7373* 以下のパラメータの場合,{{{VARIANT-PRE-COMPILE}}}ならプレコンパイルタイムでいいが,{{{VARIANT-LINK-TIME}}}か{{{VARIANT-POST-BUILD}}}を指定されたらリンクタイムとする,という意味となる
    74   * [https://www.autosar.org/fileadmin/user_upload/standards/classic/4-0/AUTOSAR_SWS_COM.pdf#page=128&view=fitv AUTOSAR_SWS_COM.pdf(COM175_Conf)]
     74  * [https://www.autosar.org/fileadmin/standards/classic/4-0/AUTOSAR_SWS_COM.pdf#page=128&view=fitv AUTOSAR_SWS_COM.pdf(COM175_Conf)]