main/Kconfig.projbuild

Sun, 14 Jun 2020 14:53:06 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 14 Jun 2020 14:53:06 +0200
changeset 57
232f318a6b51
parent 37
358bbd5b608e
child 77
15dc572a7fcb
permissions
-rw-r--r--

Code cleanup, doxygen comments added.

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"
	   range 100000 400000
           default 100000
           help
               I2C Speed of Master device in Hz.

    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 14
	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 7
	help
		The ADC1 channel to measure the first pressure transducer

    config PRESSURE_2
        int "Pressure transducer 2"
        range 4 7
        default 6
        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