Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SPinj
Beginner
1,149 Views

SD CARD Sketch giving error.?

Jump to solution

I have placed SD card in SD card slot provided in Intel Galileo board. The follwoing sketch to start data logging is giving warning and errors.Why.which is the correct sketch CaRD }

Serial.println("card initialized.");

}

void loop() {

// put your main code here, to run repeatedly:

}

Warning: platform.txt from core 'Arduino i586 Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.

Board Intel:i586:izmir_fg doesn't define a 'build.board' preference. Auto-set to: I586_IZMIR_FG

Board Intel:i586:izmir_fd doesn't define a 'build.board' preference. Auto-set to: I586_IZMIR_FD

WARNING: Category '' in library DallasTemperature is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library EEPROM is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library Ethernet is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library EthernetShield is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library SD is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library Servo is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library TimerOne is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library USBHost is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library WiFi is not valid. Setting to 'Uncategorized'

In file included from /home/slpinjare/Downloads/arduino-1.6.6/libraries/SD/src/utility/Sd2Card.h:26:0,

from /home/slpinjare/Downloads/arduino-1.6.6/libraries/SD/src/utility/SdFat.h:29,

from /home/slpinjare/Downloads/arduino-1.6.6/libraries/SD/src/SD.h:20,

from /root/Arduino/sketch_nov22c/sketch_nov22c.ino:1:

/home/slpinjare/Downloads/arduino-1.6.6/libraries/SD/src/utility/Sd2PinMap.h:371:2: error: # error Architecture or board not supported.

Multiple libraries were found for "SD.h"

Used: /home/slpinjare/Downloads/arduino-1.6.6/libraries/SD

Not used: /root/.arduino15/packages/Intel/hardware/i586/1.6.2+1.0/libraries/SD

exit status 1

Error compiling.

1 Solution
Diego_V_Intel
Employee
129 Views

Hello sampat,

I recommend you to use the Arduino IDE 1.6.0 version. It can be downloaded from the following site: http://downloadmirror.intel.com/24783/eng/IntelArduino-1.6.0-Windows.7z http://downloadmirror.intel.com/24783/eng/IntelArduino-1.6.0-Windows.7z

The Arduino IDE 1.6.6 that you are using presents issues that have been already reported. Anyhow, the Arduino IDE 1.6.0 is the most stable version to work with Galileo and Edison boards.

Regards,

Diego.

View solution in original post

2 Replies
FTinetti
Honored Contributor I
129 Views

Hi,

I don't see the sketch... please post.

Are you trying to use a sketch already tested on an Arduino card or it is a brand new (for Galileo) one?

Fernando.

Diego_V_Intel
Employee
130 Views

Hello sampat,

I recommend you to use the Arduino IDE 1.6.0 version. It can be downloaded from the following site: http://downloadmirror.intel.com/24783/eng/IntelArduino-1.6.0-Windows.7z http://downloadmirror.intel.com/24783/eng/IntelArduino-1.6.0-Windows.7z

The Arduino IDE 1.6.6 that you are using presents issues that have been already reported. Anyhow, the Arduino IDE 1.6.0 is the most stable version to work with Galileo and Edison boards.

Regards,

Diego.

View solution in original post

Reply