Skip to content
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

Unable to build for RedBearLabs BLE Nano #8

Open
luposlip opened this issue Jun 2, 2015 · 0 comments
Open

Unable to build for RedBearLabs BLE Nano #8

luposlip opened this issue Jun 2, 2015 · 0 comments

Comments

@luposlip
Copy link

luposlip commented Jun 2, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant