mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 13:19:50 +03:00
1424 lines
74 KiB
Plaintext
1424 lines
74 KiB
Plaintext
livello@lserver ~/PROG/lighthub $ rm -Rf .piolibdeps/
|
|
livello@lserver ~/PROG/lighthub $ pio run -e megaatmega2560
|
|
|
|
[Wed Mar 14 13:46:03 2018] Processing megaatmega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)
|
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
LibraryManager: Installing Arduino-Temperature-Control-Library
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-cmz44U-package»…
|
|
remote: Counting objects: 337, done.
|
|
remote: Compressing objects: 100% (6/6), done.
|
|
remote: Total 337 (delta 1), reused 0 (delta 0), pack-reused 331
|
|
Получение объектов: 100% (337/337), 151.23 KiB | 0 bytes/s, готово.
|
|
Определение изменений: 100% (174/174), готово.
|
|
Проверка соединения… готово.
|
|
HEAD сейчас на 1306c49 Update OneWire.cpp
|
|
LibraryManager: Installing DS2482_OneWire
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-sk9FKd-package»…
|
|
remote: Counting objects: 14, done.
|
|
remote: Compressing objects: 100% (10/10), done.
|
|
remote: Total 14 (delta 1), reused 7 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (14/14), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing DmxSimple
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-6FpiRF-package»…
|
|
remote: Counting objects: 15, done.
|
|
remote: Compressing objects: 100% (12/12), done.
|
|
remote: Total 15 (delta 0), reused 13 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (15/15), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing httpClient
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-sz4zO7-package»…
|
|
remote: Counting objects: 13, done.
|
|
remote: Compressing objects: 100% (11/11), done.
|
|
remote: Total 13 (delta 0), reused 9 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (13/13), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing aJson
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-vKbebH-package»…
|
|
remote: Counting objects: 20, done.
|
|
remote: Compressing objects: 100% (16/16), done.
|
|
remote: Total 20 (delta 0), reused 13 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (20/20), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing CmdArduino
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-SdLqob-package»…
|
|
remote: Counting objects: 17, done.
|
|
remote: Compressing objects: 100% (14/14), done.
|
|
remote: Total 17 (delta 2), reused 15 (delta 1), pack-reused 0
|
|
Распаковка объектов: 100% (17/17), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing ModbusMaster
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-CTfc76-package»…
|
|
remote: Counting objects: 41, done.
|
|
remote: Compressing objects: 100% (35/35), done.
|
|
remote: Total 41 (delta 0), reused 18 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (41/41), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing DMXSerial
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-SUXywb-package»…
|
|
remote: Counting objects: 17, done.
|
|
remote: Compressing objects: 100% (14/14), done.
|
|
remote: Total 17 (delta 0), reused 9 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (17/17), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing Ethernet
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-vEEroA-package»…
|
|
remote: Counting objects: 48, done.
|
|
remote: Compressing objects: 100% (41/41), done.
|
|
remote: Total 48 (delta 4), reused 20 (delta 1), pack-reused 0
|
|
Распаковка объектов: 100% (48/48), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing SPI
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-Kn75yj-package»…
|
|
remote: Counting objects: 12, done.
|
|
remote: Compressing objects: 100% (11/11), done.
|
|
remote: Total 12 (delta 0), reused 6 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (12/12), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing pubsubclient
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-JOtNYi-package»…
|
|
remote: Counting objects: 56, done.
|
|
remote: Compressing objects: 100% (48/48), done.
|
|
remote: Total 56 (delta 5), reused 26 (delta 1), pack-reused 0
|
|
Распаковка объектов: 100% (56/56), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing Artnet
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-LExt22-package»…
|
|
remote: Counting objects: 37, done.
|
|
remote: Compressing objects: 100% (32/32), done.
|
|
remote: Total 37 (delta 8), reused 17 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (37/37), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing id=126
|
|
Downloading [####################################] 100%
|
|
Unpacking [####################################] 100%
|
|
Verbose mode can be enabled via `-v, --verbose` option
|
|
PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
|
|
SYSTEM: ATMEGA2560 16MHz 8KB RAM (248KB Flash)
|
|
Converting lighthub.ino
|
|
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
|
|
LDF MODES: FINDER(chain) COMPATIBILITY(light)
|
|
Collected 37 compatible libraries
|
|
Scanning dependencies...
|
|
Dependency Graph
|
|
|-- <DallasTemperature> #1306c49
|
|
| |-- <DS2482_OneWire> #3ef01fc
|
|
| | |-- <Wire> v1.0
|
|
| |-- <ModbusMaster> v2.0.1 #4a429bf
|
|
|-- <DS2482_OneWire> #3ef01fc
|
|
| |-- <Wire> v1.0
|
|
|-- <DmxSimple> v3.1 #62f0959
|
|
|-- <httpClient> #007e22e
|
|
| |-- <Ethernet> v1.1.2 #238e8fc
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
|-- <aJson> #60e5d57
|
|
| |-- <EEPROM> v2.0
|
|
|-- <CmdArduino> #c94cd3f
|
|
|-- <ModbusMaster> v2.0.1 #4a429bf
|
|
|-- <DMXSerial> v1.3.0 #4db73b3
|
|
|-- <Ethernet> v1.1.2 #238e8fc
|
|
| |-- <SPI> v1.0 #8d59205
|
|
|-- <SPI> v1.0 #8d59205
|
|
|-- <PubSubClient> v2.6 #f029640
|
|
|-- <Artnet> #3d39995
|
|
| |-- <Ethernet> v1.1.2 #238e8fc
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
| |-- <WiFi> v1.2.7
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
|-- <FastLED> v3.1.8
|
|
| |-- <SoftwareSerial> v1.0
|
|
| |-- <DMXSerial> v1.3.0 #4db73b3
|
|
| |-- <DmxSimple> v3.1 #62f0959
|
|
|-- <Wire> v1.0
|
|
|-- <EEPROM> v2.0
|
|
Compiling .pioenvs/megaatmega2560/src/dmx.cpp.o
|
|
Compiling .pioenvs/megaatmega2560/src/item.cpp.o
|
|
Compiling .pioenvs/megaatmega2560/src/lighthub.ino.cpp.o
|
|
lighthub/dmx.cpp: In function 'int itemCtrl2(char*, int, int, int, int)':
|
|
lighthub/dmx.cpp:91:3: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/dmx.cpp: In function 'void DMXput()':
|
|
lighthub/dmx.cpp:111:5: warning: unused variable 't' [-Wunused-variable]
|
|
int t;
|
|
^
|
|
lighthub/dmx.cpp: In function 'void onDmxFrame(uint16_t, uint16_t, uint8_t, uint8_t*, IPAddress)':
|
|
lighthub/dmx.cpp:186:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for (int i = 0 ; i < length && i<MAX_CHANNELS ; i++)
|
|
^
|
|
Compiling .pioenvs/megaatmega2560/src/main.cpp.o
|
|
In file included from lighthub/item.cpp:21:0:
|
|
lighthub/item.h: In member function 'int Item::On()':
|
|
lighthub/item.h:85:33: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int On (){Ctrl(CMD_ON);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Off()':
|
|
lighthub/item.h:86:34: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Off(){Ctrl(CMD_OFF);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Toggle()':
|
|
lighthub/item.h:87:40: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Toggle(){Ctrl(CMD_TOGGLE);};
|
|
^
|
|
In file included from lighthub/item.cpp:26:0:
|
|
.piolibdeps/FastLED_ID126/FastLED.h: At global scope:
|
|
.piolibdeps/FastLED_ID126/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.008
|
|
# pragma message "FastLED version 3.001.008"
|
|
^
|
|
In file included from lighthub/main.cpp:132:0:
|
|
lighthub/item.h: In member function 'int Item::On()':
|
|
lighthub/item.h:85:33: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int On (){Ctrl(CMD_ON);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Off()':
|
|
lighthub/item.h:86:34: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Off(){Ctrl(CMD_OFF);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Toggle()':
|
|
lighthub/item.h:87:40: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Toggle(){Ctrl(CMD_TOGGLE);};
|
|
^
|
|
lighthub/main.cpp: In function 'void callback(char*, byte*, unsigned int)':
|
|
lighthub/main.cpp:198:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for (int i=0;i<length;i++) {
|
|
^
|
|
lighthub/main.cpp:208:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
|
if (t=strrchr (topic,'/')) strncpy(subtopic,t+1 , sublen-1);
|
|
^
|
|
lighthub/main.cpp: In function 'int mqttConfigReq(int, char**)':
|
|
lighthub/main.cpp:676:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/main.cpp: In function 'void _setConfig(int, char**)':
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 3 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
&mac[5]) < 6)
|
|
^
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 4 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 5 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 6 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 7 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 8 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: unknown conversion type character 0xffffffd1 in format [-Wformat=]
|
|
lighthub/main.cpp: In function 'int getConfig(int, char**)':
|
|
lighthub/main.cpp:751:10: warning: unused variable 'ch' [-Wunused-variable]
|
|
char ch;
|
|
^
|
|
lighthub/main.cpp: In function 'void setup_main()':
|
|
lighthub/main.cpp:891:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("help", _handleHelp);
|
|
^
|
|
lighthub/main.cpp:892:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("save", _saveConfig);
|
|
^
|
|
lighthub/main.cpp:893:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("load", _loadConfig);
|
|
^
|
|
lighthub/main.cpp:894:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("get", _getConfig);
|
|
^
|
|
lighthub/main.cpp:895:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("set", _setConfig);
|
|
^
|
|
lighthub/main.cpp:896:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("kill", _kill);
|
|
^
|
|
lighthub/main.cpp:897:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("req", _mqttConfigReq);
|
|
^
|
|
lighthub/main.cpp: In function 'short int thermoSetCurTemp(char*, short int)':
|
|
lighthub/main.cpp:1190:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
|
else if (extArray=aJson.getArrayItem(item,I_EXT))
|
|
^
|
|
lighthub/main.cpp:1202:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
} //proc
|
|
^
|
|
Compiling .pioenvs/megaatmega2560/lib9dd/aJson/aJSON.cpp.o
|
|
In file included from .piolibdeps/ModbusMaster/src/ModbusMaster.h:58:0,
|
|
from lighthub/main.cpp:75:
|
|
lighthub/main.cpp: At top level:
|
|
.piolibdeps/ModbusMaster/src/util/crc16.h:71:17: warning: 'crc16_update' defined but not used [-Wunused-function]
|
|
static uint16_t crc16_update(uint16_t crc, uint8_t a)
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::VacomSetFan(int8_t, int8_t)':
|
|
lighthub/item.cpp:668:11: warning: unused variable 'j' [-Wunused-variable]
|
|
uint8_t j, result;
|
|
^
|
|
lighthub/item.cpp:668:14: warning: unused variable 'result' [-Wunused-variable]
|
|
uint8_t j, result;
|
|
^
|
|
lighthub/item.cpp:669:12: warning: unused variable 'data' [-Wunused-variable]
|
|
uint16_t data[1];
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkModbus()':
|
|
lighthub/item.cpp:914:93: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (modbusitem && nextItem.isValid() && nextItem.itemType==CH_MODBUS && nextItem.getArg(0)==addr && nextItem.getArg(1)==reg)
|
|
^
|
|
lighthub/item.cpp:914:121: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (modbusitem && nextItem.isValid() && nextItem.itemType==CH_MODBUS && nextItem.getArg(0)==addr && nextItem.getArg(1)==reg)
|
|
^
|
|
lighthub/item.cpp:890:13: warning: unused variable 'mask' [-Wunused-variable]
|
|
short mask = getArg(2);
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkModbus(int)':
|
|
lighthub/item.cpp:932:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
|
|
if (getVal()!=d || d && cmd==CMD_OFF || d && cmd==CMD_HALT) //volume changed or turned on manualy
|
|
^
|
|
lighthub/item.cpp:932:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
|
|
if (getVal()!=d || d && cmd==CMD_OFF || d && cmd==CMD_HALT) //volume changed or turned on manualy
|
|
^
|
|
lighthub/item.cpp:950:3: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::Pool()':
|
|
lighthub/item.cpp:962:3: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'virtual int Item::Ctrl(short int, short int, int*, boolean)':
|
|
lighthub/item.cpp:517:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::VacomSetFan(int8_t, int8_t)':
|
|
lighthub/item.cpp:684:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::VacomSetHeat(int, int8_t, int8_t)':
|
|
lighthub/item.cpp:715:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In function 'int modbusSet(int, uint16_t, int, uint16_t)':
|
|
lighthub/item.cpp:787:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkFM()':
|
|
lighthub/item.cpp:878:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkModbus()':
|
|
lighthub/item.cpp:921:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp: In member function 'virtual bool aJsonEEPROMStream::available()':
|
|
.piolibdeps/aJson/aJSON.cpp:145:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
while (addr+offset<EEPROM.length())
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp: In member function 'int aJsonStream::printArray(aJsonObject*)':
|
|
.piolibdeps/aJson/aJSON.cpp:849:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print('[') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:862:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(',') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:868:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(']') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp: In member function 'int aJsonStream::printObject(aJsonObject*)':
|
|
.piolibdeps/aJson/aJSON.cpp:960:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print('{') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:970:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(':') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:981:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(',') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:987:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print('}') == EOF)
|
|
^
|
|
In file included from .piolibdeps/ModbusMaster/src/ModbusMaster.h:58:0,
|
|
from lighthub/item.cpp:29:
|
|
lighthub/item.cpp: At top level:
|
|
.piolibdeps/ModbusMaster/src/util/crc16.h:71:17: warning: 'crc16_update' defined but not used [-Wunused-function]
|
|
static uint16_t crc16_update(uint16_t crc, uint8_t a)
|
|
^
|
|
Archiving .pioenvs/megaatmega2560/lib9dd/libaJson.a
|
|
Indexing .pioenvs/megaatmega2560/lib9dd/libaJson.a
|
|
Linking .pioenvs/megaatmega2560/firmware.elf
|
|
Building .pioenvs/megaatmega2560/firmware.hex
|
|
Calculating size .pioenvs/megaatmega2560/firmware.elf
|
|
AVR Memory Usage
|
|
----------------
|
|
Device: atmega2560
|
|
|
|
Program: 56650 bytes (21.6% Full)
|
|
(.text + .data + .bootloader)
|
|
|
|
Data: 2559 bytes (31.2% Full)
|
|
(.data + .bss + .noinit)
|
|
|
|
|
|
======================================================================================= [SUCCESS] Took 25.43 seconds =======================================================================================
|
|
|
|
================================================================================================= [SUMMARY] =================================================================================================
|
|
Environment due [SKIP]
|
|
Environment megaatmega2560 [SUCCESS]
|
|
======================================================================================= [SUCCESS] Took 25.43 seconds =======================================================================================
|
|
livello@lserver ~/PROG/lighthub $ pio run -e due
|
|
[Wed Mar 14 13:46:33 2018] Processing due (platform: atmelsam; board: due; framework: arduino)
|
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
LibraryManager: Installing DueFlashStorage
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-T8wBjH-package»…
|
|
remote: Counting objects: 19, done.
|
|
remote: Compressing objects: 100% (16/16), done.
|
|
remote: Total 19 (delta 3), reused 15 (delta 3), pack-reused 0
|
|
Распаковка объектов: 100% (19/19), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing DmxDue
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-nscx5F-package»…
|
|
remote: Counting objects: 7, done.
|
|
remote: Compressing objects: 100% (5/5), done.
|
|
remote: Total 7 (delta 0), reused 5 (delta 0), pack-reused 0
|
|
Распаковка объектов: 100% (7/7), готово.
|
|
Проверка соединения… готово.
|
|
LibraryManager: Installing ArduinoHttpClient
|
|
git version 2.7.4
|
|
Клонирование в «/home/livello/PROG/lighthub/.piolibdeps/_tmp_installing-6QUOvA-package»…
|
|
remote: Counting objects: 45, done.
|
|
remote: Compressing objects: 100% (41/41), done.
|
|
remote: Total 45 (delta 9), reused 22 (delta 3), pack-reused 0
|
|
Распаковка объектов: 100% (45/45), готово.
|
|
Проверка соединения… готово.
|
|
Verbose mode can be enabled via `-v, --verbose` option
|
|
PLATFORM: Atmel SAM > Arduino Due (Programming Port)
|
|
SYSTEM: AT91SAM3X8E 84MHz 32KB RAM (512KB Flash)
|
|
DEBUG: CURRENT(blackmagic) EXTERNAL(blackmagic, jlink)
|
|
Converting lighthub.ino
|
|
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
|
|
LDF MODES: FINDER(chain) COMPATIBILITY(light)
|
|
Collected 19 compatible libraries
|
|
Scanning dependencies...
|
|
Dependency Graph
|
|
|-- <DueFlashStorage> v1.0.0 #a41b206
|
|
|-- <DallasTemperature> #1306c49
|
|
| |-- <DS2482_OneWire> #3ef01fc
|
|
| | |-- <Wire> v1.0
|
|
| |-- <ModbusMaster> v2.0.1 #4a429bf
|
|
|-- <DS2482_OneWire> #3ef01fc
|
|
| |-- <Wire> v1.0
|
|
|-- <DmxDue> #bf7ffb2
|
|
|-- <ArduinoHttpClient> #acde3dc
|
|
|-- <aJson> #60e5d57
|
|
| |-- <DueFlashStorage> v1.0.0 #a41b206
|
|
|-- <CmdArduino> #c94cd3f
|
|
|-- <ModbusMaster> v2.0.1 #4a429bf
|
|
|-- <Ethernet> v1.1.2 #238e8fc
|
|
| |-- <SPI> v1.0 #8d59205
|
|
|-- <SPI> v1.0 #8d59205
|
|
|-- <PubSubClient> v2.6 #f029640
|
|
|-- <Artnet> #3d39995
|
|
| |-- <Ethernet> v1.1.2 #238e8fc
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
|-- <FastLED> v3.1.8
|
|
| |-- <DmxSimple> v3.1 #62f0959
|
|
| |-- <DMXSerial> v1.3.0 #4db73b3
|
|
|-- <DmxSimple> v3.1 #62f0959
|
|
|-- <Wire> v1.0
|
|
|-- <httpClient> #007e22e
|
|
| |-- <Ethernet> v1.1.2 #238e8fc
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
|-- <DMXSerial> v1.3.0 #4db73b3
|
|
Compiling .pioenvs/due/src/lighthub.ino.cpp.o
|
|
Compiling .pioenvs/due/src/main.cpp.o
|
|
In file included from lighthub/main.cpp:71:0:
|
|
.piolibdeps/SPI/SPI.h:1028:8: error: 'SPIClass' does not name a type
|
|
extern SPIClass SPI;
|
|
^
|
|
In file included from lighthub/main.cpp:132:0:
|
|
lighthub/item.h: In member function 'int Item::On()':
|
|
lighthub/item.h:85:33: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int On (){Ctrl(CMD_ON);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Off()':
|
|
lighthub/item.h:86:34: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Off(){Ctrl(CMD_OFF);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Toggle()':
|
|
lighthub/item.h:87:40: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Toggle(){Ctrl(CMD_TOGGLE);};
|
|
^
|
|
lighthub/main.cpp: In function 'void callback(char*, byte*, unsigned int)':
|
|
lighthub/main.cpp:198:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for (int i=0;i<length;i++) {
|
|
^
|
|
lighthub/main.cpp:208:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
|
if (t=strrchr (topic,'/')) strncpy(subtopic,t+1 , sublen-1);
|
|
^
|
|
lighthub/main.cpp: In function 'int mqttConfigReq(int, char**)':
|
|
lighthub/main.cpp:676:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/main.cpp: In function 'void _setConfig(int, char**)':
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 3 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
&mac[5]) < 6)
|
|
^
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 4 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 5 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 6 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 7 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 8 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: unknown conversion type character 0xffffffd1 in format [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 3 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 4 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 5 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 6 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 7 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 8 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: unknown conversion type character 0xffffffd1 in format [-Wformat=]
|
|
lighthub/main.cpp: In function 'int getConfig(int, char**)':
|
|
lighthub/main.cpp:751:10: warning: unused variable 'ch' [-Wunused-variable]
|
|
char ch;
|
|
^
|
|
lighthub/main.cpp: In function 'void setup_main()':
|
|
lighthub/main.cpp:891:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("help", _handleHelp);
|
|
^
|
|
lighthub/main.cpp:892:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("save", _saveConfig);
|
|
^
|
|
lighthub/main.cpp:893:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("load", _loadConfig);
|
|
^
|
|
lighthub/main.cpp:894:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("get", _getConfig);
|
|
^
|
|
lighthub/main.cpp:895:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("set", _setConfig);
|
|
^
|
|
lighthub/main.cpp:896:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("kill", _kill);
|
|
^
|
|
lighthub/main.cpp:897:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("req", _mqttConfigReq);
|
|
^
|
|
lighthub/main.cpp: In function 'short int thermoSetCurTemp(char*, short int)':
|
|
lighthub/main.cpp:1190:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
|
else if (extArray=aJson.getArrayItem(item,I_EXT))
|
|
^
|
|
lighthub/main.cpp:1202:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
} //proc
|
|
^
|
|
In file included from .piolibdeps/ModbusMaster/src/ModbusMaster.h:58:0,
|
|
from lighthub/main.cpp:75:
|
|
.piolibdeps/ModbusMaster/src/util/crc16.h: At global scope:
|
|
.piolibdeps/ModbusMaster/src/util/crc16.h:71:17: warning: 'uint16_t crc16_update(uint16_t, uint8_t)' defined but not used [-Wunused-function]
|
|
static uint16_t crc16_update(uint16_t crc, uint8_t a)
|
|
^
|
|
Compiling .pioenvs/due/libe82/DueFlashStorage/efc.cpp.o
|
|
Compiling .pioenvs/due/libe82/DueFlashStorage/flash_efc.cpp.o
|
|
Compiling .pioenvs/due/lib8c0/Wire/Wire.cpp.o
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp: In function 'uint32_t flash_is_locked(uint32_t, uint32_t)':
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:669:11: warning: variable 'ul_error' set but not used [-Wunused-but-set-variable]
|
|
uint32_t ul_error;
|
|
^
|
|
Compiling .pioenvs/due/lib5a0/DS2482_OneWire/DS2482_OneWire.cpp.o
|
|
In file included from /home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.cpp:25:0:
|
|
/home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.h: In constructor 'TwoWire::TwoWire(Twi*, void (*)(), void (*)())':
|
|
/home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.h:96:7: warning: 'TwoWire::twi' will be initialized after [-Wreorder]
|
|
Twi *twi;
|
|
^
|
|
/home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.h:72:10: warning: 'uint8_t TwoWire::rxBufferIndex' [-Wreorder]
|
|
uint8_t rxBufferIndex;
|
|
^
|
|
/home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.cpp:95:1: warning: when initialized here [-Wreorder]
|
|
TwoWire::TwoWire(Twi *_twi, void(*_beginCb)(void), void(*_endCb)(void)) :
|
|
^
|
|
In file included from /home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.cpp:25:0:
|
|
/home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.h:108:16: warning: 'TwoWire::status' will be initialized after [-Wreorder]
|
|
TwoWireStatus status;
|
|
^
|
|
/home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.h:90:30: warning: 'void (* TwoWire::onBeginCallback)()' [-Wreorder]
|
|
void (*onBeginCallback)(void);
|
|
^
|
|
/home/livello/.platformio/packages/framework-arduinosam/libraries/__cores__/sam/Wire/src/Wire.cpp:95:1: warning: when initialized here [-Wreorder]
|
|
TwoWire::TwoWire(Twi *_twi, void(*_beginCb)(void), void(*_endCb)(void)) :
|
|
^
|
|
Compiling .pioenvs/due/libecc/ModbusMaster/ModbusMaster.cpp.o
|
|
.piolibdeps/DS2482_OneWire/DS2482_OneWire.cpp: In member function 'uint8_t OneWire::waitOnBusy()':
|
|
.piolibdeps/DS2482_OneWire/DS2482_OneWire.cpp:131:10: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized]
|
|
uint8_t status;
|
|
^
|
|
Compiling .pioenvs/due/lib704/DallasTemperature/DallasTemperature.cpp.o
|
|
*** [.pioenvs/due/src/main.cpp.o] Error 1
|
|
.piolibdeps/ModbusMaster/src/ModbusMaster.cpp: In member function 'uint8_t ModbusMaster::requestFrom(uint16_t, uint16_t)':
|
|
.piolibdeps/ModbusMaster/src/ModbusMaster.cpp:94:33: warning: 'read' is used uninitialized in this function [-Wuninitialized]
|
|
_u8ResponseBufferLength = read;
|
|
^
|
|
========================================================================================= [ERROR] Took 6.55 seconds =========================================================================================
|
|
|
|
================================================================================================= [SUMMARY] =================================================================================================
|
|
Environment due [ERROR]
|
|
Environment megaatmega2560 [SKIP]
|
|
========================================================================================= [ERROR] Took 6.55 seconds =========================================================================================
|
|
livello@lserver ~/PROG/lighthub $ pio run -e megaatmega2560
|
|
|
|
[Wed Mar 14 13:46:43 2018] Processing megaatmega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)
|
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
Verbose mode can be enabled via `-v, --verbose` option
|
|
PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
|
|
SYSTEM: ATMEGA2560 16MHz 8KB RAM (248KB Flash)
|
|
Converting lighthub.ino
|
|
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
|
|
LDF MODES: FINDER(chain) COMPATIBILITY(light)
|
|
Collected 40 compatible libraries
|
|
Scanning dependencies...
|
|
Dependency Graph
|
|
|-- <DallasTemperature> #1306c49
|
|
| |-- <DS2482_OneWire> #3ef01fc
|
|
| | |-- <Wire> v1.0
|
|
| |-- <ModbusMaster> v2.0.1 #4a429bf
|
|
|-- <DS2482_OneWire> #3ef01fc
|
|
| |-- <Wire> v1.0
|
|
|-- <DmxSimple> v3.1 #62f0959
|
|
|-- <httpClient> #007e22e
|
|
| |-- <Ethernet> v1.1.2 #238e8fc
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
|-- <aJson> #60e5d57
|
|
| |-- <EEPROM> v2.0
|
|
| |-- <DueFlashStorage> v1.0.0 #a41b206
|
|
|-- <CmdArduino> #c94cd3f
|
|
|-- <ModbusMaster> v2.0.1 #4a429bf
|
|
|-- <DMXSerial> v1.3.0 #4db73b3
|
|
|-- <Ethernet> v1.1.2 #238e8fc
|
|
| |-- <SPI> v1.0 #8d59205
|
|
|-- <SPI> v1.0 #8d59205
|
|
|-- <PubSubClient> v2.6 #f029640
|
|
|-- <Artnet> #3d39995
|
|
| |-- <WiFi> v1.2.7
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
| |-- <Ethernet> v1.1.2 #238e8fc
|
|
| | |-- <SPI> v1.0 #8d59205
|
|
|-- <FastLED> v3.1.8
|
|
| |-- <DMXSerial> v1.3.0 #4db73b3
|
|
| |-- <SoftwareSerial> v1.0
|
|
| |-- <DmxSimple> v3.1 #62f0959
|
|
|-- <Wire> v1.0
|
|
|-- <EEPROM> v2.0
|
|
|-- <DmxDue> #bf7ffb2
|
|
|-- <ArduinoHttpClient> #acde3dc
|
|
|-- <DueFlashStorage> v1.0.0 #a41b206
|
|
Compiling .pioenvs/megaatmega2560/src/dmx.cpp.o
|
|
Compiling .pioenvs/megaatmega2560/src/item.cpp.o
|
|
Compiling .pioenvs/megaatmega2560/src/lighthub.ino.cpp.o
|
|
lighthub/dmx.cpp: In function 'int itemCtrl2(char*, int, int, int, int)':
|
|
lighthub/dmx.cpp:91:3: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/dmx.cpp: In function 'void DMXput()':
|
|
lighthub/dmx.cpp:111:5: warning: unused variable 't' [-Wunused-variable]
|
|
int t;
|
|
^
|
|
lighthub/dmx.cpp: In function 'void onDmxFrame(uint16_t, uint16_t, uint8_t, uint8_t*, IPAddress)':
|
|
lighthub/dmx.cpp:186:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for (int i = 0 ; i < length && i<MAX_CHANNELS ; i++)
|
|
^
|
|
Compiling .pioenvs/megaatmega2560/src/main.cpp.o
|
|
In file included from lighthub/item.cpp:21:0:
|
|
lighthub/item.h: In member function 'int Item::On()':
|
|
lighthub/item.h:85:33: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int On (){Ctrl(CMD_ON);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Off()':
|
|
lighthub/item.h:86:34: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Off(){Ctrl(CMD_OFF);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Toggle()':
|
|
lighthub/item.h:87:40: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Toggle(){Ctrl(CMD_TOGGLE);};
|
|
^
|
|
In file included from lighthub/item.cpp:26:0:
|
|
.piolibdeps/FastLED_ID126/FastLED.h: At global scope:
|
|
.piolibdeps/FastLED_ID126/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.008
|
|
# pragma message "FastLED version 3.001.008"
|
|
^
|
|
In file included from lighthub/main.cpp:132:0:
|
|
lighthub/item.h: In member function 'int Item::On()':
|
|
lighthub/item.h:85:33: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int On (){Ctrl(CMD_ON);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Off()':
|
|
lighthub/item.h:86:34: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Off(){Ctrl(CMD_OFF);};
|
|
^
|
|
lighthub/item.h: In member function 'int Item::Toggle()':
|
|
lighthub/item.h:87:40: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
inline int Toggle(){Ctrl(CMD_TOGGLE);};
|
|
^
|
|
lighthub/main.cpp: In function 'void callback(char*, byte*, unsigned int)':
|
|
lighthub/main.cpp:198:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
for (int i=0;i<length;i++) {
|
|
^
|
|
lighthub/main.cpp:208:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
|
if (t=strrchr (topic,'/')) strncpy(subtopic,t+1 , sublen-1);
|
|
^
|
|
lighthub/main.cpp: In function 'int mqttConfigReq(int, char**)':
|
|
lighthub/main.cpp:676:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/main.cpp: In function 'void _setConfig(int, char**)':
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 3 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
&mac[5]) < 6)
|
|
^
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 4 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 5 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 6 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 7 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: format '%x' expects argument of type 'unsigned int*', but argument 8 has type 'byte* {aka unsigned char*}' [-Wformat=]
|
|
lighthub/main.cpp:721:23: warning: unknown conversion type character 0xffffffd1 in format [-Wformat=]
|
|
lighthub/main.cpp: In function 'int getConfig(int, char**)':
|
|
lighthub/main.cpp:751:10: warning: unused variable 'ch' [-Wunused-variable]
|
|
char ch;
|
|
^
|
|
lighthub/main.cpp: In function 'void setup_main()':
|
|
lighthub/main.cpp:891:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("help", _handleHelp);
|
|
^
|
|
lighthub/main.cpp:892:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("save", _saveConfig);
|
|
^
|
|
lighthub/main.cpp:893:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("load", _loadConfig);
|
|
^
|
|
lighthub/main.cpp:894:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("get", _getConfig);
|
|
^
|
|
lighthub/main.cpp:895:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("set", _setConfig);
|
|
^
|
|
lighthub/main.cpp:896:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("kill", _kill);
|
|
^
|
|
lighthub/main.cpp:897:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
|
|
cmdAdd("req", _mqttConfigReq);
|
|
^
|
|
lighthub/main.cpp: In function 'short int thermoSetCurTemp(char*, short int)':
|
|
lighthub/main.cpp:1190:61: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
|
else if (extArray=aJson.getArrayItem(item,I_EXT))
|
|
^
|
|
lighthub/main.cpp:1202:1: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
} //proc
|
|
^
|
|
Compiling .pioenvs/megaatmega2560/libe82/DueFlashStorage/DueFlashStorage.cpp.o
|
|
Compiling .pioenvs/megaatmega2560/libe82/DueFlashStorage/efc.cpp.o
|
|
In file included from .piolibdeps/ModbusMaster/src/ModbusMaster.h:58:0,
|
|
from lighthub/main.cpp:75:
|
|
lighthub/main.cpp: At top level:
|
|
.piolibdeps/ModbusMaster/src/util/crc16.h:71:17: warning: 'crc16_update' defined but not used [-Wunused-function]
|
|
static uint16_t crc16_update(uint16_t crc, uint8_t a)
|
|
^
|
|
Compiling .pioenvs/megaatmega2560/libe82/DueFlashStorage/flash_efc.cpp.o
|
|
Compiling .pioenvs/megaatmega2560/lib9dd/aJson/aJSON.cpp.o
|
|
In file included from .piolibdeps/DueFlashStorage/src/flash_efc.h:48:0,
|
|
from .piolibdeps/DueFlashStorage/src/DueFlashStorage.h:18,
|
|
from .piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:1:
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:19: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:24: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:40: error: expected primary-expression before 'ul_access_mode'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:65: error: expected primary-expression before 'ul_fws'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:71: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:32: error: variable or field 'efc_enable_frdy_interrupt' declared void
|
|
void efc_enable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:37: error: 'p_efc' was not declared in this scope
|
|
void efc_enable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:33: error: variable or field 'efc_disable_frdy_interrupt' declared void
|
|
void efc_disable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:33: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:38: error: 'p_efc' was not declared in this scope
|
|
void efc_disable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:32: error: variable or field 'efc_set_flash_access_mode' declared void
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:37: error: 'p_efc' was not declared in this scope
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:53: error: expected primary-expression before 'ul_mode'
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:120:36: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:120:41: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:25: error: variable or field 'efc_set_wait_state' declared void
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:25: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:30: error: 'p_efc' was not declared in this scope
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:46: error: expected primary-expression before 'ul_fws'
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:122:29: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:122:34: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:30: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:35: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:51: error: expected primary-expression before 'ul_command'
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:124:12: error: expected primary-expression before 'ul_argument'
|
|
uint32_t ul_argument);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:124:23: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t ul_argument);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:125:25: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_status(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:125:30: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_status(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:126:25: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_result(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:126:30: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_result(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:127:36: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_perform_read_sequence(Efc *p_efc,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:127:41: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_perform_read_sequence(Efc *p_efc,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:128:12: error: expected primary-expression before 'ul_cmd_st'
|
|
uint32_t ul_cmd_st, uint32_t ul_cmd_sp,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:128:32: error: expected primary-expression before 'ul_cmd_sp'
|
|
uint32_t ul_cmd_st, uint32_t ul_cmd_sp,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:12: error: expected primary-expression before '*' token
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:13: error: 'p_ul_buf' was not declared in this scope
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:32: error: expected primary-expression before 'ul_size'
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:39: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:1:0:
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'byte DueFlashStorage::read(uint32_t)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:14:10: note: in expansion of macro 'FLASH_START'
|
|
return FLASH_START[address];
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'byte* DueFlashStorage::readAddress(uint32_t)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:17:10: note: in expansion of macro 'FLASH_START'
|
|
return FLASH_START+address;
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'boolean DueFlashStorage::write(uint32_t, byte)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:25:36: note: in expansion of macro 'FLASH_START'
|
|
retCode = flash_unlock((uint32_t)FLASH_START+address, (uint32_t)FLASH_START+address + byteLength - 1, 0, 0);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:23:9: warning: unused variable 'data' [-Wunused-variable]
|
|
byte *data;
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:1:0:
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'boolean DueFlashStorage::write(uint32_t, byte*, uint32_t)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:52:17: note: in expansion of macro 'FLASH_START'
|
|
if ((uint32_t)FLASH_START+address < IFLASH1_ADDR) {
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:57:17: note: in expansion of macro 'FLASH_START'
|
|
if ((uint32_t)FLASH_START+address >= (IFLASH1_ADDR + IFLASH1_SIZE)) {
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:57:56: error: 'IFLASH1_SIZE' was not declared in this scope
|
|
if ((uint32_t)FLASH_START+address >= (IFLASH1_ADDR + IFLASH1_SIZE)) {
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:1:0:
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:62:18: note: in expansion of macro 'FLASH_START'
|
|
if (((uint32_t)FLASH_START+address & 3) != 0) {
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:68:36: note: in expansion of macro 'FLASH_START'
|
|
retCode = flash_unlock((uint32_t)FLASH_START+address, (uint32_t)FLASH_START+address + dataLength - 1, 0, 0);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'boolean DueFlashStorage::write_unlocked(uint32_t, byte)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:97:35: note: in expansion of macro 'FLASH_START'
|
|
retCode = flash_write((uint32_t)FLASH_START+address, &value, byteLength, 1);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:94:9: warning: unused variable 'data' [-Wunused-variable]
|
|
byte *data;
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:1:0:
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'boolean DueFlashStorage::write_unlocked(uint32_t, byte*, uint32_t)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:111:17: note: in expansion of macro 'FLASH_START'
|
|
if ((uint32_t)FLASH_START+address < IFLASH1_ADDR) {
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:116:17: note: in expansion of macro 'FLASH_START'
|
|
if ((uint32_t)FLASH_START+address >= (IFLASH1_ADDR + IFLASH1_SIZE)) {
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:116:56: error: 'IFLASH1_SIZE' was not declared in this scope
|
|
if ((uint32_t)FLASH_START+address >= (IFLASH1_ADDR + IFLASH1_SIZE)) {
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:1:0:
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:121:18: note: in expansion of macro 'FLASH_START'
|
|
if (((uint32_t)FLASH_START+address & 3) != 0) {
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.h:25:32: error: 'IFLASH1_ADDR' was not declared in this scope
|
|
#define FLASH_START ((byte *)IFLASH1_ADDR)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:127:35: note: in expansion of macro 'FLASH_START'
|
|
retCode = flash_write((uint32_t)FLASH_START+address, data, dataLength, 1);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'byte DueFlashStorage::read(uint32_t)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp: In member function 'byte* DueFlashStorage::readAddress(uint32_t)':
|
|
.piolibdeps/DueFlashStorage/src/DueFlashStorage.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/efc.cpp:44:0:
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:19: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:24: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:40: error: expected primary-expression before 'ul_access_mode'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:65: error: expected primary-expression before 'ul_fws'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:71: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:32: error: variable or field 'efc_enable_frdy_interrupt' declared void
|
|
void efc_enable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:37: error: 'p_efc' was not declared in this scope
|
|
void efc_enable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:33: error: variable or field 'efc_disable_frdy_interrupt' declared void
|
|
void efc_disable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:33: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:38: error: 'p_efc' was not declared in this scope
|
|
void efc_disable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:32: error: variable or field 'efc_set_flash_access_mode' declared void
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:37: error: 'p_efc' was not declared in this scope
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:53: error: expected primary-expression before 'ul_mode'
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:120:36: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:120:41: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:25: error: variable or field 'efc_set_wait_state' declared void
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:25: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:30: error: 'p_efc' was not declared in this scope
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:46: error: expected primary-expression before 'ul_fws'
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:122:29: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:122:34: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:30: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:35: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:51: error: expected primary-expression before 'ul_command'
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:124:12: error: expected primary-expression before 'ul_argument'
|
|
uint32_t ul_argument);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:124:23: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t ul_argument);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:125:25: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_status(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:125:30: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_status(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:126:25: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_result(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:126:30: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_result(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:127:36: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_perform_read_sequence(Efc *p_efc,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:127:41: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_perform_read_sequence(Efc *p_efc,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:128:12: error: expected primary-expression before 'ul_cmd_st'
|
|
uint32_t ul_cmd_st, uint32_t ul_cmd_sp,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:128:32: error: expected primary-expression before 'ul_cmd_sp'
|
|
uint32_t ul_cmd_st, uint32_t ul_cmd_sp,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:12: error: expected primary-expression before '*' token
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:13: error: 'p_ul_buf' was not declared in this scope
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:32: error: expected primary-expression before 'ul_size'
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:39: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:84:27: error: variable or field 'efc_write_fmr' declared void
|
|
extern void efc_write_fmr(Efc *p_efc, uint32_t ul_fmr);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:84:27: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:84:32: error: 'p_efc' was not declared in this scope
|
|
extern void efc_write_fmr(Efc *p_efc, uint32_t ul_fmr);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:84:48: error: expected primary-expression before 'ul_fmr'
|
|
extern void efc_write_fmr(Efc *p_efc, uint32_t ul_fmr);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:85:33: warning: 'efc_perform_fcr' initialized and declared 'extern'
|
|
extern uint32_t efc_perform_fcr(Efc *p_efc, uint32_t ul_fcr);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:85:33: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:85:38: error: 'p_efc' was not declared in this scope
|
|
extern uint32_t efc_perform_fcr(Efc *p_efc, uint32_t ul_fcr);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:85:54: error: expected primary-expression before 'ul_fcr'
|
|
extern uint32_t efc_perform_fcr(Efc *p_efc, uint32_t ul_fcr);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:85:60: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
extern uint32_t efc_perform_fcr(Efc *p_efc, uint32_t ul_fcr);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:95:19: error: redefinition of 'uint32_t efc_init'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws)
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/efc.cpp:44:0:
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:10: note: 'uint32_t efc_init' previously defined here
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:95:19: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:95:24: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:95:40: error: expected primary-expression before 'ul_access_mode'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:95:65: error: expected primary-expression before 'ul_fws'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:106:32: error: variable or field 'efc_enable_frdy_interrupt' declared void
|
|
void efc_enable_frdy_interrupt(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:106:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:106:37: error: 'p_efc' was not declared in this scope
|
|
void efc_enable_frdy_interrupt(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:118:33: error: variable or field 'efc_disable_frdy_interrupt' declared void
|
|
void efc_disable_frdy_interrupt(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:118:33: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:118:38: error: 'p_efc' was not declared in this scope
|
|
void efc_disable_frdy_interrupt(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:131:32: error: variable or field 'efc_set_flash_access_mode' declared void
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:131:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:131:37: error: 'p_efc' was not declared in this scope
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:131:53: error: expected primary-expression before 'ul_mode'
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:145:36: error: redefinition of 'uint32_t efc_get_flash_access_mode'
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc)
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/efc.cpp:44:0:
|
|
.piolibdeps/DueFlashStorage/src/efc.h:120:10: note: 'uint32_t efc_get_flash_access_mode' previously defined here
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:145:36: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:145:41: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:156:25: error: variable or field 'efc_set_wait_state' declared void
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:156:25: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:156:30: error: 'p_efc' was not declared in this scope
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:156:46: error: expected primary-expression before 'ul_fws'
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:170:29: error: redefinition of 'uint32_t efc_get_wait_state'
|
|
uint32_t efc_get_wait_state(Efc *p_efc)
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/efc.cpp:44:0:
|
|
.piolibdeps/DueFlashStorage/src/efc.h:122:10: note: 'uint32_t efc_get_wait_state' previously defined here
|
|
uint32_t efc_get_wait_state(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:170:29: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:170:34: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:188:30: error: redefinition of 'uint32_t efc_perform_command'
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
In file included from .piolibdeps/DueFlashStorage/src/efc.cpp:44:0:
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:10: note: 'uint32_t efc_perform_command' previously defined here
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:188:30: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:188:35: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:188:51: error: expected primary-expression before 'ul_command'
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:189:12: error: expected primary-expression before 'ul_argument'
|
|
uint32_t ul_argument)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.cpp:337:1: error: expected '}' at end of input
|
|
}
|
|
^
|
|
*** [.pioenvs/megaatmega2560/libe82/DueFlashStorage/DueFlashStorage.cpp.o] Error 1
|
|
*** [.pioenvs/megaatmega2560/libe82/DueFlashStorage/efc.cpp.o] Error 1
|
|
In file included from .piolibdeps/DueFlashStorage/src/flash_efc.h:48:0,
|
|
from .piolibdeps/DueFlashStorage/src/flash_efc.cpp:46:
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:19: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:24: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:40: error: expected primary-expression before 'ul_access_mode'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:65: error: expected primary-expression before 'ul_fws'
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:116:71: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t efc_init(Efc *p_efc, uint32_t ul_access_mode, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:32: error: variable or field 'efc_enable_frdy_interrupt' declared void
|
|
void efc_enable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:117:37: error: 'p_efc' was not declared in this scope
|
|
void efc_enable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:33: error: variable or field 'efc_disable_frdy_interrupt' declared void
|
|
void efc_disable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:33: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:118:38: error: 'p_efc' was not declared in this scope
|
|
void efc_disable_frdy_interrupt(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:32: error: variable or field 'efc_set_flash_access_mode' declared void
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:32: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:37: error: 'p_efc' was not declared in this scope
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:119:53: error: expected primary-expression before 'ul_mode'
|
|
void efc_set_flash_access_mode(Efc *p_efc, uint32_t ul_mode);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:120:36: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:120:41: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_flash_access_mode(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:25: error: variable or field 'efc_set_wait_state' declared void
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:25: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:30: error: 'p_efc' was not declared in this scope
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:121:46: error: expected primary-expression before 'ul_fws'
|
|
void efc_set_wait_state(Efc *p_efc, uint32_t ul_fws);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:122:29: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:122:34: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_wait_state(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:30: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:35: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:123:51: error: expected primary-expression before 'ul_command'
|
|
uint32_t efc_perform_command(Efc *p_efc, uint32_t ul_command,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:124:12: error: expected primary-expression before 'ul_argument'
|
|
uint32_t ul_argument);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:124:23: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t ul_argument);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:125:25: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_status(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:125:30: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_status(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:126:25: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_get_result(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:126:30: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_get_result(Efc *p_efc);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:127:36: error: 'Efc' was not declared in this scope
|
|
uint32_t efc_perform_read_sequence(Efc *p_efc,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:127:41: error: 'p_efc' was not declared in this scope
|
|
uint32_t efc_perform_read_sequence(Efc *p_efc,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:128:12: error: expected primary-expression before 'ul_cmd_st'
|
|
uint32_t ul_cmd_st, uint32_t ul_cmd_sp,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:128:32: error: expected primary-expression before 'ul_cmd_sp'
|
|
uint32_t ul_cmd_st, uint32_t ul_cmd_sp,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:12: error: expected primary-expression before '*' token
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:13: error: 'p_ul_buf' was not declared in this scope
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:32: error: expected primary-expression before 'ul_size'
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/efc.h:129:39: warning: expression list treated as compound expression in initializer [-fpermissive]
|
|
uint32_t *p_ul_buf, uint32_t ul_size);
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:89:31: error: 'IFLASH0_PAGE_SIZE' was not declared in this scope
|
|
# define IFLASH_PAGE_SIZE IFLASH0_PAGE_SIZE
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:94:35: note: in expansion of macro 'IFLASH_PAGE_SIZE'
|
|
static uint32_t gs_ul_page_buffer[IFLASH_PAGE_SIZE / sizeof(uint32_t)];
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:106:31: error: variable or field 'translate_address' declared void
|
|
static void translate_address(Efc **pp_efc, uint32_t ul_addr,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:106:31: error: 'Efc' was not declared in this scope
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:106:37: error: 'pp_efc' was not declared in this scope
|
|
static void translate_address(Efc **pp_efc, uint32_t ul_addr,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:106:54: error: expected primary-expression before 'ul_addr'
|
|
static void translate_address(Efc **pp_efc, uint32_t ul_addr,
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:107:12: error: expected primary-expression before '*' token
|
|
uint16_t *pus_page, uint16_t *pus_offset)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:107:13: error: 'pus_page' was not declared in this scope
|
|
uint16_t *pus_page, uint16_t *pus_offset)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:107:32: error: expected primary-expression before '*' token
|
|
uint16_t *pus_page, uint16_t *pus_offset)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:107:33: error: 'pus_offset' was not declared in this scope
|
|
uint16_t *pus_page, uint16_t *pus_offset)
|
|
^
|
|
.piolibdeps/DueFlashStorage/src/flash_efc.cpp:913:1: error: expected '}' at end of input
|
|
}
|
|
^
|
|
*** [.pioenvs/megaatmega2560/libe82/DueFlashStorage/flash_efc.cpp.o] Error 1
|
|
lighthub/item.cpp: In member function 'int Item::VacomSetFan(int8_t, int8_t)':
|
|
lighthub/item.cpp:668:11: warning: unused variable 'j' [-Wunused-variable]
|
|
uint8_t j, result;
|
|
^
|
|
lighthub/item.cpp:668:14: warning: unused variable 'result' [-Wunused-variable]
|
|
uint8_t j, result;
|
|
^
|
|
lighthub/item.cpp:669:12: warning: unused variable 'data' [-Wunused-variable]
|
|
uint16_t data[1];
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkModbus()':
|
|
lighthub/item.cpp:914:93: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (modbusitem && nextItem.isValid() && nextItem.itemType==CH_MODBUS && nextItem.getArg(0)==addr && nextItem.getArg(1)==reg)
|
|
^
|
|
lighthub/item.cpp:914:121: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (modbusitem && nextItem.isValid() && nextItem.itemType==CH_MODBUS && nextItem.getArg(0)==addr && nextItem.getArg(1)==reg)
|
|
^
|
|
lighthub/item.cpp:890:13: warning: unused variable 'mask' [-Wunused-variable]
|
|
short mask = getArg(2);
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkModbus(int)':
|
|
lighthub/item.cpp:932:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
|
|
if (getVal()!=d || d && cmd==CMD_OFF || d && cmd==CMD_HALT) //volume changed or turned on manualy
|
|
^
|
|
lighthub/item.cpp:932:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
|
|
if (getVal()!=d || d && cmd==CMD_OFF || d && cmd==CMD_HALT) //volume changed or turned on manualy
|
|
^
|
|
lighthub/item.cpp:950:3: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::Pool()':
|
|
lighthub/item.cpp:962:3: warning: no return statement in function returning non-void [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'virtual int Item::Ctrl(short int, short int, int*, boolean)':
|
|
lighthub/item.cpp:517:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::VacomSetFan(int8_t, int8_t)':
|
|
lighthub/item.cpp:684:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::VacomSetHeat(int, int8_t, int8_t)':
|
|
lighthub/item.cpp:715:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In function 'int modbusSet(int, uint16_t, int, uint16_t)':
|
|
lighthub/item.cpp:787:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkFM()':
|
|
lighthub/item.cpp:878:3: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
lighthub/item.cpp: In member function 'int Item::checkModbus()':
|
|
lighthub/item.cpp:921:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp: In member function 'virtual bool aJsonEEPROMStream::available()':
|
|
.piolibdeps/aJson/aJSON.cpp:145:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
while (addr+offset<EEPROM.length())
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp: In member function 'int aJsonStream::printArray(aJsonObject*)':
|
|
.piolibdeps/aJson/aJSON.cpp:849:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print('[') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:862:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(',') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:868:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(']') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp: In member function 'int aJsonStream::printObject(aJsonObject*)':
|
|
.piolibdeps/aJson/aJSON.cpp:960:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print('{') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:970:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(':') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:981:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print(',') == EOF)
|
|
^
|
|
.piolibdeps/aJson/aJSON.cpp:987:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|
|
if (this->print('}') == EOF)
|
|
^
|
|
In file included from .piolibdeps/ModbusMaster/src/ModbusMaster.h:58:0,
|
|
from lighthub/item.cpp:29:
|
|
lighthub/item.cpp: At top level:
|
|
.piolibdeps/ModbusMaster/src/util/crc16.h:71:17: warning: 'crc16_update' defined but not used [-Wunused-function]
|
|
static uint16_t crc16_update(uint16_t crc, uint8_t a)
|
|
^
|
|
========================================================================================= [ERROR] Took 1.45 seconds =========================================================================================
|
|
|
|
================================================================================================= [SUMMARY] =================================================================================================
|
|
Environment due [SKIP]
|
|
Environment megaatmega2560 [ERROR]
|
|
========================================================================================= [ERROR] Took 1.45 seconds =========================================================================================
|
|
livello@lserver ~/PROG/lighthub $
|