Arduino ide is not recognizing my MKR1010 board

but i dont see anything in the serial plot (any printin commands)

here is my code

#include <Simple_ADXL345.h>
#define ADXL345_SPI_CS_PIN 5

/* Using sensor on SPI mode */
ADXL345 adxl(ADXL345_COMM_SPI, ADXL345_SPI_CS_PIN);

void setup()
{
Serial.begin(9600);

adxl.setFullScaleRange(2);
// adxl.setFullScaleRange(4);
// adxl.setFullScaleRange(8);
// adxl.setFullScaleRange(16);
int range = adxl.getFullScaleRange();
Serial.println(range);

/*
When powered on, the sensor is converting acceleration data and
storing it on it's memory.
You can use the configuration commands before or after powering on.
*/
adxl.powerOn();

/*
This function sets the output data rate, also named sampling frequency.
The ADXL345 sensor supports the following output data rates:

 -> 6.25 Hz
 -> 12.5 Hz
 -> 25 Hz
 -> 50 Hz
 -> 100 Hz
 -> 200 Hz
 -> 400 Hz
 -> 800 Hz
 -> 1600 Hz
 -> 3200 Hz

*/
// adxl.setDataRate(6.25);
// adxl.setDataRate(12.5);
// adxl.setDataRate(25);
// adxl.setDataRate(50);
adxl.setDataRate(100);
// adxl.setDataRate(200);
// adxl.setDataRate(400);
// adxl.setDataRate(800);
// adxl.setDataRate(1600);
// adxl.setDataRate(3200);

int frequency = adxl.getDataRate(); // get the current data rate
Serial.println(frequency);

// adxl.powerOff(); // Stops the acceleration conversion.

/* This function returns the device ID byte. On this sensor,
the device ID is 0xE5h. It's useful to detect if the sensor
is working.
*/
byte devId = adxl.getDeviceId();
Serial.println(devId, HEX);

adxl.enableDebug(); // Enable the debug via serial
adxl.disableDebug(); // Disable the debug via serial

bool debug = adxl.isDebugEnabled(); // Check if the debug is enabled
Serial.println(debug);

adxl.setSerialDebugPort(&Serial); // Set the serial port used for debug
}

void loop()
{

}