Arduino IDE and header files & Redboard Turbo

Recently purchased a Redboard Turbo and trying to do some simple things with it with very little luck

https://learn.sparkfun.com/tutorials/re … 1554642607

Followed the directions on the above mentioned sites and I keep getting header errors.

Arduino: 1.8.9 (Windows 10), Board: “SparkFun RedBoard Turbo”
In file included from sketch\sketch_may17a.ino.cpp:1:0:
C:\Users\david\AppData\Local\Arduino15\packages\SparkFun\hardware\samd\1.6.1\cores\arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory
#include “sam.h”
compilation terminated.

If I fix this issue by copying the sam.h file from it’s current location to the arduino directory I’ll end up with yet another file that is missing. I’ve done this with up to 6 files and things go south from there. I’ve uninstalled and re-installed the IDE multiple times. I’ve followed the instruction on this page https://stackoverflow.com/questions/373 … ino-sketch and that didn’t help.

This is the code I’m trying to run

const int BLUE_LED = 13; // Blue "stat" LED on pin 13
const int RX_LED = PIN_LED_RXL; // RX LED on pin 25, we use the predefined PIN_LED_RXL to make sure
const int TX_LED = PIN_LED_TXL; // TX LED on pin 26, we use the predefined PIN_LED_TXL to make sure

bool ledState = LOW;

void setup() 
{
  pinMode(BLUE_LED, OUTPUT);
  pinMode(RX_LED, OUTPUT);
  pinMode(TX_LED, OUTPUT);
  digitalWrite(RX_LED, HIGH);
  digitalWrite(TX_LED, HIGH);
  digitalWrite(BLUE_LED, LOW);
}

void loop() 
{
  digitalWrite(RX_LED, LOW); // RX LED on
  delay(333);
  digitalWrite(RX_LED, HIGH); // RX LED off
  digitalWrite(TX_LED, LOW); // TX LED on
  delay(333);
  digitalWrite(TX_LED, HIGH); // TX LED off
  digitalWrite(BLUE_LED, HIGH); // Blue LED on
  delay(333);
  digitalWrite(BLUE_LED, LOW); // Blue LED off
}

Hi David,

That was a mistake in a deploy for our SAMD core late last week. It should be fixed now so try either re-installing the SparkFun SAMD board definitions or rolling back to a previous version and then update to the current version and that should resolve the issue.

Let us know if you continue to have issues or have any other questions about the RedBoard Turbo and we would be happy to help.