Can HAL modules be enabled / disabled during runtime? #2836
              
                Unanswered
              
          
                  
                    
                      PerennialNovice
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments
-
| No it is at compile time. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| thank you for the quick answer | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
for backwards compatibility we would like to be able to switch HAL_TIM_MODULE_ONLY on and off during runtime.
Is such a thing possible?
We have a custom Servo library and would like to use it for future releases, but until now we did use provided Servo library.
To have one codebase for everything, it would be needed to switch HAL_TIM_MODULE_ONLY after knowing which hardware revision we run on
Beta Was this translation helpful? Give feedback.
All reactions