-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Writing Half word (16-bit) instead of Word(32-bits) #5
Comments
Hello. You can convert any data type to uint32 array by memcpy function. |
Thanks, How about the straight use of the library, Can you provide a demo example ? |
I dont have yet. But its simple. |
First, thank you for creating this EEPROM library. I'm using it and it works. However, I'm wondering why in eepromConf.h, _EEPROM_USE_FLASH_PAGE is a define/constant. If it would be a variable, than some wear level machinism could be built in... is there a specific reason for it being constant? |
@michelkeijzers . waiting for next version :) |
I already made changes, but in my own git repository https://github.com/michelkeijzers/FuzzTester2 ... Note however, I removed also a bit of code (for STMF0 since I will not use it), and I added some variables and extra functions, which might slow down (slightly) performance and memory usage. |
Hi
What would happen if I decided to store 16-bits variables instead of 32-bits ? Would that free up spaces ? As it's mentioned in ST EEPROM Emulation Docs
Or it's prohibited ?
Also, Can you provide an example to know where to start ? ST eeprom emulation has an example and clear way to use that lib. (EE_init() is the starter ofcourse.) But here it's confusing and don't know where to start, Don't know how it work, or how should it work. As whether it label pages in headers or not..
Thanks
The text was updated successfully, but these errors were encountered: