Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno" Error reading file (E

Arduino: 1.8.8 (Windows 10), Board: "Arduino/Genuino Uno"

Error reading file (E:\arduino\arduino-1.8.8\hardware\arduino\avr\boards.txt:0): Invalid line format, should be 'key=value'

Error compiling for board Arduino/Genuino Uno.[/b]

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I was trying to do this experiment: WireBeings

but with arduino Uno.

http://www.geeetech.com/wiki/index.php/Iduino_Yun_Shield

Please help (also short do you short the two pins properly?)

programmers.txt (3.3 KB)

board.txt (834 Bytes)

boards.txt (31.5 KB)

platform.txt (7.45 KB)

PLEASE42:
Error reading file (E:\arduino\arduino-1.8.8\hardware\arduino\avr\boards.txt:0): Invalid line format, should be 'key=value'

The cause of this error is that you have your text editor set to UTF-8 BOM encoding. You need to set it to UTF-8 encoding and then save the file.

This part of the tutorial is wrong:

  1. Add board type in the file: Arduino\hardware\arduino\avr\board.txt, as below, and reopen the Arduino IDE:

as well as everywhere else it talks about "board.txt". The correct filename is "boards.txt". The Arduino IDE will ignore a file named "board.txt".

It's really sad that a company selling Arduino hardware products doesn't even have the basic understanding of how the Arduino IDE works with hardware definitions. The correct way for them to have done this would have been to provide a Boards Manager installation of the custom boards. The current system won't even work if you have installed a different version of Arduino AVR Boards via Boards Manager. It also will cause all of the customizations to be lost any time you update to a new version of the Arduino IDE or Arduino AVR Boards. It also makes it easy to break the normal functionality through errors like the one you encountered.

Thank you so much <3.

it was on UTF-8 BOM as others suggested

I have an extra problem tho

no matching function for call to

'TembooChoreo::TembooChoreo()'?

TembooChoreo SendSMSChoreo;

In file included from C:\Users\user\Documents\Arduino\intruderAlarmTest\intruderAlarmTest.ino:6:0:

E:\arduino\arduino-1.8.8\libraries\Temboo\src/Temboo.h:100:9: note: candidate: TembooChoreo::TembooChoreo(Client&)

TembooChoreo(Client& client);

^

E:\arduino\arduino-1.8.8\libraries\Temboo\src/Temboo.h:100:9: note: candidate expects 1 argument, 0 provided

E:\arduino\arduino-1.8.8\libraries\Temboo\src/Temboo.h:94:7: note: candidate: constexpr TembooChoreo::TembooChoreo(const TembooChoreo&)

class TembooChoreo : public Stream {

^

E:\arduino\arduino-1.8.8\libraries\Temboo\src/Temboo.h:94:7: note: candidate expects 1 argument, 0 provided

E:\arduino\arduino-1.8.8\libraries\Temboo\src/Temboo.h:94:7: note: candidate: constexpr TembooChoreo::TembooChoreo(TembooChoreo&&)

E:\arduino\arduino-1.8.8\libraries\Temboo\src/Temboo.h:94:7: note: candidate expects 1 argument, 0 provided

exit status 1 no matching function for call to 'TembooChoreo::TembooChoreo()'

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

TembooChoreo SendSMSChoreo; Error (red highlight)

Please post your full sketch. If possible, you should always post code directly in the forum thread as text using code tags (</> button on the toolbar). This will make it easy for anyone to look at it, which will increase the likelihood of you getting help. If the sketch is longer than the forum will allow then it's OK to add it as an attachment. After clicking the "Reply" button, you will see an "Attachments and other settings" link.

Please always do an Auto Format (Tools > Auto Format in the Arduino IDE or Ctrl + B in the Arduino Web Editor) on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read.

When your code requires a library that's not included with the Arduino IDE please post a link (using the chain links icon on the toolbar to make it clickable) to where you downloaded that library from or if you installed it using Library Manger (Sketch > Include Library > Manage Libraries in the Arduino IDE or Libraries > Library Manager in the Arduino Web Editor) then say so and state the full name of the library.

I can tell you that your code compiles fine if you select Tools > Board > Arduino Yun. However, I don't know whether you can use that board selection for your Leonardo + Yun Shield hardware configuration. Certainly you can't use it for the Uno + Yun Shield. Unfortunately, I don't have any experience with the Yun.

If the TembooAccount.h file you posted contains private information, you should probably change that information in your Temboo account right away to make sure nobody abuses it.

Hello sir, I've managed to find the errors for future people who is gonna try and redo this experiment.
http://wirebeings.com/arduino-intruder-alarm.html

First the it needs the #include <TembooYunShield.h> header.

next I replaced TembooChoreo SendSMSChoreo(which is probably deprecated) into TembooYunShieldChoreo SendSMSChoreo;

also I've tried tampering with the E:\arduino\arduino-1.8.8\libraries\Temboo file, replacing it with the Temboo android java then bringing back the 1.2.1 Temboo file. Since, I can't make the greater than version 2 of temboo work Download :: Temboo.

There are some weird problems notification (but no longer an "error" - since it uploads to the arduino uno or arduino leonardo with the iduino yun board - but a notification error?). That I failed to fix, but the alarm is going in the serial monitor.

I'm still trying to fix the twilio functionality. It keeps saying error 400 connection lost.

ERRORS:

E:\arduino\arduino-1.8.8\libraries\Temboo\src\Temboo.cpp: In member function 'int TembooChoreo::run(IPAddress, uint16_t, uint16_t)':

E:\arduino\arduino-1.8.8\libraries\Temboo\src\Temboo.cpp:309:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

if (!m_client.findUntil("HTTP/1.", HTTP_EOL)) {

^

E:\arduino\arduino-1.8.8\libraries\Temboo\src\Temboo.cpp:329:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

if (m_client.findUntil("x-temboo-time:", HTTP_EOH)) {

^

e:/arduino/arduino-1.8.8/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Console.cpp.o: plugin needed to handle lto object

e:/arduino/arduino-1.8.8/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Mailbox.cpp.o: plugin needed to handle lto object

Sketch uses 11634 bytes (40%) of program storage space. Maximum is 28672 bytes.
Global variables use 917 bytes (35%) of dynamic memory, leaving 1643 bytes for local variables. Maximum is 2560 bytes.

intruderAlarmTest.ino (2.46 KB)

Thanks for sharing your solution!

These warnings:

PLEASE42:

E:\arduino\arduino-1.8.8\libraries\Temboo\src\Temboo.cpp:309:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

if (!m_client.findUntil("HTTP/1.", HTTP_EOL)) {

^

Don't indicate any serious problem and can safely be ignored. In fact, these are caused by a minor bug in Arduino's code, which has since been fixed but not yet released.

This stuff:

PLEASE42:
e:/arduino/arduino-1.8.8/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Console.cpp.o: plugin needed to handle lto object

e:/arduino/arduino-1.8.8/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Mailbox.cpp.o: plugin needed to handle lto object

is very mysterious to me but it's not caused by anything you did. More likely, it's a problem with the avr-gcc 5.4.0 compiler version distributed by Arduino. The sketch compiled successfully so I would just ignore it.