Page 1 of 1

[Solved] Newbie Question: Which board to select on arduino IDE on MacOSX Catalina

Posted: Thu Aug 13, 2020 8:08 pm
by barmeier
Hi,

I have purchased a Freematics ONE+ Model H and now I am trying to upload the can_sniffer sketch to the device.
The can_sniffer sketch was downloaded from: https://github.com/stanleyhuangyc/Freematics

I am using MacOSX Catalina with the Arduino IDE 1.8.13. The FeematicsPlus library is installed from: https://github.com/stanleyhuangyc/Freematics too.

The esspressif boards are installed following this guide: https://github.com/espressif/arduino-es ... manager.md

When I try to compile this I get tons of errors like this:

Code: Select all

In file included from /Users/xxx/Projects/Arduino/libraries/FreematicsPlus/FreematicsPlus.h:16:0,
                 from /Users/xxx/Downloads/Freematics-master/firmware_v5/can_sniffer/can_sniffer.ino:18:
/Users/xxx/Projects/Arduino/libraries/FreematicsPlus/FreematicsNetwork.h:22:16: error: redeclaration of 'METHOD_GET'
   METHOD_GET = 0,
What am I missing ?

Re: [Solved] Newbie Question: Which board to select on arduino IDE on MacOSX Catalina

Posted: Thu Aug 13, 2020 8:36 pm
by barmeier
Hi again,

just for the records:
the correct answer is, don't import two times the .h file :( Sorry for asking.
Second part of the question: ESP32 Dev module uploads the file successfully.

Bye, Matze

Re: [Solved] Newbie Question: Which board to select on arduino IDE on MacOSX Catalina

Posted: Tue Aug 25, 2020 10:08 pm
by Sang15512
most accurate .22 rifle scope Great Information.Thanks for sharing