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


  • Plugin Developer

    I tried looking in Github but couldn't find any new about this. Has this been fixed?


Log in to reply
 

Suggested Topics

  • 3
  • 1
  • 6
  • 5
  • 2

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts