FQBN Error with Arduino IDE and CubeCell-Board

Hi all,

I´m pretty new to LoRaWan and trying to make my first baby steps.

There’s one thing that holds me back from flashing my first .ino file to the Heltec CubeCell Board.
Installation of the usb drivers went well, i reinstalled the arduino-ide, downloaded the board-manager URLs.
Once I opened the first example sketch and wanted to upload it to the board, I got the following result:

Arduino: 1.8.10 (Mac OS X), Board: "CubeCell-Board, REGION_EU433, CLASS_A, OTAA, ON, UNCONFIRMED, OFF, ON, ACTIVE"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/beckerm/Library/Arduino15/packages -hardware /Users/beckerm/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/beckerm/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/beckerm/Documents/Arduino/libraries -fqbn=CubeCell:CubeCell:CubeCell-Board:LORAWAN_REGION=4,LORAWAN_CLASS=0,LORAWAN_NETMODE=0,LORAWAN_ADR=0,LORAWAN_UPLINKMODE=1,LORAWAN_Net_Reserve=0,LORAWAN_AT_SUPPORT=0,LORAWAN_RGB=1 -ide-version=10810 -build-path /var/folders/rp/gj513d556cxgt4stn0540kq12sy4m4/T/arduino_build_496334 -warnings=none -build-cache /var/folders/rp/gj513d556cxgt4stn0540kq12sy4m4/T/arduino_cache_338445 -prefs=build.warn_data_percentage=75 -verbose /Users/beckerm/Documents/Arduino/hardware/CubeCell/CubeCell/libraries/LoRa/examples/LoRaWAN/LoRaWan/LoRaWan.ino

Error resolving FQBN: getting

Fehler beim Kompilieren für das Board CubeCell-Board.

Any ideas or helpful ressources i can check out to fix this?

by the way… if I change the board to “CubeCell-capsule” or “CubeCell-Module” and try to compile the code it seems to work fine… ¯_(ツ)_/¯

please try to install the CubeCell Support for the Arduino IDE with the github method as described here:

Hey thanks for the reply!
Is there an equivalent way to do this on OSX?

yers there is:

I just got the new CubeCell-GPS, output from “pyton get.py”

System: Darwin, Info: Darwin-17.7.0-x86_64-i386-64bit
Platform: x86_64-apple-darwin
Downloading CubeCellelftool-0.0.1-macos.tar.gz
Extracting CubeCellelftool-0.0.1-macos.tar.gz
Downloading CubeCellflash-0.0.1-macos.tar.gz
Extracting CubeCellflash-0.0.1-macos.tar.gz
Downloading gcc-arm-none-eabi-8-2019-q3-update-macos.tar.gz
Extracting gcc-arm-none-eabi-8-2019-q3-update-macos.tar.gz

But Arduino IDE says:
Error resolving FQBN: board
Error compiling for board CubeCell-GPS(HTCC-AB02S).

have updated the git version on your mac?

Sorry that wasn’t clear, but yes I did (and Tools->Board now have the new boards to select from).
Some example code compiles if you choose the HTCC-AB01, but nothing that uses the OLED for instance.

Update: I had a bunch of other boards installed, but after moving/renaming ~/Documents/Arduino and ~/Library/Arduino15 and re-installing Arduino and CubeCell everything works again.
Not sure where the conflict was, but I had noticed the library manager having issues (trying to update the same library for instance) so maybe something had gotten corrupted.

It doesnt work for me on OSX… what am I doing wrong?

tools % python get.py
System: Darwin, Info: Darwin-19.6.0-x86_64-i386-64bit
Platform: x86_64-apple-darwin
Downloading CubeCellelftool-0.0.1-macos.tar.gz
Traceback (most recent call last):
File “get.py”, line 158, in
File “get.py”, line 113, in get_tool
urlretrieve(url, local_path, report_progress)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 247, in retrieve
fp = self.open(url, data)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 215, in open
return getattr(self, name)(url)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 366, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 379, in http_error
result = method(url, fp, errcode, errmsg, headers)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 644, in http_error_302
headers, data)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 671, in redirect_internal
return self.open(newurl)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 215, in open
return getattr(self, name)(url)
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py”, line 445, in open_https
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 1065, in endheaders
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 892, in _send_output
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 854, in send
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py”, line 1290, in connect
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py”, line 369, in wrap_socket
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py”, line 599, in init
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py”, line 828, in do_handshake
IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)

for big sur on mac os follow this to update xcode and relocate it first then you can do the config mentioned by ppl above: https://developer.apple.com/forums/thread/666584