Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/{sam0_common, stm32}: select netdev_legacy_api in KConfig #18466

Merged
merged 3 commits into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cpu/sam0_common/sam0_eth/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config MODULE_SAM0_ETH
depends on CPU_COMMON_SAM0
depends on HAS_PERIPH_ETH
select MODULE_NETDEV_ETH
select MODULE_NETDEV_LEGACY_API
select MODULE_NETOPT
select MODULE_IOLIST
select MODULE_PERIPH_ETH
Expand Down
1 change: 1 addition & 0 deletions cpu/stm32/periph/Kconfig.eth
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ menuconfig MODULE_STM32_ETH
depends on HAS_PERIPH_ETH
select MODULE_PERIPH_ETH
select MODULE_NETDEV_ETH
select MODULE_NETDEV_LEGACY_API
select MODULE_IOLIST
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC
Expand Down
1 change: 1 addition & 0 deletions drivers/sx1280/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ config MODULE_SX1280
depends on TEST_KCONFIG
select PACKAGE_LORABASICS
select MODULE_LORABASICS_SX1280_DRIVER
select MODULE_NETDEV_LEGACY_API

config HAVE_SX1280
bool
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
From 0606d43c2ea293d4ed96843406736a9b2a159fdd Mon Sep 17 00:00:00 2001
From: Benjamin Valentin <[email protected]>
Date: Thu, 18 Aug 2022 01:04:22 +0200
Subject: [PATCH] ral_sx1280: fix unused parameter warning

---
smtc_ral/src/ral_sx1280.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/smtc_ral/src/ral_sx1280.c b/smtc_ral/src/ral_sx1280.c
index ecd8c03..bc75dff 100644
--- a/smtc_ral/src/ral_sx1280.c
+++ b/smtc_ral/src/ral_sx1280.c
@@ -474,11 +474,17 @@ ral_status_t ral_sx1280_setup_tx_flrc( const ral_t* ral, const ral_params_flrc_t

ral_status_t ral_sx1280_setup_tx_lora_e( const ral_t* ral, const ral_params_lora_e_t* params )
{
+ (void)ral;
+ (void)params;
+
return RAL_STATUS_UNSUPPORTED_FEATURE;
}

ral_status_t ral_sx1280_tx_bpsk( const ral_t* ral, const ral_params_bpsk_t* params )
{
+ (void)ral;
+ (void)params;
+
return RAL_STATUS_UNSUPPORTED_FEATURE;
}

--
2.34.1