2 Replies Latest reply on Nov 23, 2015 7:46 AM by DiegoV_Intel

    SD CARD Sketch giving error.?

    sampat

      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.