sudomesh / disaster-radio

A (paused) work-in-progress long-range, low-bandwidth wireless disaster recovery mesh network powered by the sun.
https://disaster.radio
1.04k stars 110 forks source link

warning? Errors? compiling $pio run #90

Open zerotrzy opened 3 years ago

zerotrzy commented 3 years ago

$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

paidforby commented 3 years ago

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 :stuck_out_tongue_closed_eyes: