main/Kconfig.projbuild

Tue, 08 Oct 2019 12:00:31 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 08 Oct 2019 12:00:31 +0200
changeset 0
88d965579617
child 16
e38ffa806e84
permissions
-rw-r--r--

Initial import of the CO2 meter application.

menu "CO2 meter configuration"

    config ONE_WIRE_BUS
	int "OneWire Bus GPIO number"
        range 0 34
        default 25
        help
                GPIO number (IOxx) to access the DS18B20 for the bottle temperature semsor.

                Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.

                GPIOs 35-39 are input-only so cannot be used to drive the One Wire Bus.

    menu "I2C bus"

        config I2C_MASTER_SCL
            int "SCL GPIO Num"
	    range 0 39
            default 22
            help
                GPIO number for I2C Master clock line.

        config I2C_MASTER_SDA
            int "SDA GPIO Num"
	    range 0 39
            default 21
            help
                GPIO number for I2C Master data line.

        config I2C_MASTER_PORT_NUM
            int "Port Number"
            default 0
            help
                Port number for I2C Master device.

        config I2C_MASTER_FREQUENCY
            int "Master Frequency"
            default 100000
            help
                I2C Speed of Master device.

    endmenu

    menu "Rotary encoder"

    config ROT_ENC_A_GPIO
    	int "Rotary Encoder A output GPIO number"
        range 0 39
        default 27
        help
                GPIO number (IOxx) from which to sample the Rotary Encoder 'A' output.

                Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.

    config ROT_ENC_B_GPIO
    	int "Rotary Encoder B output GPIO number"
        range 0 39
        default 26
        help
                GPIO number (IOxx) from which to sample the Rotary Encoder 'B' output.

                Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.

    config ROT_ENC_SW_GPIO
	int "Rotary Encoder push switch GPIO number"
	range 0 39
	default 12
	help
		GPIO number (IOxx) from which to sample the Rotary Push function output and to
		wakeup the ESP from deep sleep.

		Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.
    endmenu

    menu "ADC channels"

    config BATT_CHANNEL
	int "Power monitor analog measurement channel"
	range 4 7
	default 4
	help
		The ADC1 channel to measure the half VDD voltage ladder


    config PRESSURE_1
	int "Pressure transducer 1"
	range 4 7
	default 6
	help
		The ADC1 channel to measure the first pressure transducer

    config PRESSURE_2
        int "Pressure transducer 2"
        range 4 7
        default 7
        help
                The ADC1 channel to measure the second pressure transducer

    config PRESSURE_3
        int "Pressure transducer 3"
        range 4 7
        default 5
        help
                The ADC1 channel to measure the third pressure transducer

    endmenu

endmenu

mercurial