I've revisited this Moteino stuff after several years of down time. Hitting some problems and could use some advice...
I'm on OSX
I've installed the Arduino IDE and downloaded the following libraries through either git clone or download zips:
/Users/xxx/Documents/Arduino/libraries
drwxr-xr-x 8 xxx staff 272 Sep 23 12:51 Adafruit_Circuit_Playground
drwxr-xr-x 20 xxx staff 680 Sep 23 12:51 Firmata
drwxr-xr-x 9 xxx staff 306 Sep 22 20:14 LCD_C0220BIZ
drwxr-xr-x 8 xxx staff 272 Sep 22 20:46 LowPower
drwxr-xr-x 17 xxx staff 578 Sep 22 19:51 RFM69
drwxr-xr-x 9 xxx staff 306 Sep 23 12:51 SPIFlash
-rw-r--r-- 1 xxx staff 87 Sep 22 19:06 readme.txt
I copied the samples for the Gateway and MotionMote along with a couple of others up one level to the base directory so they are more like main apps rather than libs...
/Users/xxx/Documents/Arduino
drwxr-xr-x 4 xxx staff 136 Sep 22 20:44 JoeGateway. <-- this was a copy of PiGateway to solve an error noted below
drwxr-xr-x 3 xxx staff 102 Sep 22 19:04 MightyHat
drwxr-xr-x 6 xxx staff 204 Sep 22 21:29 MotionMote
drwxr-xr-x 4 xxx staff 136 Sep 22 19:04 PiGateway
drwxr-xr-x 7 xxx staff 238 Sep 22 19:04 SonarMote
drwxr-xr-x 10 xxx staff 340 Sep 23 12:51 libraries
I had this working yesterday but today (after doing the IDE update of a few libs) I am getting errors.
1) Gateway
First, I had to create a new directory with a new name for the ino with just one version (non-lcd version) in the folder. I saw a posting about this but don't understand why having both versions of the gateway caused problems. Let's table this for now because now the next error is giving more pressing problems.
2) Gateway - This error was solved. Wrong SPIFlash version was somehow downloaded.
Arduino: 1.8.4 (Mac OS X), Board: "Arduino/Genuino Uno"
In file included from /Users/xxx/Documents/Arduino/libraries/SPIFlash/src/SPIFlash.h:51:0,
from /Users/xxx/Documents/Arduino/libraries/RFM69/RFM69_OTA.h:51,
from /Users/xxx/Documents/Arduino/JoeGateway/JoeGateway.ino:34:
/Users/xxx/Documents/Arduino/libraries/SPIFlash/src/defines.h:56:0: warning: "B1" redefined
#define B1 1L
^
In file included from /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:32:0,
from sketch/JoeGateway.ino.cpp:1:
/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/binary.h:31:0: note: this is the location of the previous definition
#define B1 1
^
/Users/xxx/Documents/Arduino/JoeGateway/JoeGateway.ino: In function 'void setup()':
JoeGateway:97: error: 'class SPIFlash' has no member named 'initialize'
if (flash.initialize())
^
exit status 1
'class SPIFlash' has no member named 'initialize'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
3) MotionMote
I copied the .h file from the referenced URL and put it into the directory but was still getting file not found errors. I see it in a second tab in the IDE.
-rw-r--r-- 1 josephflynn staff 3692761 Sep 22 19:04 LasercutCase_R3.dxf
-rw-r--r-- 1 josephflynn staff 10072 Sep 22 21:29 MotionMote.ino
drwxr-xr-x 5 josephflynn staff 170 Sep 22 19:04 OLD
-rw-r--r--@ 1 josephflynn staff 5412 Sep 22 20:49 SparkFunBME280.h
I just commented out the include and it compiles. Seems wrong though.
#//include <SparkFunBME280.h> //get it here: https://github.com/sparkfun/SparkFun_BME280_Breakout_Board/tree/master/Libraries/Arduino/src
For #2, Does this look right for SPIFlash? Maybe the tool is grabbing the wrong version?
(https://lh3.googleusercontent.com/7POFQRmrs1cKMKtP3oXihhEQ6qPoWF_cqfgM_BG1sH1wVlC6QVemOKHLNNVThaITNgy2vpOBr9NxarREqEuEt3Z3bu43WevyH7TVU122U6eVeQAbHfjWoqpt5pqUR3jtYbq3yUR0oo4e-BvlV_SW43Bpaoe64Zo3Szivq74QiLSwEE1dTxAgGLqMVkxlRko3phFAmXiqzwtoa5DbH-y2ytG2-owfSxIuNX3-AtUglWHYwq8-dCh33vPSeKJNceRIfHUfujKOgSfmDuSJmPSXw9EqQ1M6itxVziW-9WBQ5cghRudyEjhj9SD86-jGnR8rr0bGf4G-7htHWY5oryvM3jmKeH8rFZwvTOhtu0e9l_gROaqbX1tkGtztw0wnGdCLtRvqTfijMoN8zrR-Q9rqxuKu64oot2hPgox7yg0H7GVS3E7lwPcTpQbEvrU_xDtRuGSv4HqBwwSIxcd12GkELfsSmsZheT27vVL_4GLzElIs802qkNg2iwP2TQq4MsLREL2ROZYileKibAoJ5jyEyPEUPQt8vHlSOvXPT7rmdXHKF793inm4ylae6CHRrX2yqFOY_4d1Ifki-8A6uiqiTzCjcf_I7KVHIKjl3Jhj6Q=w789-h283-no)
Edit - that was it for #2. Somehow I ended up with the wrong SPIFlash library in my library directory. I could have sworn I got the one from Felix's github. Could the aruido IDE Lib update process have replaced it??
I think you just need to review and understand where and how the libraries are installed.
Unfortunately for SPIFlash, some guy decided it's a brilliant idea to create a completely different library called SPIFlash, same name as my SPIFlash, I tried to open an issue in his repo but never bothered to respond. Maybe I will end up renaming mine, although that's going to cause lots of work and pain.