Possibly different frequency for bootloader and user code? #263
-
I wanted to reduce power consumption of my board - one of the options is to reduce the clock speed Sadly, looks like USB comm (and thus, this bootloader) require 12MHz at least - legit 💯 But I don't plan using usb in my Arduino code tho... would it be ever possible to have different clock in bootloader and user code? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
That is easily possible now. Just change the clockspeed in your user program. |
Beta Was this translation helpful? Give feedback.
-
Use e.g. https://github.com/SpenceKonde/ATTinyCore and choose the desired program frequency (F_CPU). The core sets the frequency after the bootloader and before your setup to the right value. |
Beta Was this translation helpful? Give feedback.
That is easily possible now. Just change the clockspeed in your user program.