• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Problem with 1_2_Hello_World_WS_SPIFFS example

Q&A Forum › Category: ESP32 › Problem with 1_2_Hello_World_WS_SPIFFS example
0 Vote Up Vote Down
Kurt Kristensen asked 1 year ago

hi
My server is connecting as it should, but no text is coming up on the browser.
the respond from the monitor port com3 is:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:1044 load:0x40078000,len:10124 load:0x40080400,len:5828 entry 0x400806a8 Connecting to WiFi …..192.168.1.102 SPIFFS mounted successfully 
but i got an error when compiling saying:
C:/Users/KurtK/.platformio/packages/framework-arduinoespressif32@3.10006.210326/cores/esp32/esp32-hal-spi.c: In function ‘spiTransferBytesNL’:
C:/Users/KurtK/.platformio/packages/framework-arduinoespressif32@3.10006.210326/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];
^
C:/Users/KurtK/.platformio/packages/framework-arduinoespressif32@3.10006.210326/cores/esp32/esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
uint8_t * last_data8 = &last_data;
refers to line 922 and 923 in file ESP32-hal-spi.c
what is wrong?
kind regards kurt

6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
How does your platformio.ini file looks like?
 
Regards,
Sara

0 Vote Up Vote Down
Kurt Kristensen answered 1 year ago

[env:esp32doit-devkit-v1]
platform = espressif32@3.5.0
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 500000
;lib_deps = https://github.com/me-no-dev/ESPAsyncWebServer.git
;lib_deps= ESP Async WebServer

uncomment lib_deps does not help!!
kind regards Kurt

0 Vote Up Vote Down
Kurt Kristensen answered 1 year ago

hi again
it looks like that the warning is not a problem!!
see: https://community.platformio.org/t/framework-arduinoespressif32-core-compile-warnings-esp32-hal-spi-c/26233
but still i got a blank monitor (Firedox) or with crome No website found on http://192.168.1.102/
kind regards kurt

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
The no website found is probably because you forgot to upload the filesystem image.
See the instructions to upload the filesystem image. They are right before or after the explanation of uploading the code (depending on the project).
Regards,
Sara

0 Vote Up Vote Down
Kurt Kristensen answered 1 year ago

hi Sara
the problem is fixed by using the application: “ESP32 with VS Code and PlatformIO: Upload Files to Filesystem (SPIFFS)”
is there an easier way to upload the “the filesystem image” may be automatically, than use your application .

kind regards
Kurt Kristensen

0 Vote Up Vote Down
Rui Santos Staff answered 1 year ago

Hi.
Unfortunately, no.
You’ll always have to upload the filesystem image manually.
Regards,
Rui

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.