Picked up a second Photon/Neopixel: Followed exact procedure as the first one; but today the code won't verify/compile. Tried several times; same error:
Any ideas?
Edit: Opened the saved project from yesterday; tried a verify on that, and it failed as well.
Any ideas?
Edit: Opened the saved project from yesterday; tried a verify on that, and it failed as well.
Error: Could not compile. Please review your code.
32+0 records in
32+0 records out
32 bytes (32 B) copied, 0.000572919 s, 55.9 kB/s
4+0 records in
4+0 records out
4 bytes (4 B) copied, 0.0455755 s, 0.1 kB/s
In file included from lib/FastLED/src/FastLED/FastLED.h:1:0,
from /src/atmoorb.cpp:3:
lib/FastLED/src/FastLED/../FastLED.h:12:2: warning: #warning FastLED version 3001000 (Not really a warning, just telling you here.) [-Wcpp]
#warning FastLED version 3001000 (Not really a warning, just telling you here.)
^
In file included from lib/FastLED/src/FastLED/../led_sysdefs.h:16:0,
from lib/FastLED/src/FastLED/../FastLED.h:34,
from lib/FastLED/src/FastLED/FastLED.h:1,
from /src/atmoorb.cpp:3:
lib/FastLED/src/FastLED/../led_sysdefs_arm_stm32.h:26:0: warning: "cli" redefined [enabled by default]
#define cli() __disable_irq(); __disable_fault_irq();
^
In file included from ./inc/application.h:92:0,
from /src/atmoorb.cpp:2:
../wiring/inc/spark_wiring_arduino.h:141:0: note: this is the location of the previous definition
#define cli() (void)HAL_disable_irq()
^
In file included from lib/FastLED/src/FastLED/../led_sysdefs.h:16:0,
from lib/FastLED/src/FastLED/../FastLED.h:34,
from lib/FastLED/src/FastLED/FastLED.h:1,
from /src/atmoorb.cpp:3:
lib/FastLED/src/FastLED/../led_sysdefs_arm_stm32.h:27:0: warning: "sei" redefined [enabled by default]
#define sei() __enable_irq(); __enable_fault_irq();
^
In file included from ./inc/application.h:92:0,
from /src/atmoorb.cpp:2:
../wiring/inc/spark_wiring_arduino.h:136:0: note: this is the location of the previous definition
#define sei() HAL_enable_irq(0)
^
In file included from lib/FastLED/src/FastLED/../led_sysdefs.h:16:0,
from lib/FastLED/src/FastLED/../FastLED.h:34,
from lib/FastLED/src/FastLED/FastLED.h:1,
from /src/atmoorb.cpp:3:
lib/FastLED/src/FastLED/../led_sysdefs_arm_stm32.h:36:32: error: conflicting declaration 'typedef volatile uint8_t RwReg'
typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile unsigned int) */
^
In file included from ./inc/application.h:92:0,
from /src/atmoorb.cpp:2:
../wiring/inc/spark_wiring_arduino.h:153:27: error: 'RwReg' has a previous declaration as 'typedef volatile uint32_t RwReg'
typedef volatile uint32_t RwReg;
^
make[2]: *** [../build/target/user/platform-0-lsrc/atmoorb.o] Error 1
make[1]: *** [user] Error 2
make: *** [main] Error 2
Last edited: