Created
November 17, 2018 21:13
-
-
Save conklech/8c928810cc910c6b64a736c1cb9167a1 to your computer and use it in GitHub Desktop.
Minimal test case for deep+ failure with LDF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Executing task: C:\Users\chris\.platformio\penv\Scripts\platformio.exe run --verbose < | |
Processing megaatmega2560 (platform: atmelavr; lib_ldf_mode: deep+; board: megaatmega2560; framework: arduino) | |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html | |
PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) | |
HARDWARE: ATMEGA2560 16MHz 8KB RAM (248KB Flash) | |
Library Dependency Finder -> http://bit.ly/configure-pio-ldf | |
LDF MODES: FINDER(deep+) COMPATIBILITY(soft) | |
Collected 24 compatible libraries | |
Scanning dependencies... | |
Dependency Graph | |
|-- <SD> 1.1.1 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD) | |
| |-- <Robot Control> 1.0.3 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control) | |
| | |-- <SPI> 1.0 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI) | |
| | |-- <Wire> 1.0 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire) | |
|-- <Robot Control> 1.0.3 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control) | |
| |-- <SPI> 1.0 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI) | |
| |-- <Wire> 1.0 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire) | |
avr-g++ -o .pioenvs\megaatmega2560\src\main.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -Isrc -Iinclude -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega src\main.cpp | |
avr-g++ -o .pioenvs\megaatmega2560\lib747\SPI\SPI.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src\SPI.cpp | |
avr-g++ -o .pioenvs\megaatmega2560\liba45\Wire\Wire.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src\Wire.cpp | |
avr-gcc -o .pioenvs\megaatmega2560\liba45\Wire\utility\twi.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src\utility\twi.c | |
avr-g++ -o .pioenvs\megaatmega2560\libf55\Robot_Control\ArduinoRobot.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp | |
avr-gcc-ar rc .pioenvs\megaatmega2560\lib747\libSPI.a .pioenvs\megaatmega2560\lib747\SPI\SPI.cpp.o | |
avr-gcc-ar rc .pioenvs\megaatmega2560\liba45\libWire.a .pioenvs\megaatmega2560\liba45\Wire\Wire.cpp.o .pioenvs\megaatmega2560\liba45\Wire\utility\twi.c.o | |
avr-g++ -o .pioenvs\megaatmega2560\libf55\Robot_Control\Arduino_LCD.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src | |
-IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\Arduino_LCD.cpp | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp: In constructor 'RobotControl::RobotControl()': | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:26:42: error: 'LCD_CS' was not declared in this scope | |
RobotControl::RobotControl():Arduino_LCD(LCD_CS,DC_LCD,RST_LCD){ | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:26:49: error: 'DC_LCD' was not declared in this scope | |
RobotControl::RobotControl():Arduino_LCD(LCD_CS,DC_LCD,RST_LCD){ | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:26:56: error: 'RST_LCD' was not declared in this scope | |
RobotControl::RobotControl():Arduino_LCD(LCD_CS,DC_LCD,RST_LCD){ | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp: In member function 'void RobotControl::begin()': | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:36:21: error: 'MUXA' was not declared in this scope | |
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD}; | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:36:26: error: 'MUXB' was not declared in this scope | |
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD}; | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:36:31: error: 'MUXC' was not declared in this scope | |
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD}; | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:36:36: error: 'MUXD' was not declared in this scope | |
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD}; | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:37:29: error: 'MUX_IN' was not declared in this scope | |
Multiplexer::begin(MuxPins,MUX_IN,4); | |
^ | |
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\ArduinoRobot.cpp:40:10: error: 'BUZZ' was not declared in this scope | |
pinMode(BUZZ,OUTPUT); | |
^ | |
avr-g++ -o .pioenvs\megaatmega2560\libf55\Robot_Control\Compass.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\Compass.cpp | |
avr-g++ -o .pioenvs\megaatmega2560\libf55\Robot_Control\EEPROM_I2C.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\Wire\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\Robot_Control\src\EEPROM_I2C.cpp | |
*** [.pioenvs\megaatmega2560\libf55\Robot_Control\ArduinoRobot.cpp.o] Error 1 | |
=========================================================================================================================== [ERROR] Took 2.16 seconds =========================================================================================================================== | |
The terminal process terminated with exit code: 1 | |
Terminal will be reused by tasks, press any key to close it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <SD.h> // Adding this include triggers inclusion of Robot_Control with deep+ library dependency resolution | |
void setup() { | |
// put your setup code here, to run once: | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; PlatformIO Project Configuration File | |
; | |
; Build options: build flags, source filter | |
; Upload options: custom upload port, speed and extra flags | |
; Library options: dependencies, extra library storages | |
; Advanced options: extra scripting | |
; | |
; Please visit documentation for the other options and examples | |
; https://docs.platformio.org/page/projectconf.html | |
[env:megaatmega2560] | |
platform = atmelavr | |
board = megaatmega2560 | |
framework = arduino | |
lib_ldf_mode = deep+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment