toggle quoted messageShow quoted text
Not really sure what’s going on here. Try to comment out line 133 in the source - as th4 definition is the same in your version of the library, this should not be a problem.
Am 02.06.2019 um 19:55 schrieb August Treubig <atreubig@...
Removing the libraries just removes the warning. I t does not make any change in the conflict.
Arduino: 1.8.9 (Linux), Board: "WiFi LoRa 32(V2), Disabled, default_8MB, 240MHz (WiFi/BT), QIO, 80MHz, 8MB (64Mb), 921600, None"
morse_3_v1.3:133:11: error: conflicting declaration 'const int Vext'
const int Vext = 21;
In file included from /home/atreubig/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.2-rc1/cores/esp32/Arduino.h:190:0,
/home/atreubig/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.2-rc1/variants/wifi_lora_32_V2/pins_arduino.h:65:22: note: previous declaration as 'const uint8_t Vext'
static const uint8_t Vext = 21;
Multiple libraries were found for "WiFi.h"
Not used: /home/atreubig/arduino-1.8.9/libraries/WiFi
exit status 1
conflicting declaration 'const int Vext'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The package from Heltec has include a definition of Vext. I have tried it with expressif package and the result is the same.
I have chosen the WiFi LoRa 32(V2) as the board. This includes file pins_arduino.h which has the declaration for Vext which conflicts with your declaration.