I just started using PIO today. Not sure what is messed up but I’m just trying to get “Hello world!” going:
#include <Arduino.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Hello world!");
delay(1000);
}
I get the following from pio run -v
after a fresh install. Any help would be appreciated!
> Executing task in folder HelloWorld: C:\Users\nwgreen\.platformio\penv\Scripts\platformio.exe run --verbose <
Processing lptm4c1230c3pm (platform: titiva; board: lptm4c1230c3pm; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/titiva/lptm4c1230c3pm.html
PLATFORM: TI TIVA 3.0.0 > TI LaunchPad (Tiva C) w/ tm4c123 (80MHz)
HARDWARE: LPTM4C1230C3PM 80MHz, 32KB RAM, 256KB Flash
DEBUG: Current (ti-icdi) On-board (ti-icdi)
PACKAGES:
- framework-energiativa 1.10002.0 (1.0.2)
- toolchain-gccarmnoneeabi 1.40804.0 (4.8.4)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 22 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\src\main.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -Iinclude -Isrc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system
-IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXLThe system cannot find the path specified.
src\main.cpp
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\HardwareSerial.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreThe system cannot find the path specified.
en\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\The system cannot find the path specified.
pacThe system cannot find the path specified.
kagThe system cannot find the path specified.
es\The system cannot find the path specified.
framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\HardwareSerial.cpp
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\IPAddress.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformiThe system cannot find the path specified.
The system cannot find the path specified.
o\pacThe system cannot find the path specified.
kaThe system cannot find the path specified.
ges\framework-The system cannot find the path specified.
energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\fC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\Stream.cpp: In member function 'bool Stream::find(char*)':
ramework-energiatiC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\Stream.cpp:78:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
va\sy return findUntil(target, "");
stem\d ^
riverlib *** [.pio\build\lptm4c1230c3pm\src\main.cpp.o] Error 1
-IIn file included from C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\IPAddress.cpp:3:0:
C:C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac/IPAddress.h: In member function 'IPAddress::operator uint32_t()':
\Users\nwgreen\.platformio\packaC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac/IPAddress.h:51:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
ge operator uint32_t() { return *((uint32_t*)_address); };
s\f ^
ramC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac/IPAddress.h: In member function 'bool IPAddress::operator==(const IPAddress&)':
eC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac/IPAddress.h:52:75: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
wor bool operator==(const IPAddress& addr) { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };
k- ^
eneC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac/IPAddress.h:52:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
rgi bool operator==(const IPAddress& addr) { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };
ati ^
va\c*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\IPAddress.cpp.o] Error 1
ores\tivac -IC:\User*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\MACAddress.cpp.o] Error 1
s\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platf*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\Stream.cpp.o] Error 1
ormi*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\HardwareSerial.cpp.o] Error 1
o\p*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\Print.cpp.o] Error 1
ack*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\avr\dtostrf.c.o] Error 1
age*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\itoa.c.o] Error 1
s\framework-energiativa\cores\tivac\IPAddress.cpp
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\MACAddress.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -D*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\Tone.cpp.o] Error 1
ARDU*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\WInterrupts.c.o] Error 1
INO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac
-IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\MACAddress.cpp
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\Print.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\Print.cpp
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\Stream.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\WString.cpp.o] Error 1
\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\Stream.cpp
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\Tone.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\Tone.cpp
arm-none-eabi-gcc -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\WInterrupts.c.o -c -std=gnu11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformioThe system cannot find the path specified.
\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\WInterrupts.c
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\WString.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system
-IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\WString.cpp
arm-none-eabi-gcc -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\itoa.c.o -c -std=gnu11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\frame*** [.pio\build\lptm4c1230c3pm\FrameworkEnergia\WMath.cpp.o] Error 1
work-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\itoa.c
arm-none-eabi-gcc -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\avr\dtostrf.c.o -c -std=gnu11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\avr\dtostrf.c
arm-none-eabi-g++ -o .pio\build\lptm4c1230c3pm\FrameworkEnergia\WMath.cpp.o -c -fno-rtti -fno-exceptions -fno-threadsafe-statics -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wall -mthumb -nostdlib -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs --param max-inline-insns-single=500 -DF_CPU=80000000L -DPLATFORMIO=40304 -DENERGIA_ARCH_TIVAC -DENERGIA_EK_TM4C123GXL -DARDUINO=10805 -DENERGIA=10002 -Dprintf=iprintf -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\inc -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\system\driverlib -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac -IC:\Users\nwgreen\.platformio\packages\framework-energiativa\variants\EK-TM4C123GXL C:\Users\nwgreen\.platformio\packages\framework-energiativa\cores\tivac\WMath.cpp
====================================================================== [FAILED] Took 2.08 seconds ======================================================================
The terminal process "C:\Users\nwgreen\.platformio\penv\Scripts\platformio.exe 'run', '--verbose'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.