dc42 / DuetWiFiServer

HTTP and related server code for Duet WiFi 3D printer electronics
11 stars 9 forks source link

Missing Makefile? #1

Open MS1987 opened 8 years ago

MS1987 commented 8 years ago

Hi, Mr dc42! Thanks for your share first! I down your DuetSiFiServer and CoreESP8266 project, however, when I import them to eclipse, there is no "Makefile" in both of them. Do you miss upload them ? Or I should write them by myself ?

dc42 commented 8 years ago

Eclipse generates the makefiles itself when you tell it to Build a project.

MS1987 commented 7 years ago

@dc42 Dear sir. Thank you for replying! Finally I cannot compile sucessfully with eclipse. Maybe there is something wrong with my configure. But I can compile it with arduino and use your esp8266 core. However I overcome another problem: Running the webserver, firstly, I can link the configure website and fininsh the wifi configure. After reboot, I can get the decription.xml file when I visit the "http://myIpaddr/description.xml" on the browser. However, I can visit neither the "http://duetwifi/" nor"http://duetwifi/description.xml" . I have set the default host name as your default value. Can you tell me how I can visit the printer ui you designed? Thank you!

dc42 commented 7 years ago

The DuetWiFiServer project builds in Eclipse but the binary does not work yet. The generated binary comes out slightly shorter than the version built in Arduino. However, I suspect that the main problem is that some functions are being put into flash when they should be in RAM, or vice versa.

To build DuetWiFiServer under Arduino, you need to apply some patches to version 2.1.0 ESP8266 libraries, using the files in the CoreESP8266 project.

To access the Duet WiFi, see https://duet3d.com/wiki/Getting_connected.

MS1987 commented 7 years ago

Thank you so much! I will try it.