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

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
barmeier
Posts: 5
Joined: Thu Aug 13, 2020 7:54 pm

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

Post 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 ?
barmeier
Posts: 5
Joined: Thu Aug 13, 2020 7:54 pm

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

Post 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
Sang15512
Posts: 1
Joined: Tue Aug 25, 2020 10:02 pm

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

Post by Sang15512 »

most accurate .22 rifle scope Great Information.Thanks for sharing
Post Reply