Seeed-Studio / Seeed_Arduino_Mic

Apache License 2.0
22 stars 7 forks source link

Mic serial plotter shows errors #5

Open luvwinnie opened 2 years ago

luvwinnie commented 2 years ago

I tried to upload the mic_serial_plotter.ino to nRF52840 BLE Sense without Seeeduino XIAO Expansion board. However, it shows the following error on macOS.

 #error "This library targets only Wio Terminal boards at the moment"
  ^~~~~
exit status 1
Error compiling for board Seeed XIAO BLE Sense - nRF52840.

How can I solve this? 

omidz97 commented 1 year ago

I tried to upload the mic_serial_plotter.ino to nRF52840 BLE Sense without Seeeduino XIAO Expansion board. However, it shows the following error on macOS.

 #error "This library targets only Wio Terminal boards at the moment"
  ^~~~~
exit status 1
Error compiling for board Seeed XIAO BLE Sense - nRF52840.

How can I solve this?

You must select "Seeed XIAO BLE Sense - nRF52840" board from the tools menu. Go to Tools > Board > Select "Seeed XIAO BLE Sense - nRF52840" option .

If you don't see this option, first you must install the board package: To navigate to File > Preferences, and fill “Additional Boards Manager URLs” with the URL below: _https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json_ Navigate to Tools > Board > Boards Manager, type the keyword “seeed nrf52” in the search box, select the latest version of Seeed nRF52 Boards, and install it. After installing the board package, navigate to Tools > Board > Seeed nRF Boards and select “Seeed XIAO BLE – nRF52840“.

Now you should be able to compile correctly.

street-grease-coder commented 9 months ago

I have the same issue with the correct board selected...

bigbearishappy commented 1 month ago

This demo code of nrf52840 is based on mbed os. So when we select the board, we should select it under Seeed nRF 52 mbed-enabled Boards.

Tools->Board->Seeed nRF 52 mbed-enabled Boards->...

Then it should be able to compile.