kubabuda / EEPROM_generator

SOES EEPROM Generator and Slave Stack Code generation tool for EtherCAT devices using SOES library
https://kubabuda.github.io/EEPROM_generator/
Other
25 stars 11 forks source link

Support of 64 bit data #1

Open qiayuanl opened 1 year ago

qiayuanl commented 1 year ago

Hello, this repo helps me a lot and many thank for sharing such an awesome project!

I wonder if it is possible to use 64-bit data, e.g. uint64_t, real64. If it's possible, could you provide me with some hints and notes about modifying this generator?

kubabuda commented 1 year ago

Hi, cool that you like this.

64 bit types are definitely possible, have a look at constants.js One would have to uncomment data type name in DTYPE, add dtype_bitsize and add XML mapping in ESI_DT. Probably some generator logic tweaks will be required too - for this we will need examples from other SSC generator to put in unit test cases and match their output convention. I am currently busy with other projects, but maybe over the weekend I can look into it

kubabuda commented 4 months ago

Hello @qiayuanl it took a bit longer than planned but 64 bit types are now available. Please give it a go and let me know how it is working for you

qiayuanl commented 4 months ago

Thank you!