Is there a way to identify the board model/variant in the sketch? #1645
-
| I'm looking for something like  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            earlephilhower
          
      
      
        Aug 14, 2023 
      
    
    Replies: 1 comment 1 reply
-
| 
 | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        CMB27
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
ARDUINO_<boardname>is defined on thegcccommand line. Checkboards.txtfor the exact<variant>.build.boardline (but it's normally pretty obvious).