Skip to content

Error parsing integer number '' #28

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

Open
xobs opened this issue Mar 28, 2025 · 0 comments
Open

Error parsing integer number '' #28

xobs opened this issue Mar 28, 2025 · 0 comments

Comments

@xobs
Copy link

xobs commented Mar 28, 2025

I tried running the generator as described from the README, but it gave me an error saying it couldn't parse an empty string. I'm not sure where the value came from.

$ cargo generate gh:probe-rs/flash-algorithm-template
⚠️   Favorite `gh:probe-rs/flash-algorithm-template` not found in config, using it as a git repository: https://github.com/probe-rs/flash-algorithm-template.git
🤷   Project Name: tms570
🔧   Destination: /Users/seancross/Code/tms570 ...
🔧   project-name: tms570 ...
🔧   Generating template ...
✔ 🤷   What is the target architecture? · thumbv8m.base-none-eabi
🤷   What is the target RAM start address where the flash algorithm should be placed?: 0x08001000
🤷   What is the target RAM size in bytes?: 131072
🤷   What is the target Flash start address of the device the flash algorithm is for?: 0
🤷   What is the target Flash size in bytes?: 524288
🤷   What is the target Flash page size in bytes?: 0x400
🤷   What is the target Flash sector size in bytes?: 0x400
🤷   What is the erased state of a byte in Flash?: 0xFF
Error: ⛔   Failed executing script: calculate-memory.rhai

Caused by:
    Error parsing integer number '': cannot parse integer from empty string (line 11, position 9)
$
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

1 participant