sandeepmistry/arduino-nRF5

32MHz crystal support

Open

#277 ouverte le 22 mai 2018

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)C (288 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (952 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur