I'm starting to think that the "user_config.h" might not be a great idea. It seems that in a number of SDK supplied headers, they try and include a C include file called "user_config.h" which is not supplied with the SDK but is, instead, expected to be supplied by the application programmer. What I am not seeing is why this pattern is present? Why not omit any inclusion of "user_config.h" and simply let the programmer include it (or not) as needed in their own apps? I keep finding myself creating an empty "user_config.h" just for the purpose of satisfying the compiler ... and when I do that, warning bells start to go off. It can mean I don't understand something properly ...
What does the community think about the "user_config.h" mandatory header file?
The use of "user_config.h"
Re: The use of "user_config.h"
Postby dkinzer » Sun Aug 02, 2015 11:13 pm
Although purists might object, I created the empty user_config.h in the SDK include directory.kolban wrote:I keep finding myself creating an empty "user_config.h" just for the purpose of satisfying the compiler [...]
Don Kinzer
Beaverton, OR, USA
Beaverton, OR, USA
Who is online
Users browsing this forum: No registered users and 28 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.