sandeepmistry/arduino-nRF5

32MHz crystal support

Open

#277 aperta il 22 mag 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C (288 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (952 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

currently I see there is no support for 32MHz crystal but I have module which is using 32MHz and I was trying to create a custom variant to support this by implementing the HCLK initialization in initVariant() but its called in main() after low freq clock init

logically I think initVariant() should be the first function to be executed which allows variant manager to initialize his/her board support before the generic common initialization.

Another approach will be to use the macro approach similar to lowfreq selection for generic nrf51 board settings.

Guida contributor