Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration File implementation #1

Open
michaelshipman opened this issue Jan 18, 2024 · 4 comments
Open

Configuration File implementation #1

michaelshipman opened this issue Jan 18, 2024 · 4 comments
Assignees

Comments

@michaelshipman
Copy link
Member

michaelshipman commented Jan 18, 2024

Just tracking the creation of this feature.

@michaelshipman michaelshipman self-assigned this Jan 18, 2024
@michaelshipman
Copy link
Member Author

Ok now that I think about it I think that it would be pretty simple to use larger FRAM and set something up to stream a file back and forth, then I'd just need to figure out how to parse the yaml or whatever once it's on the FRAM to get the parameters.

@michaelshipman
Copy link
Member Author

Ok so basic implementation exists, it doesn't support streaming a file but you can programmatically read and modify settings

  • Need to define extra parameters
  • Need to add some way to modify these using my console library
  • Need to add file parsing support
  • Need to create an interface to all me to generalize to other memory devices, right now just uses FRAM

@michaelshipman
Copy link
Member Author

Also thinking 8kbyte minimum for FRAM, choppies config file I looked at is 4kbyte

@michaelshipman
Copy link
Member Author

You had to reverse the address in commit d8a4c34 because you are providing a pointer to a 16 bit value sending 8 bits at a time, so the leftmost byte gets sent first since it is first in memory (think of it like a 2 element array)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant