sandeepmistry/arduino-nRF5

32MHz crystal support

Open

#277 opened on 2018年5月22日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)C (288 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (952 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド