From 1e6e211903038af0f809c74a9f3a04448d42f959 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sun, 29 May 2022 15:29:57 +0200 Subject: [PATCH] Update compiler toolchain to avr-gcc 12 and switch to C++20 --- eink/eink.cppproj | 216 +++++++++++++++++++++++----------------------- eink/io | 2 +- eink/spi | 2 +- eink/uart | 2 +- 4 files changed, 111 insertions(+), 111 deletions(-) diff --git a/eink/eink.cppproj b/eink/eink.cppproj index d84d846..53b2ac8 100644 --- a/eink/eink.cppproj +++ b/eink/eink.cppproj @@ -15,7 +15,7 @@ eink eink eink - avr-g++-9.1.0 + avr-g++-12.1.0 true false true @@ -100,118 +100,118 @@ - -mmcu=atmega328p - True - True - True - True - False - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include - - - Optimize for size (-Os) - True - True - True - True - -fno-threadsafe-statics -std=c11 - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include - - - Optimize for size (-Os) - True - True - True - -fno-threadsafe-statics -Wextra -std=c++17 - - - libm - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include - - - + -mmcu=atmega328p + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + Optimize for size (-Os) + True + True + True + True + -fno-threadsafe-statics -std=c17 + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + Optimize for size (-Os) + True + True + True + -fno-threadsafe-statics -Wextra -Wno-array-bounds -std=c++20 + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + - -mmcu=atmega328p - True - True - True - True - False - True - True - - - DEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include - - - Optimize (-O1) - True - Maximum (-g3) - True - True - True - -fno-threadsafe-statics -std=c11 - True - True - - - DEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include - - - Optimize debugging experience (-Og) - True - Maximum (-g3) - True - True - -fno-threadsafe-statics -Wextra -std=c++17 - - - libm - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include - - - Default (-Wa,-g) - + -mmcu=atmega328p + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + Optimize (-O1) + True + Maximum (-g3) + True + True + True + -fno-threadsafe-statics -std=c17 + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + Optimize (-O1) + True + Maximum (-g3) + True + True + -fno-threadsafe-statics -Wextra -std=c++20 + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + Default (-Wa,-g) + diff --git a/eink/io b/eink/io index d89322b..bf94eba 160000 --- a/eink/io +++ b/eink/io @@ -1 +1 @@ -Subproject commit d89322bdaae6c08bedc65209373e0a1fc5c9af05 +Subproject commit bf94ebaac143c2a6f48abcd99573547030ce1bd8 diff --git a/eink/spi b/eink/spi index 852ad5a..85346f2 160000 --- a/eink/spi +++ b/eink/spi @@ -1 +1 @@ -Subproject commit 852ad5a3184ef6828e99b439fc078dd7ca83b5df +Subproject commit 85346f258fd7cac32b4f4d9df0350b97b8e9d9e8 diff --git a/eink/uart b/eink/uart index 119de32..a5f8e8e 160000 --- a/eink/uart +++ b/eink/uart @@ -1 +1 @@ -Subproject commit 119de3244588b19b4afb06f33f66f22bb80a89b5 +Subproject commit a5f8e8e3d7be26eaaeb5b29d44d02879bd5d36de