Open rbudde opened 1 year ago
unowifirev2 has disabled the RFID-RC522 blocks. If enabled, they give a warning and generate no code.
Cross compilation fails for Uno Wifi Rev 2 on develop
:
2022-09-23 19:23:15,259 INFO SPECIFIC-IT - [[[[[[[[[[ Robot: unowifirev2 compile file: /crossCompilerTests/robotSpecific/unowifirev2/action_1.xml
2022-09-23 19:23:15,263 INFO de.fhg.iais.roberta.util.Util - stored under: /tmp/dT_0C_bP_57c/prog/source/prog.cpp
2022-09-23 19:23:15,284 ERROR de.fhg.iais.roberta.util.Util - crosscompilation of NEPO generated program failed. Messages are logged to logger 'crosscompiler_error'
2022-09-23 19:23:15,284 INFO crosscompiler_error -
***** cross compilation failed with response:
/tmp/dT_0C_bP_57c/prog/source//prog.cpp:8:10: fatal error: Adafruit_SSD1306.h: No such file or directory
#include <Adafruit_SSD1306.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
***** for program:
// This file is automatically generated by the Open Roberta Lab.
#include <Arduino.h>
#include <Servo/src/Servo.h>
#include <LiquidCrystal_I2C/LiquidCrystal_I2C.h>
#include <Stepper/src/Stepper.h>
#include <Adafruit_SSD1306.h>
#include <NEPODefs.h>
...
...
...
void loop()
{
____action();
}
*****
2022-09-23 19:23:15,284 ERROR d.f.i.r.w.c.ArduinoCompilerWorker - compile unowifirev2 program prog failed with /tmp/dT_0C_bP_57c/prog/source//prog.cpp:8:10: fatal error: Adafruit_SSD1306.h: No such file or directory
#include <Adafruit_SSD1306.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
2022-09-23 19:23:15,311 INFO SPECIFIC-IT - ---------- Robot: unowifirev2 FAILED (response-info) compile file: /crossCompilerTests/robotSpecific/unowifirev2/action_1.xml
2022-09-23 19:23:15,311 INFO SPECIFIC-IT - ]]]]]]]]]]
Missing library in ora-cc-rsc
perhaps?
the Adafruit_SSD1306 block must be removed from the configuration, as it is not part of our distribution. If possible, the library should be added
A lot of blocks are disabled in the integration tests. This can trigger a message "all blocks are used in tests", even if this is false.