Arduino Nano BLE 33 Sense using with serial usb connection

Having issues with the Arduino Nano MQTT usb serial library. Not detecting the board type when using arduino nano BLE 33 Sense, with the usb connection.

Is it possible only with WIFI library or Ethernet Libraries? or should I shift to using Arduino BLE 33 IOT?

If the board is not detecting then maybe an issue with the board,Arduino nano 33 BLE is not recognized by computer - #9 by arthur1994 - Nano 33 BLE - Arduino Forum

Hi shramik, I checked the board is working with the example codes and getting detected when I use sample codes. But when coming to cayenne usb serial library, I am using the nano Serial connection library. I am getting the issues.

warning- warning: #warning “Cannot detect board type” [-Wcpp]
#warning “Cannot detect board type”

\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:133:56: note: suggested alternative: ‘FPU’
publishData(SYS_CPU_SPEED_TOPIC, CAYENNE_NO_CHANNEL, F_CPU);

should I need to change everything according to the errors?