-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi there!
I get this error while trying to build for BLE Nano:
/Users/luposlip/Dropbox/ArduinoWS/2015/libraries/DES/DES.cpp: In member function 'void DES::tdesCbcEncipher(byte*, byte*)':
/Users/luposlip/Dropbox/ArduinoWS/2015/libraries/DES/DES.cpp:478:21: error: 'printf_P' was not declared in this scope
printf_P(PSTR("\n"));
^
/Users/luposlip/Dropbox/ArduinoWS/2015/libraries/DES/DES.cpp: In member function 'void DES::tdesCbcDecipher(byte*, byte*)':
/Users/luposlip/Dropbox/ArduinoWS/2015/libraries/DES/DES.cpp:511:21: error: 'printf_P' was not declared in this scope
printf_P(PSTR("\n"));
^
libraries/DES/DES.cpp: In member function 'void DES::printArray(byte*, bool)':
libraries/DES/DES.cpp:549:40: error: 'printf_P' was not declared in this scope
printf_P(PSTR("%c"),output[j*8 + i]);
^
libraries/DES/DES.cpp:552:22: error: 'printf_P' was not declared in this scope
printf_P(PSTR("\n"));
^
libraries/DES/DES.cpp: In member function 'void DES::printArray(byte*, int)':
libraries/DES/DES.cpp:561:34: error: 'printf_P' was not declared in this scope
printf_P(PSTR("%x"),output[i]);
^
libraries/DES/DES.cpp:563:22: error: 'printf_P' was not declared in this scope
printf_P(PSTR("\n"));
^
Error compiling.
I'm trying to compile the simple DES example:
https://github.com/Octoate/ArduinoDES/tree/master/examples/DESexample
Any ideas?
Best,
Henrik
Metadata
Metadata
Assignees
Labels
No labels