Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin does not use custom partitions.csv #33

Open
dl9rdz opened this issue Sep 26, 2021 · 7 comments
Open

Plugin does not use custom partitions.csv #33

dl9rdz opened this issue Sep 26, 2021 · 7 comments

Comments

@dl9rdz
Copy link

dl9rdz commented Sep 26, 2021

Since espressif/arduino-esp32#3328, there can be a custom partitions.csv file in a sketch.

The Arduino ESP32 filesystem uploader plugin ignores such custom partitions.csv. Thus it does not use the correct size and location for the SPIFFS for Arduino sketches that use a custom partitions.csv file.

@robertgregor
Copy link

I am also looking into this thing. @dl9rdz you have already the working jar, which is using it? Can you send it to us? Seems, me-no-dev didn't merged your code yet :)

@dl9rdz
Copy link
Author

dl9rdz commented Dec 5, 2022

@robertgregor
Copy link

Hi, thanks a lot. I have tried to do modification in the source code and tried to compile it with the javac, but I don't know, which jars from arduino, I have to include to the classpath. Can you add the javac compile command here? Or are you using some arduino tool to compile the java file? Thanks!!!

@dl9rdz
Copy link
Author

dl9rdz commented Dec 6, 2022

Just running "make.sh" works for me.

javac needs pde.jar, arduino-core.jar, and commons-codec-1.7.jar from arduino

@twinsvision
Copy link

twinsvision commented Sep 20, 2023

Hi, with this esp32fs plugin I get the following error which was not the case with the unpatched version:
"A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip argument?"
By the way, the correct board is selected in Arduino menu...

The actual output is:

[SPIFFS] upload : /var/folders/by/xfznghr974sb5_mlknfgkcjm0000gn/T/arduino_build_393891/ui.spiffs.bin
[SPIFFS] address: 16842752
[SPIFFS] port : /dev/cu.usbserial-1120
[SPIFFS] speed : 921600
[SPIFFS] mode : dout
[SPIFFS] freq : 80m

esptool.py v4.5.1
Serial port /dev/cu.usbserial-1120
Connecting...

A fatal error occurred: This chip is ESP32-S3 not ESP32. Wrong --chip argument?
SPIFFS Upload failed!

@dl9rdz
Copy link
Author

dl9rdz commented Sep 20, 2023

I upgraded my patched version to 1.1, this should resolve that problem
https://github.com/dl9rdz/arduino-esp32fs-plugin/releases/tag/1.1mod

@twinsvision
Copy link

@dl9rdz Great job! Working like a charm now, many thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants