Using workspace for variables in MBDT

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Using workspace for variables in MBDT

574 次查看
BIGE619
Contributor I

Why does the MBDT not get along with workspace variables? I have noticed that, for example, in the FTM_PWM module, workspace variables are simply not allowed at all, and in other modules like the LPSPI module, you can use them, but generating code will populate the spaces where those workspace parameters are used with zeros.

This isn't a serious or real problem however, it would be nice to be able to tie a lot of the configuration of SW that I am building to a script rather than having to manually modify the configuration blocks. Similar to how you would define consts or #define in plain old embedded c

0 项奖励
回复
0 回复数
%3CLINGO-SUB%20id%3D%22lingo-sub-2337182%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9C%A8%20MBDT%20%E4%B8%AD%E4%B8%BA%E5%8F%98%E9%87%8F%E4%BD%BF%E7%94%A8%E5%B7%A5%E4%BD%9C%E5%8C%BA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2337182%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%B8%BA%E4%BB%80%E4%B9%88%20MBDT%20%E4%B8%8E%E5%B7%A5%E4%BD%9C%E5%8C%BA%E5%8F%98%E9%87%8F%E4%B8%8D%E5%85%BC%E5%AE%B9%EF%BC%9F%E6%88%91%E6%B3%A8%E6%84%8F%E5%88%B0%EF%BC%8C%E4%BE%8B%E5%A6%82%EF%BC%8C%E5%9C%A8%20FTM_PWM%20%E6%A8%A1%E5%9D%97%E4%B8%AD%EF%BC%8C%E6%A0%B9%E6%9C%AC%E4%B8%8D%E5%85%81%E8%AE%B8%E4%BD%BF%E7%94%A8%E5%B7%A5%E4%BD%9C%E5%8C%BA%E5%8F%98%E9%87%8F%EF%BC%8C%E8%80%8C%E5%9C%A8%E5%85%B6%E4%BB%96%E6%A8%A1%E5%9D%97%EF%BC%88%E5%A6%82%20LPSPI%20%E6%A8%A1%E5%9D%97%EF%BC%89%E4%B8%AD%EF%BC%8C%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%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