CommandStation-EX icon indicating copy to clipboard operation
CommandStation-EX copied to clipboard

Create better EEPROM storage format

Open davidcutting42 opened this issue 4 years ago • 4 comments

From #66

davidcutting42 avatar Nov 21 '20 04:11 davidcutting42

Would it be possible for a list of cabs to be stored in EEPROM if turnouts and outputs are going to be compiled with TPL? This would mean that they only have to be set up once, so if a user was using, say, JMRI and exWebThrottle, as long as both supported it, then they would both know about the cabs because the CS would tell them?

matt-vdv avatar Nov 21 '20 17:11 matt-vdv

Tpl will need eeprom to store cab state for restarts etc.. its incompatible with jmri. If you do run jmri then you must connect withrottles through that and not directly.

Asbelos avatar Nov 21 '20 18:11 Asbelos

Actually I think we also have to look not only to the storage format but also space allocation if some wants to use also EEPROM for his/her own purposes either being through own development or by using other libraries I guess so we have to tell others you can use this space from here to here or something like this ... ?

grbba avatar Nov 22 '20 20:11 grbba

Eeprom is very small, we could reserve x bytes at start for user data but x will have to be very small.

Asbelos avatar Nov 23 '20 09:11 Asbelos