Skip to content

Add CONFIG_LED_PIN and CONFIG_BUTTON_PIN in main.c#7

Open
Gius-8 wants to merge 1 commit into
lucadentella:masterfrom
Gius-8:patch-1
Open

Add CONFIG_LED_PIN and CONFIG_BUTTON_PIN in main.c#7
Gius-8 wants to merge 1 commit into
lucadentella:masterfrom
Gius-8:patch-1

Conversation

@Gius-8

@Gius-8 Gius-8 commented Sep 19, 2018

Copy link
Copy Markdown

No description provided.

@aureq

aureq commented Jan 24, 2019

Copy link
Copy Markdown

@Gius-8 Unless I'm mistaken, your pull request shouldn't be necessary. When compiling the project, you should do make menuconfig. You will find a section named Example Configuration in which you can configure the BUTTON_PIN and LED_PIN. These will be defined as CONFIG_BUTTON_PIN and CONFIG_LED_PIN in your code.

Have a look at 07_gpio_interrupts/main/Kconfig.projbuild, as this is where it's all defined. This is part of the esp-idf framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants