diff options
author | Karel Kočí <cynerd@email.cz> | 2015-10-17 15:40:51 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-10-17 15:40:51 +0200 |
commit | b0d8f22f3492fbb3f6dc0e8026e63c803af59007 (patch) | |
tree | eb9707612e87856962474885f2a18ae1621d214e /conffile | |
parent | 8fa9db4244f4ee33aa47561c569edfa62fe37928 (diff) | |
download | avr-ioe-b0d8f22f3492fbb3f6dc0e8026e63c803af59007.tar.gz avr-ioe-b0d8f22f3492fbb3f6dc0e8026e63c803af59007.tar.bz2 avr-ioe-b0d8f22f3492fbb3f6dc0e8026e63c803af59007.zip |
Complete commit of current work
Diffstat (limited to 'conffile')
-rw-r--r-- | conffile | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/conffile b/conffile new file mode 100644 index 0000000..b8f280c --- /dev/null +++ b/conffile @@ -0,0 +1,65 @@ +MCU:: + type string + default "atmega328p" + menu "MCU name" + +F_CPU:: + type int + default 16000000 + menu "CPU frequency" +################################################################################# + +if MCU == "atmega328p" +MCUSUPPORT_SPI: +MCUSUPPORT_USART: +endif + +################################################################################# + +IOE_SPI: MCUSUPPORT_USART + menu "SPI interface" + +group IOE_USART: MCUSUPPORT_SPI + type bool + menu "USART interface" + +IOE_USART_BAUD: + type int<0,> + menu "Baud" + +IOE_USART_PARITY: + type {!None("USART_PARITY_NONE"), Odd("USART_PARITY_ODD"), Even("USART_PARITY_EVEN")} + menu "Parity" + +IOE_USART_STOPBIT: + type {!Single("USART_STOPBIT_SINGLE"), Double("USART_STOPBIT_DOUBLE")} + menu "Number of stop bits" + +IOE_USART_DATABITS: + type int<5,8> + default 8 + menu "Number of data bits" + +IOE_USART_INBUFFER_SIZE: + type int<0,> + menu "USART input buffer size" + help "Defines size of input buffer for USART interface." + " If size is set to 0, no buffer is used." + +IOE_USART_OUTBUFFER_SIZE: + type int<0,> + menu "USART output buffer size" + help "Defines size of output buffer for USART interface." + " If size is set to 0, no buffer is used." +endgroup # IOE_USART + +IOE_CAN_MCP2515: IOE_SPI + menu "MCP2515 CAN controller" + +group SENSORS: + menu "Sensors" + +IOE_SENSOR_DHT22: + menu "DHT22 temperature and humidity sensor" + +endgroup # SENSORS |