Webserver #169
Replies: 3 comments 5 replies
-
Here's the short version based on what I've been able to do: Open the NightDriver project in Visual Studio Code Open the file: partitions_custom.csv On the bottom of the window you should see a bar with icons similar to the following: Click this icon (circled in blue) to open the terminal: Connect your board to the computer via USB cable. Run the following commands in order: |
Beta Was this translation helpful? Give feedback.
-
Here’s my partition file, which is not checked in, but should allows you build and upload everything… works for me with my build, anyway!
# ESP-IDF Partition Table
# This gives us some additional space for code.
# It should also fix the OTA regression.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x009000, 0x005000,
otadata, data, ota, 0x00e000, 0x002000,
app0, app, ota_0, 0x010000, 0x150000,
app1, app, ota_1, 0x160000, 0x150000,
storage, data, spiffs, 0x2B0000, 0x150000
Note that I’ve only tested the web server under the mesmerizer config, which has more base ram available because it’s using PSRAM.
We may have to offload or move some of the React templates to the web, rather than hosting everything off the chip, but that’d need someone who’s better with React than I am!
…-Dave
On Dec 3, 2022, at 5:04 PM, DityOldDogDK ***@***.***> wrote:
I get a error when i get to pio run --target buildfs --environment
SPIFFS_write error(-10001): File system is full.
error adding file!
Error for adding content from js!
—
Reply to this email directly, view it on GitHub <#169 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCFZK3HIKHTL6FNKNMVLWLPUZ7ANCNFSM6AAAAAASSVBQWY>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
In a very recent checkin I removed the built_type from individual projects, so its now global and the same for all… and ideally retail!
… On Dec 6, 2022, at 2:05 PM, CdnLaser ***@***.***> wrote:
Added build_type = release
seemed to buildfs and uploadfs appeared to have worked this time.
Dont understand why some of the 'projects' have 'build_type = debug' some have 'build_type = release' and some have none.
I'm a hardware guy so 'trying' to learn this is frustrating when its not documented and incomplete :\ oh well will keep plugging away
Here is my current partitions_custom.cvs
Still cant seem to get the web server to come up on my 192.168.0.35:80
Will keep at it..
ESP-IDF Partition Table
This gives us some additional space for code.
It should also fix the OTA regression.
Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x009000, 0x005000,
otadata, data, ota, 0x00e000, 0x002000,
app0, app, ota_0, 0x010000, 0x150000,
app1, app, ota_1, 0x160000, 0x150000,
storage, data, spiffs, 0x2B0000, 0x150000
—
Reply to this email directly, view it on GitHub <#169 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCFZWGN2QRDVMREIQROLWL62DJANCNFSM6AAAAAASSVBQWY>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying to make the webserver on my DOIT ESP32 DEVKIT V1,but i dont know how to do it i have been reading the setup but i dont know how to.
Webserver Setup
To use the built-in webserver, you will need to build and upload the SPIFFS image to your board's flash using platformio.
You can do this using the platformio user interface, or using the pio command line tool
pio run --target buildfs --environment
pio run --target uploadfs --environment
Beta Was this translation helpful? Give feedback.
All reactions