aboutsummaryrefslogtreecommitdiff
path: root/nrf24l01p
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-03-22 14:07:04 +0100
committerKarel Kočí <cynerd@email.cz>2015-03-22 14:07:04 +0100
commit1c75a78573173679505b3713a928134c4ee9716a (patch)
tree1dbb20651668dbcad6a39e4e8e3086d828251a7c /nrf24l01p
parentbc781d73f00dc60aab4f04a8676deb34fbf724d4 (diff)
downloadavr-ioe-1c75a78573173679505b3713a928134c4ee9716a.tar.gz
avr-ioe-1c75a78573173679505b3713a928134c4ee9716a.tar.bz2
avr-ioe-1c75a78573173679505b3713a928134c4ee9716a.zip
Prepare for sconf configuration
Diffstat (limited to 'nrf24l01p')
-rw-r--r--nrf24l01p/conffile27
1 files changed, 27 insertions, 0 deletions
diff --git a/nrf24l01p/conffile b/nrf24l01p/conffile
new file mode 100644
index 0000000..bbd1fc0
--- /dev/null
+++ b/nrf24l01p/conffile
@@ -0,0 +1,27 @@
+comb port {
+ char "Class" "Port class"
+ int "Port" "Port number"
+} "$1$2" "Specifies port. Combination of class and port. Now set: $1$2"
+
+enum nrf_spi {
+ spi, usi, usart
+}
+
+menu "nrf24l01p" "Driver for nRF24L01+"
+
+NRF_SPII: (spi SPI_MASTER) || (usi SPI_USI_MASTER)
+ type nrf_spi
+ default spi
+ menu "SPI interface" "Specify SPI interface"
+
+NRF_CSN_PORT:
+ type port
+ nodefault
+ menu "SPI CSN Port" "SPI Chip select port"
+
+NRF_CE_PORT:
+ type port
+ nodefault
+ menu "CE port" "Chip enable port"
+
+endmenu