SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!
Other
554 stars 144 forks source link

[BUG]: can't burn bootloader on Ubuntu, invalid literal '0b010{bootloader.bodmodebits}' #876

Closed okawo80085 closed 1 year ago

okawo80085 commented 1 year ago

So i've been trying to flash new FUSE values from Arduino IDE, but every time i try i get an invalid literal error.

Error message in Arduino IDE:

Error: cannot parse fuse, 'invalid literal for int() with base 0: '0b010{bootloader.bodmodebits}''
Failed to burn bootloader: uploading error: exit status 1

Tried both core version 2.6.1 and 2.6.4, both have the same issue.

Tried re installing the Arduino IDE and megaTinyCore, didn't help.

What am i missing?

okawo80085 commented 1 year ago

Correction, only Sampled/Sampled BOD FUSE values result in this error, Enable/Enable and others work fine... ?

SpenceKonde commented 1 year ago

This appears to be a bug in the core, have urgent work for a client to do today though

okawo80085 commented 1 year ago

Take your time, this is not urgent for me