Closed Frank-Bemelman closed 5 months ago
Hello! I think i know the root of your problem. In the latest release, i've forgot to delete the unused directories. (/src/"radio"..."time"..."weather" and "wifi")
You can delete these directories, and do a clear build from the code.
I'll post an update to github, when i get home :)
I've fixed the problem. Download the source code, or fork the repository again. :)
Thank you! Works like a charm now. Even the radio works - very nice indeed. Also nice demonstration of the Squareline Studio UI design software.
Changed (time_manager.cpp, line 257), was configTime(GMT, 3600, NTP_SERVERS); to configTime(GMT, 0, NTP_SERVERS); as the time displayed was 1 hour ahead. I am in Amsterdam, which is also GMT +1 or 3600 as it is #defined. But perhaps it is another issue. There are so many time libraries to choose from.
Also liked that tiny touch keyboard, to enter the SSID and password. That was fun, with my clumsy big fingers ;-)
Thanks again, Cheers, Frank
Hi there!
Wanted to try this reopsitory on my WT32-SC01-PLUS, just to see if I could get something started.
All goes well, except linking stage. I see directories \src\EEPROMManager and scr\Managers\EEPROMManager And more double stuff.
Gives errors such as: Linking .pio\build\wt32-sc01-plus\firmware.elf c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in function
StartWriting()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:26: multiple definition of
StartWriting()'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:22: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in functionEndWriting()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:31: multiple definition of
EndWriting()'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:29: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in functionwriteIntInToEEPROM(int, int)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:35: multiple definition of
writeIntInToEEPROM(int, int)'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:34: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in functionreadIntFromEEPROM(int)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:46: multiple definition of
readIntFromEEPROM(int)'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:40: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in functionwriteStringToEEPROM(int, String const&)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:55: multiple definition of
writeStringToEEPROM(int, String const&)'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:46: first defined herec:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in function
readStringFromEEPROM(int)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:71: multiple definition of
readStringFromEEPROM(int)'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:57: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in functionEraseEEPROM()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:87: multiple definition of
EraseEEPROM()'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:70: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o: in functionCheckEEPROMAddress(int)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:95: multiple definition of
CheckEEPROMAddress(int)'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:78: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:21: multiple definition ofWIFI_SSID'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:17: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:22: multiple definition of
WIFI_PASS'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:18: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/Managers/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/EEPROMManager/eeprom_manager.cpp:23: multiple definition ofWiFiCredIsSaved'; .pio/build/wt32-sc01-plus/src/EEPROMManager/eeprom_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/EEPROMManager/eeprom_manager.cpp:19: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:16: multiple definition of
radioIsPlaying'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:16: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:18: multiple definition ofstations'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:18: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:14: multiple definition of
statcount'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:14: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:10: multiple definition ofaudio'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:10: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:16: multiple definition of
stateisselected'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:16: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:15: multiple definition ofvolume'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:15: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:12: multiple definition of
RadioTaskHandle'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:12: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o: in functionradiotask(void*)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:44: multiple definition of
radiotask(void*)'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:44: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o: in functionStartStopRadio()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:37: multiple definition of
StartStopRadio()'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:37: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:27: multiple definition ofstations_name'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:27: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o: in function
SetupRadio()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:87: multiple definition ofSetupRadio()'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:119: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o: in function
InitRadioPinout()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:103: multiple definition ofInitRadioPinout()'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:135: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/radio/radio.cpp:11: multiple definition of
audio_buffer'; .pio/build/wt32-sc01-plus/src/Features/radio/radio.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/radio/radio.cpp:11: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:7: multiple definition oftimeinfo'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:8: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o: in function
checkTime()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:14: multiple definition ofcheckTime()'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:15: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:8: multiple definition of
rtc'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:9: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:9: multiple definition ofhour'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:10: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:10: multiple definition of
minute'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:11: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:11: multiple definition ofdate'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:12: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o: in function
trimTimeDate()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:22: multiple definition oftrimTimeDate()'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:23: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:6: multiple definition of
GMT'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:7: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/time/time_sync.cpp.o: in functionInitTime()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/time/time_sync.cpp:252: multiple definition of
InitTime()'; .pio/build/wt32-sc01-plus/src/Managers/TimeManager/time_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/TimeManager/time_manager.cpp:253: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o: in functionStringToUpperCase(String)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:14: multiple definition of
StringToUpperCase(String)'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:15: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:10: multiple definition ofOPEN_WEATHER_MAP_LANGUAGE'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:11: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:5: multiple definition of
client'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:6: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:11: multiple definition ofIS_METRIC'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:12: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:6: multiple definition of
OPEN_WEATHER_MAP_APP_ID'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:7: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:7: multiple definition ofOPEN_WEATHER_MAP_LOCATION_ID_RACKEVE'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:8: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:8: multiple definition of
OPEN_WEATHER_MAP_LOCATION_ID_BUDAPEST'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:9: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:9: multiple definition ofOPEN_WEATHER_MAP_LOCATION_ID_KISKUNLACHAZA'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:10: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/weather/weather.cpp.o: in function
InitWeather()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/weather/weather.cpp:21: multiple definition ofInitWeather()'; .pio/build/wt32-sc01-plus/src/Features/weather/weather.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Features/weather/weather.cpp:22: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:11: multiple definition of
WOL'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:12: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o: in functionInitWOL()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:18: multiple definition of
InitWOL()'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:19: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:15: multiple definition ofMACAddress'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:16: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o: in function
RunWOL()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:22: multiple definition ofRunWOL()'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:23: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:10: multiple definition of
UDP'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:11: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:14: multiple definition ofeepromccount'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:15: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:13: multiple definition of
isConnected'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:14: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:13: multiple definition ofconnectOverride'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:14: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o: in function
StartWifiFromEEPROM()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:53: multiple definition ofStartWifiFromEEPROM()'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:59: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o: in function
WiFiErrorHandling(void)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:32: multiple definition of `WiFiErrorHandling(void)'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:28: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:14: multiple definition ofccount'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:15: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o: in function
InitWifi()': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:88: multiple definition ofInitWifi()'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:107: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:14: multiple definition of
forOne'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:15: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:14: multiple definition offorTwo'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:15: first defined here c:/users/frank/.platformio/packages/toolchain-xtensa-esp32s3/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: .pio/build/wt32-sc01-plus/src/wifi/init_wifi.cpp.o: in function
ChangeWifiState(bool)': C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/wifi/init_wifi.cpp:142: multiple definition of `ChangeWifiState(bool)'; .pio/build/wt32-sc01-plus/src/Managers/WiFiManager/wifi_manager.cpp.o:C:\Users\Frank\OneDrive\Documenten\PlatformIO\Projects\WT32-SC01-PLUS\WT32-SC01-PLUS/src/Managers/WiFiManager/wifi_manager.cpp:170: first defined here collect2.exe: error: ld returned 1 exit status *** [.pio\build\wt32-sc01-plus\firmware.elf] Error 1 ======================================================================================== [FAILED] Took 34.35 seconds ========================================================================================What should I move around to make it work? Thanks in advance, Frank