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

Option parsing and skip raw test when flash is too small #8

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Option parsing and skip raw test when flash is too small #8

merged 1 commit into from
Jan 21, 2024

Conversation

stefanrueger
Copy link
Contributor

Also fixes #6

$ avrdude_test_script.sh -d 0 -p "-c dryrun -p t13" -p "-c dryrun -p m4809"
Testing avrdude version 7.2-20231218 (62b15d20)
Prepare "-c dryrun -p t13" and press 'enter' or 'space' to continue. Press any other key to skip
✅ eesave fuse bit set, cleared and verified
✅ the_quick_brown_fox_1024B.hex flash -U write/verify
✅ the_quick_brown_fox_64B.hex eeprom -U write/verify
✅ lorem_ipsum_1024B.srec flash -U write/verify
✅ lorem_ipsum_64B.srec eeprom -U write/verify
✅ 0xff_64B.hex eeprom -U write/verify
✅ the_quick_brown_fox_1024B.hex:a flash -T write/verify
✅ the_quick_brown_fox_64B.hex:a eeprom -T write/verify
✅ lorem_ipsum_1024B.srec flash -T write/verify
✅ lorem_ipsum_64B.srec eeprom -T write/verify
✅ holes_pack_my_box_1024B.hex:a flash -U write
✅ holes_the_five_boxing_wizards_1024B.hex flash -T write
✅ holes_pack_my_box_64B.hex:a eeprom -U write
✅ holes_the_five_boxing_wizards_64B.hex eeprom -T write
Prepare "-c dryrun -p m4809" and press 'enter' or 'space' to continue. Press any other key to skip
✅ eesave fuse bit set, cleared and verified
✅ the_quick_brown_fox_49152B.hex flash -U write/verify
✅ the_quick_brown_fox_256B.hex eeprom -U write/verify
✅ lorem_ipsum_49152B.srec flash -U write/verify
✅ lorem_ipsum_256B.srec eeprom -U write/verify
✅ 0xff_256B.hex eeprom -U write/verify
✅ the_quick_brown_fox_49152B.hex:a flash -T write/verify
✅ the_quick_brown_fox_256B.hex:a eeprom -T write/verify
✅ lorem_ipsum_49152B.srec flash -T write/verify
✅ lorem_ipsum_256B.srec eeprom -T write/verify
✅ cola-vending-machine.raw flash -T/-U write/verify
✅ holes_pack_my_box_49152B.hex:a flash -U write
✅ holes_the_five_boxing_wizards_49152B.hex flash -T write
✅ holes_pack_my_box_256B.hex:a eeprom -U write
✅ holes_the_five_boxing_wizards_256B.hex eeprom -T write
✅ random_data_64B.bin usersig -T/-U write/read

@MCUdude
Copy link
Owner

MCUdude commented Jan 21, 2024

Neat, thanks!

@MCUdude MCUdude merged commit c80cf48 into MCUdude:main Jan 21, 2024
@stefanrueger stefanrueger deleted the test-options branch January 22, 2024 00:37
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.

Use #!/usr/bin/env bash
2 participants