OSCSYS / brewtroller

BrewTroller Open Source Brewing Control System
9 stars 15 forks source link

Compiler errors with Arduino 1.6.6 and 1.8.5 #33

Open jimmyorkin opened 4 years ago

jimmyorkin commented 4 years ago

I did not realize there was activity in this brewtroller repository.

I tried three version of the Arduino environment and had errors in two of them.

The old BrewTroller_arduino-1.0.5-r2_Build_1 does compile BT 2.7.12 with many warnings.

I tried Arduino 1.6.6 with the third party board addin and it looks like it compiles the modules but fails on a avr-g++ invocation with a -MMD switch.

When I tried Arduino 1.8.5 it failed on the first compile.

Is there a known good version of the Arduino environment can compile BT 2.7.12?

Thanks.

jimmyorkin commented 4 years ago

The error with Arduino 1.6.6 was related to the Arduino preprocessor. Here is what the error looked like: BrewTroller:350: error: 'structTriggerConfiguration' does not name a type

I found the bug and it was fixed in 1.6.8. I was able to successfully compile with 1.6.8.

noddy99 commented 2 years ago

have you tried compiling and uploading with more recent Arduino builds? I just tried with 1.8.19 and everything seemed ok, but the firmware seems to have a corruption evident only when running. The BT interface works mostly fine, but when you go into menu settings and scroll down you get special characters and the interface freezes. I re-compile and upload a couple of times and got the same results. I then went back to the master build and uploaded with older BTArdino0022 and everything is working fine again. I have a v3.3 board. I'm using a Mac with the arduino 1.8.19 and Windows pc with older BTArduino0022.