Добро пожаловать,
Гость
|
Железо для умного дома
|
ТЕМА: Шлюз Ethernet-nRF24L01 (W5100) на базе Arduino UNO
Re: Шлюз Ethernet-nRF24L01 (W5100) на базе Arduino UNO 11 Янв 2015 17:51 #854
|
Повторно поменял свои библиотеки на взятые с вашей страницы, в том числе и Ethernet, предварительно удалив в своём дистрбутиве Arduino, а также пробывал другие библиотеки, найденные в Инете. Также повторил аналогичные манипуляции с Arduino 1.0.1 Однако при компиляции, опять выдает ошибку
ВНИМАНИЕ: Спойлер! [ Нажмите, чтобы развернуть ][ Нажмите, чтобы скрыть ] In file included from sketch_jan11a.ino:4: C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:81:1: warning: multi-line comment In file included from sketch_jan11a.ino:4: C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:145: warning: 'typedef' was ignored in this declaration C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In constructor 'WebServer::WebServer(const char*, int)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:296: warning: 'WebServer::m_cmdCount' will be initialized after C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:285: warning: 'int WebServer::m_contentLength' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:322: warning: when initialized here C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::addCommand(const char*, void (*)(WebServer&, WebServer::ConnectionType, char*, bool))': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:351: warning: comparison between signed and unsigned integer expressions C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:353: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:354: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::printP(const prog_uchar*)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:407: warning: suggest parentheses around assignment used as truth value C:\arduino-1.0.5-r2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\arduino-1.0.5-r2\hardware\arduino\cores\arduino C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'bool WebServer::dispatchCommand(WebServer::ConnectionType, char*, bool)': -IC:\arduino-1.0.5-r2\hardware\arduino\variants\standard -IC:\arduino-1.0.5-r2\libraries\Ethernet -IC:\arduino-1.0.5-r2\libraries\SPI C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:433: warning: deprecated conversion from string constant to 'char*' -IC:\arduino-1.0.5-r2\libraries\webduino -IC:\arduino-1.0.5-r2\libraries\RF24 C:\Users\46E8~1\AppData\Local\Temp\build4328347746617104865.tmp\sketch_jan11a.cpp -o C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:462: warning: array subscript has type 'char' C:\Users\46E8~1\AppData\Local\Temp\build4328347746617104865.tmp\sketch_jan11a.cpp.o C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:462: warning: comparison between signed and unsigned integer expressions C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:463: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:467: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpFail()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:553: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::noRobots(WebServer::ConnectionType)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:576: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::favicon(WebServer::ConnectionType)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:586: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpUnauthorized()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:593: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpServerError()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:606: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpSuccess(const char*, const char*)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:619: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpSeeOther(const char*)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:635: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'int WebServer::read()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:710: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::push(int)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:719: warning: array subscript has type 'char' sketch_jan11a.ino: In function 'void parsedRequest(WebServer&, WebServer::ConnectionType, char*, bool)': sketch_jan11a.ino:175: warning: unused variable 'name_len' sketch_jan11a.ino:177: warning: unused variable 'value_len' sketch_jan11a.ino: In function 'void loop()': sketch_jan11a:324: error: void value not ignored as it ought to be In file included from sketch_jan11a.ino:4: C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:81:1: warning: multi-line comment In file included from sketch_jan11a.ino:4: C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:145: warning: 'typedef' was ignored in this declaration C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In constructor 'WebServer::WebServer(const char*, int)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:296: warning: 'WebServer::m_cmdCount' will be initialized after C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:285: warning: 'int WebServer::m_contentLength' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:322: warning: when initialized here C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::addCommand(const char*, void (*)(WebServer&, WebServer::ConnectionType, char*, bool))': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:351: warning: comparison between signed and unsigned integer expressions C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:353: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:354: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::printP(const prog_uchar*)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:407: warning: suggest parentheses around assignment used as truth value C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'bool WebServer::dispatchCommand(WebServer::ConnectionType, char*, bool)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:433: warning: deprecated conversion from string constant to 'char*' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:462: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:462: warning: comparison between signed and unsigned integer expressions C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:463: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:467: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpFail()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:553: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::noRobots(WebServer::ConnectionType)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:576: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::favicon(WebServer::ConnectionType)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:586: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpUnauthorized()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:593: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpServerError()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:606: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpSuccess(const char*, const char*)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:619: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::httpSeeOther(const char*)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:635: warning: only initialized variables can be placed into program memory area C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'int WebServer::read()': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:710: warning: array subscript has type 'char' C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h: In member function 'void WebServer::push(int)': C:\arduino-1.0.5-r2\libraries\webduino/WebServer.h:719: warning: array subscript has type 'char' sketch_jan11a.ino: In function 'void parsedRequest(WebServer&, WebServer::ConnectionType, char*, bool)': sketch_jan11a.ino:175: warning: unused variable 'name_len' sketch_jan11a.ino:177: warning: unused variable 'value_len' sketch_jan11a.ino: In function 'void loop()': sketch_jan11a:324: error: void value not ignored as it ought to be Вся история повторяется с WebServer.h, пробывал заменить на другие версии библеотек - https://github.com/sirleech/Webduino - https://code.google.com/p/webduino/downloads/detail?name=webduino-1.7.zip&can=2&q= - https://code.google.com/p/webduino/downloads/detail?name=webduino-1.4.1.zip&can=2&q= Аналогичная проблем при компиляции. Заранее спасибо за ответ. |
Администратор запретил публиковать записи гостям.
|
Re: Шлюз Ethernet-nRF24L01 (W5100) на базе Arduino UNO 11 Янв 2015 18:51 #858
|
У меня все компилируется в версии 1.5.6-r2 (чистая плюс библиотеки с сайта)
Пробовал на 1.5.8 - не идет. На младшей 1.0.5 - не пробовал. |
Администратор запретил публиковать записи гостям.
|
Re: Шлюз Ethernet-nRF24L01 (W5100) на базе Arduino UNO 13 Янв 2015 17:06 #908
|
Спасибо за помощь.
Компиляция прошла после установки версии ide Arduino 1.5 |
Администратор запретил публиковать записи гостям.
|
|
Модераторы: FlyRouter
Время создания страницы: 0.122 секунд