Coder Social home page Coder Social logo

Comments (4)

FredrikFornstad avatar FredrikFornstad commented on July 21, 2024

Oh, I almost forgot: The libwebsockets/scripts/esp32.mk need to have its lws_flash_ota address adjusted accordingly. With my suggested change of increasing the factory partition with 0x10000 the line

write_flash 0x110000 $(LWS_BUILD_PATH)/$(PROJECT_NAME).bin should be changed to
write_flash 0x120000 $(LWS_BUILD_PATH)/$(PROJECT_NAME).bin

from lws-esp32-factory.

lws-team avatar lws-team commented on July 21, 2024

Thanks... yes there's no point having a partition.csv in the test app, I removed it.

I followed your suggestion and added 64KB to the factory partition, shrinking the OTA (and the erase ota) accordingly.

Your following and reporting on esp-idf is really useful, I appreciate the reports.

from lws-esp32-factory.

FredrikFornstad avatar FredrikFornstad commented on July 21, 2024

The test-app does not compile out of the box anymore. The user will need to run "make menuconfig" first and set the partition table to one of the defaults. Otherwise the compiler will stop, complaining that it cannot find partitions.csv ... Sure, the user can do this, but I think it is nice if this was done already in the source files. It certainly gives a better impression to a new user that is trying this out for the first time.

from lws-esp32-factory.

lws-team avatar lws-team commented on July 21, 2024

Yeah it shouldn't break it. I replaced it with a copy of the -factory one.

from lws-esp32-factory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.