From d1452b6dc015291677a1a7c7618a19f514a63580 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sun, 18 Oct 2020 12:19:19 +0200 Subject: [PATCH] Update uart example to use latest library version --- .gitmodules | 6 +- uart/type | 1 - uart/uart | 2 +- uart/uart.cppproj | 241 +++++++++++++++++++++++++--------------------- uart/util | 1 + 5 files changed, 134 insertions(+), 117 deletions(-) delete mode 160000 uart/type create mode 160000 uart/util diff --git a/.gitmodules b/.gitmodules index ac45ea7..ec5c0e8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,6 +7,6 @@ [submodule "uart/flash"] path = uart/flash url = git@git.blackmark.me:avr/flash.git -[submodule "uart/type"] - path = uart/type - url = git@git.blackmark.me:avr/type.git +[submodule "uart/util"] + path = uart/util + url = git@git.blackmark.me:avr/util.git diff --git a/uart/type b/uart/type deleted file mode 160000 index ce31ef0..0000000 --- a/uart/type +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ce31ef017f738baaca6f0cbf99dac9d59b5e6811 diff --git a/uart/uart b/uart/uart index 8f88cdc..119de32 160000 --- a/uart/uart +++ b/uart/uart @@ -1 +1 @@ -Subproject commit 8f88cdccea6b8f1f8521bcad6724cacb1e6acbcf +Subproject commit 119de3244588b19b4afb06f33f66f22bb80a89b5 diff --git a/uart/uart.cppproj b/uart/uart.cppproj index 0027b44..7eb2f9e 100644 --- a/uart/uart.cppproj +++ b/uart/uart.cppproj @@ -47,6 +47,17 @@ 125000 + + \Debug\uart.lss + + + .lss + ^\s*(?<address>[a-f0-9]*):\s*.*$ + true + address + $pc + + @@ -77,119 +88,119 @@ - -mmcu=atmega1284p - True - True - True - True - True - False - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include - - - Optimize for size (-Os) - True - True - True - True - -fno-threadsafe-statics -std=c11 - True - True - - - NDEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include - - - Optimize for size (-Os) - True - True - True - -fno-threadsafe-statics -Wextra -std=c++17 - - - libm - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include - - - + -mmcu=atmega1284p + True + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + + + Optimize for size (-Os) + True + True + True + True + -fno-threadsafe-statics -std=c11 + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + + + Optimize for size (-Os) + True + True + True + -fno-threadsafe-statics -Wextra -std=c++17 + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + + + - -mmcu=atmega1284p - True - True - True - True - True - False - True - True - - - DEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include - - - Optimize (-O1) - True - Maximum (-g3) - True - True - True - -fno-threadsafe-statics -std=c11 - True - True - - - DEBUG - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include - - - True - Maximum (-g3) - True - True - -fno-threadsafe-statics -Wextra -std=c++17 - - - libm - - - - - %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include - - - Default (-Wa,-g) - + -mmcu=atmega1284p + True + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + + + Optimize (-O1) + True + Maximum (-g3) + True + True + True + -fno-threadsafe-statics -std=c11 + True + True + + + DEBUG + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + + + True + Maximum (-g3) + True + True + -fno-threadsafe-statics -Wextra -std=c++17 + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + + + Default (-Wa,-g) + @@ -205,9 +216,6 @@ compile - - compile - compile @@ -226,11 +234,20 @@ compile + + compile + + + compile + + + compile + - + diff --git a/uart/util b/uart/util new file mode 160000 index 0000000..81b3ae2 --- /dev/null +++ b/uart/util @@ -0,0 +1 @@ +Subproject commit 81b3ae244c9773e7ea8ee08af43193275db48514