Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. STM32 signing problem

STM32 signing problem

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 4 Posters 1.6k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    melwinek
    wrote on last edited by melwinek
    #1

    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"));
    
                         ^
    
    mfalkviddM T 2 Replies Last reply
    0
    • M melwinek

      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"));
      
                           ^
      
      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @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.

      1 Reply Last reply
      1
      • M melwinek

        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"));
        
                             ^
        
        T Offline
        T Offline
        tekka
        Admin
        wrote on last edited by
        #3

        @melwinek Please create an issue on github. Thanks

        1 Reply Last reply
        1
        • alowhumA Offline
          alowhumA Offline
          alowhum
          Plugin Developer
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          15

          Online

          12.0k

          Users

          11.2k

          Topics

          113.4k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular