Error uploading files to Keywish BLE Nano

Hello, can someone please help. This is my first time writing a Arduino program and I am having issues uploading it to my Arduino. I am getting the following error:

Arduino: 1.8.8 (Windows 10), Board: "Arduino Nano, ATmega328P"

WARNING: library ArduinoBLE claims to run on (samd, megaavr, mbed, apollo3) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).
D:\Users\Johnson's\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:33:2: error: #error "Unsupported board selected!"

#error "Unsupported board selected!"

^

D:\Users\Johnson's\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:99:40: error: 'SerialHCI' was not declared in this scope

HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);

                                    ^

exit status 1
Error compiling for board Arduino Nano.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

The BLE Nano is NOT an NANO, if you go to the manufacturers web site and follow the installation instructions, it will be added to the boards list.

The Amazon instructions say to program the board as a Arduino Nano, which is what I’ve been trying. It also says to install the CC2540 driver, but I can’t find that.

What amazon instructions? You have not given us much to work with, have you?

Sorry.

This is the unit I purchased. There are instructions on one of the pictures in the ad.

https://www.amazon.com/gp/product/B07Z3J74Q7/ref=ppx_yo_dt_b_asin_title_o08_s01?ie=UTF8&psc=1

Go here, scroll down to Driver Installation

Hi @gjohnson7771. The ArduinoBLE library is only for use with the nRF52840-based Arduino boards (Nano 33 BLE) and the Arduino boards that use a u-blox NINA-W102 module (Arduino Nano 33 IoT, MKR WiFi 1010). The library can't be used with your 3rd party board.. You will either need to control the CC2540 directly using AT commands sent over Serial, or else find an Arduino library that supports the C2540.

You can search for a library in the Arduino IDE's Library Manager (Sketch > Include Library > Manage Libraries....

Ok, well it looks like removing the ArduinoBLE Libary allowed me to upload the program to the board. Now, I have to figure out what I am missing to connect via Bluetooth.

@gjohnson7771, your topic has been moved to a more suitable location on the forum. Programming problems have nothing to do with uploads :wink:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.