sandeepmistry/arduino-nRF5

32MHz crystal support

Open

#277 创建于 2018年5月22日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)C (288 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (952 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南