main/Kconfig.projbuild

Mon, 27 Mar 2023 22:13:21 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 27 Mar 2023 22:13:21 +0200
changeset 1
1c9894662795
parent 0
f8b0268c8d0a
child 4
d0155c16e992
permissions
-rw-r--r--

Added esp-idf-lib for a lot of sensors. Added the basic design for the BMP280 task.

menu "IOT Balkon Configuration"

    orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"

    choice CODE_PROJECT
    	prompt "Select project build target"
    	default CODE_TESTING
    	help
	    Select to build for Testing or Production

    config CODE_TESTING
    	bool "Build for testing"
    	help
	    Select this to build for the test environment

    config CODE_PRODUCTION
    	bool "Build for production"
    	help
	    Select this to build for final production

    endchoice

    menu "I2C bus"

        config I2C_MASTER_SCL
            int "SCL GPIO Num"
            range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
	    default 10 if IDF_TARGET_ESP32C3
            default 22
            help
                GPIO number for I2C Master clock line.

        config I2C_MASTER_SDA
            int "SDA GPIO Num"
            range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
	    default 8 if IDF_TARGET_ESP32C3
            default 21
            help
                GPIO number for I2C Master data line.

    endmenu

endmenu

mercurial