You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hiroakitakada
changed the title
tecsgenが生成するコンフィギュレーションファイル中の通知機能の生成記述が機械的に変換できない
Waiting for the fix of Zig : static API creating notification functions generated by tecsgen cannot be converted mechanically
Aug 22, 2020
tecsgenが生成するコンフィギュレーションファイル(tecsgen.cfg)を,cfg/genTecsCfg.rbによりZigによる記述に変換しているが,周期通知とアラーム通知を生成するための記述の変換に2つの制限がある。
拡張情報に渡すポインタを,Zigの不具合回避のためにimportSymbolを使って取り込む必要があるが,そのための記述を機械的な変換では生成できない。
タイムイベントハンドラへのポインタを,Zigの不具合回避のために
&
を外して取り込む必要があるが,そのための記述を機械的な変換では生成できない。tecsgenのプラグインを変更して回避する方法はある。そのため,tSample2は,そのままでは動作しない。動作させるためには,genに生成されるtecsgen_cfg.zigを,tecsgen_cfg.zig.gzを展開したものに置き換える必要がある。
The text was updated successfully, but these errors were encountered: