If you try to load and run any of the example code from the adafruit neopixel you get this error on the photon 2.
../hal/tron/pinmap_defines.h:38:29: invalid user-defined conversion from 'int' to 'SPIClass&' [-fpermissive]
error
../hal/tron/pinmap_defines.h:38:29: invalid conversion from 'int' to 'hal_spi_interface_t' [-fpermissive]
error
../hal/tron/pinmap_defines.h:38:29: invalid conversion from 'int' to 'hal_spi_interface_t' [-fpermissive]
error
rgbw-strandtest.ino:47:59: conversion to non-const reference type 'class SPIClass&' from rvalue of type 'SPIClass' [-fpermissive]