使用协议缓冲器进行EEPROM的经验?
我已经看过 protocol-buffers 。他们看起来很有趣。有人使用它们将数据存储到EEPROM中吗?您的经历是什么?
EEPROM很小(< 128KB),因此我的方式是通过知道每个数据元素的地址偏移来将所有数据放在字节数组中。通过使用C ++,您可以小心地使用填充物。
I've seen the protocol-buffers. They look very interesting. Does someone use them to store data to an eeprom? What are your experiences?
The eeproms are small (<128kB), so my way was to put all my data to a byte array by knowing the address-offset of each data element. By using c++ you have then be carefully with padding.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论