Error compiling for board Arduino Nano 33 BLE

Hi @personnnnn123121 It seems that an incompatibility was introduced in the 2.0.0 release of the Arduino Mbed OS board platform of the Nano 33 BLE.

You can resolve this by using the previous version. Please try this:

  1. Select Tools > Board > Boards Manager from the Arduino IDE"s menus.
  2. Wait for the update to finish.
  3. Scroll down through the list of available boards platforms until you see "[Deprecated - Please install standalone packages] Arduino Mbed OS Boards". Click on it.
  4. Click the "Install" button.
  5. Wait for the installation to finish.
  6. Click the "Close" button.
  7. Select Tools > Board > Arduino Mbed OS Boards (nRF52840 / STM32H747 > Arduino Nano 33 BLE from the Arduino IDE's menus.

Now try compiling the Sweep sketch again.

Note that, due to the current unique circumstances where the Arduino Mbed OS Boards platform was split into board -specific variants, you will still have the new "Arduino Mbed OS Nano Boards" platform available under the Tools > Board menu, so you can decide when you want to use the old 1.3.2 version or the new 2.0.0 version of the boards platform at will. If you eventually decide you want to uninstall one, you can do that by clicking the "Remove" button in Boards Manager.