-
Notifications
You must be signed in to change notification settings - Fork 319
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
[Feature Request]: 需要让flasher_args可手动配置分区文件是否需要烧录 (VSC-1572) #1407
Comments
This feature is already available in the extension but unfortunately not documented. PTAL @shishirong @SinglWolf and let me know what you think.
|
The |
You are right I'm not sure why I thought it was there. I could add this feature is not very hard.
You can right click I've just noticed that So let me summarize the required changes, to my understanding, for the feature request implementation here:
|
Hello guys @shishirong @SinglWolf ! I've created a PR to fix issues we discussed in here #1436 Please take a look. bootloader and partition table information come from build directory's flasher_args.json and bootloader size from bootloader.bin. You can test these changes by installing this VSIX by click menu View -> Command Palette..., type Install from VSIX and then select downloaded esp-idf-extension.vsix file to install the extension. |
About the filesystem Image and OTA, I think is very similar to provide functionality with the previous comment. It will depend that your current project does have a partition table with related partitions (ota, spiffs). About building these filesystems please review this: for FATFS: https://github.com/espressif/esp-idf/blob/c71d74e2f853b1135c63f47e349f2a08f63f3e01/examples/storage/fatfs/fatfsgen/main/CMakeLists.txt#L18 Since a filesystem existence in your project depends on configuration is hard to determine an script to trigger this from IDE without more information. I try to discuss it with ESP-IDF Storage team to see if there something we can do about it. |
Unfortunately, I don't have a spare computer to check. I'll wait for you to approve my PR #1409. |
This issue has been marked as |
@brianignacio5 可以考虑一下这个提议吗? |
Sorry @shishirong I don't understand what you want to achieve. build flash monitor function is already there. What is missing ? |
@brianignacio5 "Build Flash Monitor " default is flash all partition , but Just want to "Build + flash<app partition> + Monitor" at development usually. Although the |
Oh I see. The question is where to set this option. App Bootloader and Partition Table could be set in a setting that allows you to define what to flash, for example What do you think @shishirong ? |
yes, add option for config build and flash partition in some args.json file (flasher_args.json will change after every build). if add a gui page similarly "ESP-IDF Partition Table Editor" for edit It couldn't be better. |
Is your feature request related to a problem? Please describe.
使用场景:我的工程分区表如下:
调试过程中,会经常烧录应用程序,目前默认行为是会烧录所有分区文件,但是平时调试时只需要烧录ota_0 而其他分区需要保持不变,vscode-esp-idf-extension并没有找到相关配置可以控制这个默认烧录行为
Describe the solution you'd like
允许用户手动配置分区文件是否需要烧录
The text was updated successfully, but these errors were encountered: