Skip to content

Commit

Permalink
pkg/mynewt-core: use nrfx package
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas committed Jun 7, 2022
1 parent f770060 commit 3c72239
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ rsource "mynewt-core/Kconfig"
rsource "nanocbor/Kconfig"
rsource "nanopb/Kconfig"
rsource "nanors/Kconfig"
rsource "nrfx/Kconfig"
rsource "qcbor/Kconfig"
rsource "qdsa/Kconfig"
rsource "qr-code-generator/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions pkg/mynewt-core/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ config MODULE_MYNEWT-CORE_UTIL

config MODULE_MYNEWT-CORE_NRF5X_HAL
bool "mynewt-core nrf52 and nrf51 timer hal"
select PACKAGE_NRFX

endif # PACKAGE_MYNEWT-CORE
4 changes: 4 additions & 0 deletions pkg/mynewt-core/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@ USEMODULE += mynewt-core

DEFAULT_MODULE += auto_init_mynewt-core

ifneq (,$(filter mynewt-core_nrf5x_hal,$(USEMODULE)))
USEPKG += nrfx
endif

# esp frequency is not pow2 so is incompatible with os_cputime
FEATURES_BLACKLIST += arch_esp

0 comments on commit 3c72239

Please sign in to comment.