STM32 signing problem



  • When I define MY_SIGNING_SIMPLE_PASSWD
    Then my sketch not compile.
    Latest mysensors lib from git and arduino 1.8.4 and STM32F103C.

    \libraries\MySensors-development/drivers/AES/AES.cpp: In member function 'void AES::printArray(byte*, bool)':
    
    \libraries\MySensors-development/drivers/AES/AES.cpp:559:45: error: 'printf_P' was not declared in this scope
    
        printf_P(PSTR("%c"),output[j*N_BLOCK + i]);
    
                                                 ^
    
    \libraries\MySensors-development/drivers/AES/AES.cpp:562:21: error: 'printf_P' was not declared in this scope
    
      printf_P(PSTR("\n"));
    
                         ^
    
    \libraries\MySensors-development/drivers/AES/AES.cpp: In member function 'void AES::printArray(byte*, int)':
    
    \libraries\MySensors-development/drivers/AES/AES.cpp:570:32: error: 'printf_P' was not declared in this scope
    
       printf_P(PSTR("%x"),output[i]);
    
                                    ^
    
    \libraries\MySensors-development/drivers/AES/AES.cpp:572:21: error: 'printf_P' was not declared in this scope
    
      printf_P(PSTR("\n"));
    
                         ^
    

  • Mod

    @melwinek thanks for sharing this info.
    There is still a lot of work left before STM32 works with MySensors, and it seems the printf_P function is one of the things that needs to be fixed.


  • Admin

    @melwinek Please create an issue on github. Thanks


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.