Changes between Version 4 and Version 5 of tips/configuration_class
- Timestamp:
- Dec 8, 2022, 10:13:05 AM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tips/configuration_class
v4 v5 18 18 ---- 19 19 = プレコンパイルタイム = 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)] 21 21 * 対象パラメータのコンフィギュレーションが変わると,BSWモジュールの再コンパイルが必要となる 22 22 * BSWモジュールのコンパイル時にジェネレータで生成したヘッダファイルが必要になる 23 23 * プレコンパイルタイムのコンフィギュレーション情報は,{{{<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)]参照 25 25 * Osの例 26 26 * {{{OsScalabilityClass}}},{{{OsStackMonitoring}}}など … … 31 31 ---- 32 32 = リンクタイム = 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)] 34 34 * ジェネレータが生成したコードを別途コンパイルして生成したオブジェクトファイルをリンクすることで,コンフィギュレーションを変更する 35 35 * 対象パラメータのコンフィギュレーションが変わっても,BSWモジュールの静的コードの再コンパイルは必要ない 36 36 * コンフィギュレーション情報を含むファイルの再コンパイルが必要 37 37 * コンフィギュレーション情報は,{{{<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)]参照 39 39 * Osの例 40 40 * {{{OsTaskActivation}}},{{{OsTaskPriority}}}など … … 47 47 = ポストビルドタイム = 48 48 == ローダブル(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)] 50 50 * ジェネレータが生成したコードを別途コンパイルして生成した.hexファイルをECUに配置し,別途ECUに配置したBSWモジュールからアクセスする 51 51 * 複数の.hexファイルを用意し,配置する.hexを変更することで,動的にコンフィギュレーションを変更できる 52 52 * コンフィギュレーション情報は,{{{<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)]参照 54 54 * Osは該当パラメータが無い 55 55 * Comの例 … … 58 58 * TOPPERS/A-COMでは,リンクタイムと規定されているパラメータであっても,実装容易性のためにポストビルドタイムとしている 59 59 == ローダブル(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)] 61 61 * ジェネレータによって直接.hexファイルを生成する 62 62 == セレクタブル == 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)] 64 64 * ジェネレータによって複数のコンフィギュレーション情報を含むファイルを生成し,BSWモジュールの初期化時に使用するコンフィギュレーションを選択する 65 65 * コンフィギュレーション情報をどういった命名規則で複数のファイルに出力するかは未規定 … … 72 72 * {{{Pre-compile time:X | All Variants}}} 73 73 * 以下のパラメータの場合,{{{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)]