How to configure micronucleus for ATTiny85 while using Platformio?

Hi guys,
So I need to change ENTRYMODE for the micronucleus bootloader configuration

But I can’t figure out how to do that. I don’t see if the bootloader is included as part of the firmware or not. I assume it is not.

I saw these instructions but they assume that I have bootloader file hex.

Should I build bootloader separately or is there a way to suggest IDE to compile bootloader as part of the project?

PlatformIO doesn’t build the nucleus bootloader for ATTiny85 and updates it on every flash. That is supposed to be a one-time action. You’ll have to recompile the micronucleus project with your changes and burn it.

1 Like

That is what I was thinking.