Update Home

ccppi 2024-03-09 10:38:08 +00:00
parent 62d378d2ad
commit 58640a90b7

@ -13,3 +13,11 @@ https://www.nongnu.org/avr-libc/user-manual/group__avr__power.html
### Others ### Others
On ulatra strange behavior remember gcc optimizations gan fuck with your code. See Flags: -Os <--- does for example remove empty while loops, which can be crusial for embedded devices. On ulatra strange behavior remember gcc optimizations gan fuck with your code. See Flags: -Os <--- does for example remove empty while loops, which can be crusial for embedded devices.
In that case use something like -O0 if possible(because of flash size). In that case use something like -O0 if possible(because of flash size).
#### Disable Clk prescaler
1. set presclaer fuses
2.`clock_prescale_set(x)`
https://www.mikrocontroller.net/topic/291951