We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling the ESPmDNS library from arduinoe_esp32 an error occurs where ARDUINO_VARIANT is replaced by its command line definition.
The command line specifies: -DARDUINO_VARIANT="esp32" the code is the following:
-DARDUINO_VARIANT="esp32"
void MDNSResponder::enableArduino(uint16_t port, bool auth){ mdns_txt_item_t arduTxtData[4] = { {(char*)"board" ,(char*)ARDUINO_VARIANT}, {(char*)"tcp_check" ,(char*)"no"}, {(char*)"ssh_upload" ,(char*)"no"}, {(char*)"auth_upload" ,(char*)"no"} };
Because ARDUINO_VARIANT gets replaced with esp32 in stead of "esp32" the compilation fails with "unknown identifier esp32"
esp32
"esp32"
The text was updated successfully, but these errors were encountered:
this is a duplicate of #1028 I would love to see esp to fix this by using the workaround I describe
Sorry, something went wrong.
No branches or pull requests
Compiling the ESPmDNS library from arduinoe_esp32 an error occurs where ARDUINO_VARIANT is replaced by its command line definition.
The command line specifies:
-DARDUINO_VARIANT="esp32"
the code is the following:
void MDNSResponder::enableArduino(uint16_t port, bool auth){ mdns_txt_item_t arduTxtData[4] = { {(char*)"board" ,(char*)ARDUINO_VARIANT}, {(char*)"tcp_check" ,(char*)"no"}, {(char*)"ssh_upload" ,(char*)"no"}, {(char*)"auth_upload" ,(char*)"no"} };
Because ARDUINO_VARIANT gets replaced with
esp32
in stead of"esp32"
the compilation fails with "unknown identifier esp32"The text was updated successfully, but these errors were encountered: