Skip to content

Commit

Permalink
fixup! drivers/sx1280: initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas committed May 16, 2022
1 parent edf3708 commit bccaba5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions drivers/Kconfig.net
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ rsource "slipdev/Kconfig"
rsource "$(RIOTCPU)/native/socket_zep/Kconfig"
rsource "sx126x/Kconfig"
rsource "sx127x/Kconfig"
rsource "sx1280/Kconfig"
rsource "tja1042/Kconfig"
endmenu # Network Device Drivers
11 changes: 9 additions & 2 deletions drivers/sx1280/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
# directory for more details.

config MODULE_SX1280
bool "LoRa SX1280 Driver"
bool "LoRa 2.4Ghz SX1280 Driver" if !(HAVE_SX1280 && MODULE_NETDEV_DEFAULT)
default y if (HAVE_SX1280 && MODULE_NETDEV_DEFAULT)
depends on TEST_KCONFIG
select PACKAGE_LORABASIC
select PACKAGE_LORABASICS
select MODULE_LORABASICS_SX1280_DRIVER

config HAVE_SX1280
bool
help
Indicates that an sx1280 2.4Ghz transceiver is present.

0 comments on commit bccaba5

Please sign in to comment.