forked from RT-Thread/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request RT-Thread#1202 from kylepengchn/rfm300
release rfm 433MHz modules driver package
- Loading branch information
Showing
3 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
# Kconfig file for package rfm300 | ||
menuconfig PKG_USING_RFM300 | ||
bool "RFM300: ISM Transceiver Module With +20dBm(100mW) Output Power." | ||
default n | ||
|
||
if PKG_USING_RFM300 | ||
|
||
config PKG_RFM300_SPI_BUS_NAME | ||
string "The spi bus of rfm300" | ||
default "spi0" | ||
|
||
config PKG_RFM300_SPI_DEV_NAME | ||
string "The spi device name for rfm300" | ||
default "rfm300" | ||
|
||
config PKG_RFM300_FIFO_SPI_DEV_NAME | ||
string "The spi device name for rfm300 fifo" | ||
default "rfm300_fifo" | ||
|
||
config PKG_RFM300_CSB_PIN | ||
int "The CSB pin of rfm300" | ||
default -1 | ||
|
||
config PKG_RFM300_FCSB_PIN | ||
int "The FCSB pin of rfm300" | ||
default -1 | ||
|
||
config PKG_RFM300_GPIO1_PIN | ||
int "The GPIO1 pin of rfm300" | ||
default -1 | ||
|
||
config PKG_RFM300_GPIO2_PIN | ||
int "The GPIO2 pin of rfm300" | ||
default -1 | ||
|
||
config PKG_RFM300_GPIO3_PIN | ||
int "The GPIO3 pin of rfm300" | ||
default -1 | ||
|
||
config PKG_USING_RFM300_DEMO | ||
bool "Use demo" | ||
default n | ||
|
||
config PKG_RFM300_PATH | ||
string | ||
default "/packages/peripherals/rfm300" | ||
|
||
choice | ||
prompt "Version" | ||
default PKG_USING_RFM300_LATEST_VERSION | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_RFM300_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
|
||
config PKG_RFM300_VER | ||
string | ||
default "latest" if PKG_USING_RFM300_LATEST_VERSION | ||
|
||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "rfm300", | ||
"description": "RFM300: ISM Transceiver Module With +20dBm(100mW) Output Power.", | ||
"enable": "PKG_USING_RFM300", | ||
"keywords": [ | ||
"rfm300" | ||
], | ||
"category": "peripherals", | ||
"author": { | ||
"name": "kylepengchn", | ||
"email": "[email protected]", | ||
"github": "kylepengchn" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/kylepengchn/rfm300.git", | ||
"icon": "unknown", | ||
"homepage": "unknown", | ||
"doc": "unknown", | ||
"site": [ | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/kylepengchn/rfm300.git", | ||
"filename": "", | ||
"VER_SHA": "master" | ||
} | ||
] | ||
} |