Hello, I tried to port the library on a AT90USB1286 MCU but I can't compile.
Any hint on what is wrong?
Error messages are related to RFM69 which I don't use, got any workaround?
In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\iousb1286.h:38:0,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:192,
from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:88,
from C:\Users\asus\Documents\Arduino\hardware\Industruino\avr\cores\Industruino/Arduino.h:8,
from C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:34,
from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:26,
from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:
C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:92:41: error: expected ',' or '...' before numeric constant
bool initialize(byte freqBand, byte ID, byte networkID=1);
^
In file included from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:26:0,
from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:
C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:82:62: error: 'RF69_IRQ_PIN' was not declared in this scope
RFM69(byte slaveSelectPin=RF69_SPI_CS, byte interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, byte interruptNum=RF69_IRQ_NUM) {
^
C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:82:116: error: 'RF69_IRQ_NUM' was not declared in this scope
RFM69(byte slaveSelectPin=RF69_SPI_CS, byte interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, byte interruptNum=RF69_IRQ_NUM) {
^
In file included from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:0:
C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:33:145: error: 'RF69_IRQ_PIN' was not declared in this scope
MyTransportRFM69(uint8_t freqBand=RFM69_FREQUENCY, uint8_t networkId=RFM69_NETWORKID, uint8_t slaveSelectPin=RF69_SPI_CS, uint8_t interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, uint8_t interruptNum=RF69_IRQ_NUM);
^
C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:33:202: error: 'RF69_IRQ_NUM' was not declared in this scope
MyTransportRFM69(uint8_t freqBand=RFM69_FREQUENCY, uint8_t networkId=RFM69_NETWORKID, uint8_t slaveSelectPin=RF69_SPI_CS, uint8_t interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, uint8_t interruptNum=RF69_IRQ_NUM);
^
C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp: In member function 'virtual bool MyTransportRFM69::init()':
C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:34:50: error: no matching function for call to 'RFM69::initialize(uint8_t&, uint8_t&, uint8_t&)'
radio.initialize(_freqBand, _address, _networkId);
^
C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:34:50: note: candidate is:
In file included from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.h:26:0,
from C:\Users\asus\Documents\Arduino\libraries\MySensors\MyTransportRFM69.cpp:21:
C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:92:10: note: bool RFM69::initialize(byte, byte)
bool initialize(byte freqBand, byte ID, byte networkID=1);
^
C:\Users\asus\Documents\Arduino\libraries\MySensors\utility/RFM69.h:92:10: note: candidate expects 2 arguments, 3 provided