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

User avatar
By Ron Freimann
#90147 I'm trying to write a simple application to connect my ESP-01 to my home AP. For that, in the code I have defined two macros - my APs SSID and password as follows:

Code: Select all#define EXAMPLE_ESP_MAXIMUM_RETRY  5
#define EXAMPLE_ESP_WIFI_SSID Telia-8D67F2
#define EXAMPLE_ESP_WIFI_PASS HUPKG3QHO*****


However Eclipse complains about my macro definitions - "Symbol 'Telia' could not be resolved". It seems like it's trying to find a value for this symbol instead of taking it as a string value.

How can I resolve this issue?
Last edited by Ron Freimann on Wed Jan 13, 2021 11:23 am, edited 1 time in total.
User avatar
By QuickFix
#90182 I've never used Eclipse, but uhm enclose strings between double qoutes? :?

Code: Select all#define EXAMPLE_ESP_MAXIMUM_RETRY  5
#define EXAMPLE_ESP_WIFI_SSID "Telia-8D67F2"
#define EXAMPLE_ESP_WIFI_PASS "HUPKG3QHO*****"
User avatar
By Ron Freimann
#90184
QuickFix wrote:I've never used Eclipse, but uhm enclose strings between double qoutes? :?
Well, that's embarrassing for me, but thanks!
Code: Select all#define EXAMPLE_ESP_MAXIMUM_RETRY  5
#define EXAMPLE_ESP_WIFI_SSID "Telia-8D67F2"
#define EXAMPLE_ESP_WIFI_PASS "HUPKG3QHO*****"