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

fix: [sc-123209] Flashing Electron 2.3.1 using flash --local returns error #687

Merged

Conversation

monkbroc
Copy link
Member

@monkbroc monkbroc commented Oct 31, 2023

Story details: https://app.shortcut.com/particle/story/123209

Fixes the inability to flash monolithic debug firmware for Photon and Electron with particle flash --local.

@monkbroc monkbroc force-pushed the bug/sc-123209/flashing-electron-2-3-1-using-flash-local branch from e24ab39 to 27c686e Compare October 31, 2023 20:15
Copy link
Contributor

@keeramis keeramis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(bug/sc-123209/flashing-electron-2-3-1-using-flash-local) $ npm start -- flash --local /Users/keerthyamisagadda/code/workbench/Cust-issue-1   --target 2.3.1 

> particle-cli@3.17.3 start /Users/keerthyamisagadda/code/particle-cli
> node ./src/index.js "flash" "--local" "/Users/keerthyamisagadda/code/workbench/Cust-issue-1" "--target" "2.3.1"

Flashing electron 3700320010504e5354303420
Targeting version: 2.3.1

Including:
    ../workbench/Cust-issue-1/project.properties
    ../workbench/Cust-issue-1/src/Cust-issue-1.cpp

Compile succeeded.

Memory use:
    Flash      RAM
    10660     1600

[█████████████████████████] 100% | Flashing electron-bootloader@2.3.1+lto.bin
Flash success!
keerthyamisagadda@loaners-macbook-pro particle-cli (bug/sc-123209/flashing-electron-2-3-1-using-flash-local) $ npm start -- flash --local /Users/keerthyamisagadda/code/workbench/Cust-issue-1   --target 2.3.1 --application-only

> particle-cli@3.17.3 start /Users/keerthyamisagadda/code/particle-cli
> node ./src/index.js "flash" "--local" "/Users/keerthyamisagadda/code/workbench/Cust-issue-1" "--target" "2.3.1" "--application-only"

Flashing electron 3700320010504e5354303420
Targeting version: 2.3.1

Including:
    ../workbench/Cust-issue-1/project.properties
    ../workbench/Cust-issue-1/src/Cust-issue-1.cpp

Compile succeeded.

Memory use:
    Flash      RAM
    10660     1600

[█████████████████████████] 100% | Flashing 2023931-14229-y6fy7p.1gkj9.bin
Flash success!

@keeramis
Copy link
Contributor

This is mono firmware

particle-cli (bug/sc-123209/flashing-electron-2-3-1-using-flash-local) $ npm start -- flash --local /Users/keerthyamisagadda/code/workbench/Cust-issue-1/target/2.3.1/electron/Cust-issue-1.bin 

> particle-cli@3.17.3 start /Users/keerthyamisagadda/code/particle-cli
> node ./src/index.js "flash" "--local" "/Users/keerthyamisagadda/code/workbench/Cust-issue-1/target/2.3.1/electron/Cust-issue-1.bin"

Flashing electron 3700320010504e5354303420
[█████████████████████████] 100% | Flashing Cust-issue-1.bin
Flash success!


@keeramis keeramis merged commit a31621b into master Nov 1, 2023
6 checks passed
@monkbroc monkbroc deleted the bug/sc-123209/flashing-electron-2-3-1-using-flash-local branch January 19, 2024 19:40
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.

None yet

2 participants