#avr Logs

Jul 21 2021

#avr Calendar

08:41 AM LeoNerd: Hrm. avr-gcc doesn't warn me when I try to make a single array bigger than the entire RAM available
08:48 AM LeoNerd: Because of RAM wraparound the entire memory was aliased to other variables. Causing mass confusion and "wait why is that number changing?" annoyances
08:48 AM qu1j0t3: yikes
08:48 AM qu1j0t3: was it a static array or auto?
08:48 AM LeoNerd: static
08:48 AM qu1j0t3: the linker should have complained :(
08:48 AM LeoNerd: The code was originally for ATtiny1616, but moved to 814 because smaller/simpler application
08:58 AM Thrashbarg: LeoNerd: apparently it's because there's no avr-libc and libc++ available for GCC > 5.4
08:58 AM Thrashbarg: https://stackoverflow.com/questions/44604075/avr-gcc-version-gcc-release-versions-why
08:58 AM LeoNerd: Booo :/
08:59 AM Thrashbarg: you could probably compile the toolchain from source if you were to forgo libc
09:02 AM twnqx: how would that be related?
09:05 AM twnqx: i have avr-libc 2.0.0 with avr-gcc 11.1.0 and avr-ld 2.36.1
09:11 AM Thrashbarg: *shrug*
10:15 AM specing_ is now known as specing
11:14 AM FozzWorth is now known as Guest273
10:14 PM specing_ is now known as specing