Skip to content

Instantly share code, notes, and snippets.

@eiginn

eiginn/out Secret

Created January 31, 2017 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eiginn/99dbfa171206a8807d7ead2cb7e5629d to your computer and use it in GitHub Desktop.
Save eiginn/99dbfa171206a8807d7ead2cb7e5629d to your computer and use it in GitHub Desktop.
[vaelen:~/Arduino/ble_animation_test]$ platformio run -v
[Tue Jan 31 20:10:54 2017] Processing adafruit_feather_m0_usb (platform: atmelsam, lib_deps: FastLED, Adafruit BluefruitLE nRF51, Blynk, SimpleTimer, build_flags: -DARDUINO_SAMD_ZERO, board: adafruit_feather_m0_usb, framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Library Storage: /home/vaelen/Arduino/ble_animation_test/.piolibdeps
LibraryManager: Installing id=126
FastLED @ 3.1.4 is already installed
LibraryManager: Installing id=177
Adafruit BluefruitLE nRF51 @ 1.9.4 is already installed
LibraryManager: Installing id=415
Blynk @ 0.4.4 is already installed
LibraryManager: Installing id=419
SimpleTimer @ b30890b8f7 is already installed
arm-none-eabi-g++ -o "/home/vaelen/Arduino/ble_animation_test/src/feather_m0_ble_test.ino.cpp" -x c++ -fpreprocessed -dD -E "/tmp/tmppLcIF8"
Collected 10 compatible libraries
Looking for dependencies...
Library Dependency Graph
|-- <FastLED> v3.1.4 (/home/vaelen/Arduino/ble_animation_test/.piolibdeps/FastLED_ID126)
|-- <Adafruit BluefruitLE nRF51> v1.9.4 (/home/vaelen/Arduino/ble_animation_test/.piolibdeps/Adafruit BluefruitLE nRF51_ID177)
| |-- <SPI> v1.0 (/home/vaelen/.platformio/packages/framework-arduinosam/libraries/__cores__/arduino_samd/SPI)
|-- <Blynk> v0.4.4 (/home/vaelen/Arduino/ble_animation_test/.piolibdeps/Blynk_ID415)
|-- <SimpleTimer> (/home/vaelen/Arduino/ble_animation_test/.piolibdeps/SimpleTimer_ID419)
|-- <SAMD_AnalogCorrection> v1.0 (/home/vaelen/.platformio/packages/framework-arduinosam/libraries/__cores__/arduino_samd/SAMD_AnalogCorrection)
|-- <SPI> v1.0 (/home/vaelen/.platformio/packages/framework-arduinosam/libraries/__cores__/arduino_samd/SPI)
arm-none-eabi-g++ -o .pioenvs/adafruit_feather_m0_usb/src/feather_m0_ble_test.ino.o -c -fno-rtti -fno-exceptions -std=gnu++11 -fno-threadsafe-statics -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DPLATFORMIO=30201 -D__SAMD21G18A__ -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARDUINO=10611 -DUSB_VID=0x239A -DUSB_PID=0x800B "-DUSB_PRODUCT=\"Adafruit Feather M0\"" -DUSB_MANUFACTURER=\"Adafruit\" -I/home/vaelen/.platformio/packages/framework-arduinosam/cores/arduino_samd -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS/CMSIS/Include -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS-Atmel/CMSIS/Device/ATMEL -I/home/vaelen/.platformio/packages/framework-arduinosam/variants/arduino_zero -I.piolibdeps/FastLED_ID126 -I/home/vaelen/.platformio/packages/framework-arduinosam/libraries/__cores__/arduino_samd/SPI "-I.piolibdeps/Adafruit BluefruitLE nRF51_ID177" "-I.piolibdeps/Adafruit BluefruitLE nRF51_ID177/utility" -I.piolibdeps/Blynk_ID415/src -I.piolibdeps/SimpleTimer_ID419 -I/home/vaelen/.platformio/packages/framework-arduinosam/libraries/__cores__/arduino_samd/SAMD_AnalogCorrection/src -Isrc src/feather_m0_ble_test.ino.cpp
In file included from /home/vaelen/Arduino/ble_animation_test/src/feather_m0_ble_test.ino:13:0:
.piolibdeps/FastLED_ID126/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.003
# pragma message "FastLED version 3.001.003"
^
arm-none-eabi-g++ -o .pioenvs/adafruit_feather_m0_usb/FrameworkArduino/SERCOM.o -c -fno-rtti -fno-exceptions -std=gnu++11 -fno-threadsafe-statics -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DPLATFORMIO=30201 -D__SAMD21G18A__ -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARDUINO=10611 -DUSB_VID=0x239A -DUSB_PID=0x800B "-DUSB_PRODUCT=\"Adafruit Feather M0\"" -DUSB_MANUFACTURER=\"Adafruit\" -I/home/vaelen/.platformio/packages/framework-arduinosam/cores/arduino_samd -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS/CMSIS/Include -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS-Atmel/CMSIS/Device/ATMEL -I/home/vaelen/.platformio/packages/framework-arduinosam/variants/arduino_zero /home/vaelen/.platformio/packages/framework-arduinosam/cores/arduino_samd/SERCOM.cpp
arm-none-eabi-g++ -o .pioenvs/adafruit_feather_m0_usb/FrameworkArduino/Stream.o -c -fno-rtti -fno-exceptions -std=gnu++11 -fno-threadsafe-statics -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DPLATFORMIO=30201 -D__SAMD21G18A__ -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARDUINO=10611 -DUSB_VID=0x239A -DUSB_PID=0x800B "-DUSB_PRODUCT=\"Adafruit Feather M0\"" -DUSB_MANUFACTURER=\"Adafruit\" -I/home/vaelen/.platformio/packages/framework-arduinosam/cores/arduino_samd -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS/CMSIS/Include -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS-Atmel/CMSIS/Device/ATMEL -I/home/vaelen/.platformio/packages/framework-arduinosam/variants/arduino_zero /home/vaelen/.platformio/packages/framework-arduinosam/cores/arduino_samd/Stream.cpp
arm-none-eabi-g++ -o .pioenvs/adafruit_feather_m0_usb/FrameworkArduino/Tone.o -c -fno-rtti -fno-exceptions -std=gnu++11 -fno-threadsafe-statics -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m0plus -nostdlib --param max-inline-insns-single=500 -DF_CPU=48000000L -DUSBCON -DPLATFORMIO=30201 -D__SAMD21G18A__ -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_FEATHER_M0 -DARDUINO_SAMD_ZERO -DARDUINO=10611 -DUSB_VID=0x239A -DUSB_PID=0x800B "-DUSB_PRODUCT=\"Adafruit Feather M0\"" -DUSB_MANUFACTURER=\"Adafruit\" -I/home/vaelen/.platformio/packages/framework-arduinosam/cores/arduino_samd -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS/CMSIS/Include -I/home/vaelen/.platformio/packages/framework-arduinosam/system/arduino_samd/CMSIS-Atmel/CMSIS/Device/ATMEL -I/home/vaelen/.platformio/packages/framework-arduinosam/variants/arduino_zero /home/vaelen/.platformio/packages/framework-arduinosam/cores/arduino_samd/Tone.cpp
/home/vaelen/Arduino/ble_animation_test/src/feather_m0_ble_test.ino:31:17: error: 'A7' was not declared in this scope
#define VBATPIN A7
^
/home/vaelen/Arduino/ble_animation_test/src/feather_m0_ble_test.ino:54:29: note: in expansion of macro 'VBATPIN'
Battery battery(3200, 4200, VBATPIN);
^
/home/vaelen/Arduino/ble_animation_test/src/feather_m0_ble_test.ino: In function 'void setup()':
/home/vaelen/Arduino/ble_animation_test/src/feather_m0_ble_test.ino:83:24: warning: 'void BlynkStream::begin(const char*, Stream&)' is deprecated (declared at .piolibdeps/Blynk_ID415/src/Adapters/BlynkSerial.h:90) [-Wdeprecated-declarations]
Blynk.begin(auth, ble);
^
*** [.pioenvs/adafruit_feather_m0_usb/src/feather_m0_ble_test.ino.o] Error 1
================================================================================================================== [ERROR] Took 1.40 seconds ==================================================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment