sudomesh/disaster-radio

warning? Errors? compiling $pio run

zerotrzy opened this issue · 1 comments

$pio run

Compiling .pio/build/ttgo-lora32-v2/src/main.ino.cpp.o
In file included from /home/disaster-radio/firmware/main.ino:20:0:
config.h:29:0: warning: "OLED_SDA" redefined
 #define OLED_SDA 21
 ^
[...]
 this is the location of the previous definition
 #define OLED_SDA 4

and next errors

but

Linking .pio/build/ttgo-lora32-v2/firmware.elf
Retrieving maximum program size .pio/build/ttgo-lora32-v2/firmware.elf
Building .pio/build/ttgo-lora32-v2/firmware.bin

Hey @zerotrzy, do you have a problem completing the build, or are you just pointing out that the compiler generates a number of warnings, but the build is successful. I've noticed this also, but I haven't had time to dig in and resolve the warnings, I have a hard enough time keeping up with the bugs 😝