Giter VIP home page Giter VIP logo

Comments (7)

Nathan-ma avatar Nathan-ma commented on August 18, 2024 1

@bootrino , first of all, huge fan of your work! especially with the esp32 a2dp source project!
Now let me ask, did you find a solution for this tool with the modified partition? if no, there is any other similar tool available! Thank you

from arduino-esp32fs-plugin.

bootrino avatar bootrino commented on August 18, 2024

I found the problem.

It happens when ./Library/Arduino15/packages/esp32/hardware/esp32/1.0.1/tools/partitions/default.csv contains this:

# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs,      data, nvs,     0x9000,  0x6000,
phy_init, data, phy,     0xf000,  0x1000,
factory,  app,  factory, 0x10000, 1M,
storage,  data, spiffs,  ,        0xF0000,

Looks like the partition parsing code in this utility can't handle that partition structure for some reason.

from arduino-esp32fs-plugin.

Nathan-ma avatar Nathan-ma commented on August 18, 2024

@bootrino . Well I just returned the lib its original content, use the tool and its working perfectly! Ty!

from arduino-esp32fs-plugin.

bootrino avatar bootrino commented on August 18, 2024

@DarvosBR thanks for the kind words. I fixed it in the end by modifying the esp32 partition csv file - I suspect the problem is this utility cannot parse the line that says "1M" but I never bothered digging any deeper.

from arduino-esp32fs-plugin.

 avatar commented on August 18, 2024

Could it be happening when the offset is empty?

from arduino-esp32fs-plugin.

 avatar commented on August 18, 2024

I can confirm it does work when the offset is not blank.
I used this command to convert the partition table with blank offset values to a bin:
python gen_esp32part.py input_partitions.csv binary_partitions.bin

And then verify the bin file just created with the command above:
python gen_esp32part.py binary_partitions.bin

And jsut like that it will print the computed offsets in console for you. You can then replace the csv file with the new values computed.

from arduino-esp32fs-plugin.

Nathan-ma avatar Nathan-ma commented on August 18, 2024

Guys I found the solution, at least in my case, by using mkspiffs tool provided by espressif, I made a new partition csv but in order to use the mkspiffs to upload the WAV file I made a batch script to run the mkspiffs with the memory locations I need.

from arduino-esp32fs-plugin.

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.