Conversation
sha1.cpp:11:25: error: variable 'sha1InitState' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
uint8_t sha1InitState[] PROGMEM = {
^
|
This fix applies to arduino 1.5.7 |
|
New error after that change?? What do Chuck mean with that there are changes to sha1.diff?? I don't understand a thing in that file?? This is the new error: In file included from /Users/olle/Documents/Arduino/libraries/sha1/sha256.cpp:3:0: |
|
@ollemagnusson that's the same type of error that @TylerBre fixes in his pull request. It looks like you're using a copy of the sha1 library outside of Arduino-Websocket. If you want to fix that error simple add |
sha1.cpp:11:25: error: variable 'sha1InitState' must be const in order to be put into read-only section by means of 'attribute((progmem))'
uint8_t sha1InitState[] PROGMEM = {
^