You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used this tool with great pleasure for more than half a year now!
With the last update I receive the following error:
arm-none-eabi-g++ -o .pioenvs/autogen_due/Wire/Wire.o -c -fno-rtti -fno-exceptions -g -Os -ffunction-sections -fdata-sections -Wall -mthumb -mcpu=cortex-m3 -nostdlib -MMD -DF_CPU=84000000L -Dprintf=iprintf -DUSBCON -DUSB_MANUFACTURER="PlatformIO" -D__SAM3X8E__ -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -DUSB_VID=0x2341 -DUSB_PID=0x003e "-DUSB_PRODUCT=\"Arduino Due\"" -DARDUINO=10606 -I.pioenvs/autogen_due/FrameworkArduino -I.pioenvs/autogen_due/FrameworkCMSISInc -I.pioenvs/autogen_due/FrameworkLibSam -I.pioenvs/autogen_due/FrameworkLibSam/include -I.pioenvs/autogen_due/FrameworkDeviceInc -I.pioenvs/autogen_due/FrameworkDeviceInc/sam3xa/include -I.pioenvs/autogen_due/FrameworkArduinoVariant -I.pioenvs/autogen_due/PID -I.pioenvs/autogen_due/Servo -I.pioenvs/autogen_due/Wire .pioenvs/autogen_due/Wire/Wire.cpp
In file included from .pioenvs/autogen_due/Wire/Wire.cpp:25:0:
.pioenvs/autogen_due/Wire/Wire.h: In constructor 'TwoWire::TwoWire(Twi*, void (*)(), void (*)())':
.pioenvs/autogen_due/Wire/Wire.h:96:7: warning: 'TwoWire::twi' will be initialized after [-Wreorder]
Twi *twi;
^
.pioenvs/autogen_due/Wire/Wire.h:72:10: warning: 'uint8_t TwoWire::rxBufferIndex' [-Wreorder]
uint8_t rxBufferIndex;
^
.pioenvs/autogen_due/Wire/Wire.cpp:95:1: warning: when initialized here [-Wreorder]
TwoWire::TwoWire(Twi *_twi, void(*_beginCb)(void), void(*_endCb)(void)) :
^
In file included from .pioenvs/autogen_due/Wire/Wire.cpp:25:0:
.pioenvs/autogen_due/Wire/Wire.h:108:16: warning: 'TwoWire::status' will be initialized after [-Wreorder]
TwoWireStatus status;
^
.pioenvs/autogen_due/Wire/Wire.h:90:30: warning: 'void (* TwoWire::onBeginCallback)()' [-Wreorder]
void (*onBeginCallback)(void);
^
.pioenvs/autogen_due/Wire/Wire.cpp:95:1: warning: when initialized here [-Wreorder]
TwoWire::TwoWire(Twi *_twi, void(*_beginCb)(void), void(*_endCb)(void)) :
^
.pioenvs/autogen_due/Wire/Wire.cpp: In member function 'void TwoWire::end()':
.pioenvs/autogen_due/Wire/Wire.cpp:131:18: error: 'TWI_Disable' was not declared in this scope
TWI_Disable(twi);
^
scons: *** [.pioenvs/autogen_due/Wire/Wire.o] Error 1
I temporarily solved this by commenting out the place in the libs where TWI_Disable is called.
I got the same problem when trying to compile my project under Linux Mint as well as on an OS X machine with a fresh install of PIO. It however compiles fine using a previous version of PIO.
Best regards,
Elias
The text was updated successfully, but these errors were encountered:
Hey guys,
I have used this tool with great pleasure for more than half a year now!
With the last update I receive the following error:
I temporarily solved this by commenting out the place in the libs where TWI_Disable is called.
I got the same problem when trying to compile my project under Linux Mint as well as on an OS X machine with a fresh install of PIO. It however compiles fine using a previous version of PIO.
Best regards,
Elias
The text was updated successfully, but these errors were encountered: