Hello, there are two messages at compiling, see below :
Compiling .pio/build/esp32doit-devkit-v1/FrameworkArduino/esp32-hal-time.c.o
/home/matthias/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c: In function ‘spiTransferBytesNL’:
/home/matthias/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
uint8_t * last_out8 = &result[c_longs-1];
^
/home/matthias/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
uint8_t * last_data8 = &last_data;
I went through the tutorial and example 1.1 and the section before were Ok. This is the first time I got stuck.
As it looks like a Software bug I assume that my Hardware is Ok. I use an NodeESP out of a Maker Kit from company Franzis.
Please ask additional questions, give me some link where I can find a solution.
What can I do to make this project running?
thanks Mat
Hi Mat.
Are you using Arduino IDE or VS Code?
What is your operating system?
Can you share a link to the board model you have?
Regards,
Sara
thank you for replay Sara. Here are my answers :
1.) ubuntu with vs + pio -> that’s where I got the error messages from, as posted above.
2.) WIN10, Aduino IDE -> exp. 1.3, this was what I have tried out today, there was no error message (visible) to me but also there was no result when I opened the website in browser with the IP number from serial monitor.
From serial monitor :
17:53:44.631 -> ets Jun 8 2016 00:22:57
17:53:44.631 ->
17:53:44.631 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
17:53:44.631 -> configsip: 0, SPIWP:0xee
17:53:44.631 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
17:53:44.631 -> mode:DIO, clock div:2
17:53:44.631 -> load:0x3fff0018,len:4
17:53:44.631 -> load:0x3fff001c,len:1216
17:53:44.631 -> ho 0 tail 12 room 4
17:53:44.631 -> load:0x40078000,len:10944
17:53:44.631 -> load:0x40080400,len:6360
17:53:44.631 -> entry 0x400806b4
17:53:45.051 -> Connecting to WiFi …..192.168.178.64
17:53:48.139 -> SPIFFS mounted successfully
————————-
3.) HW NodeESP Support Archive – Internet of Things mit dem NanoESP (fkainka.de)
The webserver in this maker kit and with the latest update of the firmware works as described in this package.
As it is a ESP32 I was on the opinion that it should also work with your tutorial.
to 2.) …and finally I found the mistake … the SPIFFS were not installed correctly, I have repeated installation of the SPIFFS and now I see the result in browser.
to 1.) In Linux environment I will look at it at a later point time.
best regards Matthias
Hi Matias.
Usually, when everything uploads fine, SPIFFS is mounted successfully, but the web page doesn’t show anything, that means that the files were not uploaded to SPIFFS.
As for the other error, I’m not sure what is causing it . I use Windows computer, so I’m not familiar with Linux issues.
It may be useful if you post your issue in the PlatformIO forum. Maybe they can help you better:
Regards,
Sara
Hi Sara, thank you very much for this tutorial. THank you for all your time you are spending in your projects.
I went on and also in Linux/VS/PIO I was able to upload the filesystem image correctly and the example works as described.
On page 286 of your tutorial, I tried the link to download the complete project without success.
I used https://github.com/RuiSantosdotme/build-web-servers-dl/blob/main/2_3_Outputs%20_Websockets.zip instead and downloaded the zip file.
best regards Mat
Hi Mat.
I’m sorry about that issue.
This is the correct link to download the project files:
Regards,
Sara
I m currently stuck in the same chapter.
I already made a post on the forume there is the link.
Thx in advance