-
Notifications
You must be signed in to change notification settings - Fork 132
Flashing different partitions #1251
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
Comments
I'm not well known to ESP32 so it is not easy for me to picture your need. FYI I see a link to issue #585 as the bootloader should also have to stop the serial monitor and restart it. |
The tools are external programms tools called from Eclipse/Sloeber. Typically esptool.exe (or esptool.py to run under python) to flash. There are other tools like mkspiffs.exe to generate an image for the SPIFFS filesystem.
Yes this is exactly what I was referencing to. It is done in there somewhere, and the solution I was looking for was a way to call this functionality somehow. Why am I using makefiles (makefile.init to be exact) for this: By adding a maketarget I get a "button" (the make target in the project Explorer) to call this function with one click. And yes, some things are defined through the boards.txt and platform.txt files. But at the end there is only one Flash button in Sloeber. It may be possible to change the behaviour to have for example the SPIFFS partition included in the flash process. But since these things are not the same in all projects (e.g. the partition scheme changes) it again is an issue. I have one other idea: |
I didn't know about this makefile feature integration with CDT. Interesting. |
Can you point me to the place in the source where this serial monitor connect/disconnect is done? Maybe I can find a way... |
It is in the api part |
Did you make progress? |
Unfortunately I have had no time to look into this issue. Since it is mostly an inconvinience it is not that high on my priority list :-/ |
As I've been working on #585 I will add a stop and start for running targets. So basically Does that suit your needs? |
Yes, that is perfect !!! Thank you. |
I've implemented this for #585 so I'm closing this issue. |
The function to flash an image into the target under Sloeber is very nice. I particulary like that I don't have to stop the serial monitor (using and ESP32 target). I can just click flash target and the serial connection is automatically stopped, the flash procedure takes place, and then the serial connection works again.
Now to my issue: There are some more partitions that are not flashed in this procedure, and also they typically are flashed seperately. For example a SPIFFS Filesystem or NVR Memory.
It is easy to create a make target under Eclipse to do this job, be in this case the serial monitor must be manually deactivated before and reactivated after the flash procedure...
I am looking for two kinds of solution:
A way to put this deactivation and reactivation of the serial monitor as a call into the makefile. Basically a small tool that would do this (not sure if this can be done easily).
A new feature in Sloeber to configure different flash jobs to be called with one click.
Basically to have a flash all partitions, flash only the App, or App + SPIFF or just SPIFFS etc...
The text was updated successfully, but these errors were encountered: