Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By nomi
#35343 Why cant i use PIN_FUNC_SELECT macro in esp8266 sdk_v1.4.0. It is defined in eagle_soc.h. Whenever i used this macro to set my pins as gpios an error comes. i am calling this macro like this
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_GPIO2);
Am i calling this wrong or is this a bug in sdk.
And if i cant use this function how can i define my pins as gpios.?