aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--charLCD/conffile18
-rw-r--r--conffile19
-rw-r--r--dht22/conffile0
-rw-r--r--nrf24l01p/conffile27
4 files changed, 64 insertions, 0 deletions
diff --git a/charLCD/conffile b/charLCD/conffile
new file mode 100644
index 0000000..04d8c26
--- /dev/null
+++ b/charLCD/conffile
@@ -0,0 +1,18 @@
+menu "charLCD" "Character LCD I2C display"
+
+CHARLCD_ADDRESS:
+ type hex
+ nodefault
+ menu "I2C Address"
+
+CHARLCD_CHARS:
+ type int
+ nodefault
+ menu "LCD character count" "Number of characters of display per line"
+
+CHARLCD_LINES:
+ type int
+ nodefault
+ menu "LCD lines count" "Number of lines of display"
+
+endmenu
diff --git a/conffile b/conffile
new file mode 100644
index 0000000..8fc1408
--- /dev/null
+++ b/conffile
@@ -0,0 +1,19 @@
+menu "AVR-IOE"
+
+menu "Submodule" "Different external hardware modules."
+
+include charLCD/conffile
+include dht22/conffile
+include nrf24l01p/conffile
+
+endmenu
+
+menu "SPI" "Serial peripheral interface"
+
+endmenu
+
+menu "TWI" "Two-wire interface. Also known as I2C."
+
+endmenu
+
+endmenu
diff --git a/dht22/conffile b/dht22/conffile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/dht22/conffile
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