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

[VSC-1572] add app bootloader partition table build flash cmds #1436

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

brianignacio5
Copy link
Collaborator

@brianignacio5 brianignacio5 commented Feb 20, 2025

Description

Add bootloader and partition table to Device Partition Explorer. Use current project files and minimize reading from device.
Using <buildDirPath>/flasher_args.json to get bootloader and partition table offset.
Move Open Partition Table editor action to Device partition Explorer as icon. (Next to refresh button)

Add read partition action in Device Partition Explorer.

Add ESP-IDF: Build App, ESP-IDF: Flash App only, ESP-IDF: Build Bootloader, ESP-IDF: Flash Bootloader Only, ESP-IDF: Build Partition Table, ESP-IDF: Flash Partition Table Only to build or flash specific parts of current project application.

Fixes #1407

Screenshot 2025-02-21 at 18 21 48

Type of change

  • New feature (non-breaking change which adds functionality)

Steps to test this pull request

Provide a list of steps to test changes in this PR and required output

  1. Click on Espressif activity Bar.
  2. Expand Device Partition Explorer section. Click refresh button.
  3. Observe results. Partitions from current project should appear. Click any partition should allow user to read and flash to a given partition.
  4. Executing one of these commands ESP-IDF: Build App, ESP-IDF: Flash App only, ESP-IDF: Build Bootloader, ESP-IDF: Flash Bootloader Only, ESP-IDF: Build Partition Table, ESP-IDF: Flash Partition Table Only should either build that part of the project or flash a single binary that matches that part of project.
  • Expected behaviour:
    Read and write actions for all partitions.
    Partitions are listed in device partition explorer.

  • Expected output:

How has this been tested?

Follow manual steps above.

Test Configuration:

  • ESP-IDF Version: 5.4
  • OS (Windows,Linux and macOS): MacOS

Checklist

  • PR Self Reviewed
  • Applied Code formatting
  • Added Documentation
  • Added Unit Test
  • Verified on all platforms - Windows,Linux and macOS

Copy link

github-actions bot commented Feb 20, 2025

Download the artifacts for this pull request:
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.

@brianignacio5 brianignacio5 self-assigned this Feb 21, 2025
@brianignacio5 brianignacio5 marked this pull request as ready for review February 21, 2025 10:43
@brianignacio5 brianignacio5 added this to the v1.10.0 milestone Feb 21, 2025
@Fabricio-ESP Fabricio-ESP changed the title add app bootloader partition table build flash cmds [VSC-1572] add app bootloader partition table build flash cmds Feb 26, 2025
@brianignacio5 brianignacio5 force-pushed the feature/partition-specific-actions branch from ab2e768 to 571ecb7 Compare March 6, 2025 09:26
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

Successfully merging this pull request may close these issues.

[Feature Request]: 需要让flasher_args可手动配置分区文件是否需要烧录 (VSC-1572)
1 participant