diff --git a/examples/16x2-Display/CMakeLists.txt b/examples/16x2-Display/CMakeLists.txt index 4cd3eb2..927d22c 100644 --- a/examples/16x2-Display/CMakeLists.txt +++ b/examples/16x2-Display/CMakeLists.txt @@ -2,7 +2,7 @@ add_executable(16x2_display main.cpp ../../LCD_I2C.cpp) # Add program info pico_set_program_name(16x2_display "Liquid Crystal Display I2C Library - 16x2 LCD Example") -pico_set_program_version(16x2_display "1.0.1") +pico_set_program_version(16x2_display "1.0.2") pico_set_program_url(16x2_display "https://github.com/cristiancristea00/Pico-I2C-LCD/tree/main/examples/16x2-Display") pico_set_program_description(16x2_display "Copyright (c) 2021 Cristian Cristea") diff --git a/examples/20x4-Display/CMakeLists.txt b/examples/20x4-Display/CMakeLists.txt index b6533c4..d1dac4f 100644 --- a/examples/20x4-Display/CMakeLists.txt +++ b/examples/20x4-Display/CMakeLists.txt @@ -2,7 +2,7 @@ add_executable(20x4_display main.cpp ../../LCD_I2C.cpp) # Add program info pico_set_program_name(20x4_display "Liquid Crystal Display I2C Library - 20x4 LCD Example") -pico_set_program_version(16x2_display "1.0.1") +pico_set_program_version(16x2_display "1.0.2") pico_set_program_url(20x4_display "https://github.com/cristiancristea00/Pico-I2C-LCD/tree/main/examples/20x4-Display") pico_set_program_description(20x4_display "Copyright (c) 2021 Cristian Cristea") diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 4299144..e13db25 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -19,8 +19,8 @@ set(CMAKE_CXX_FLAGS_DEBUG "-pipe -g -O0 -Wfatal-errors -Wpedantic -Wall -Wextra set(CMAKE_C_FLAGS_DEBUG "-pipe -g -O0 -Wfatal-errors -Wpedantic -Wall -Wextra -Wconversion -Wshadow=local -Wdouble-promotion -Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-security -Wformat-truncation=2 -Wnull-dereference -Wimplicit-fallthrough=3 -Wshift-overflow=2 -Wswitch-default -Wunused-parameter -Wunused-const-variable=2 -Wstrict-overflow=4 -Wstringop-overflow=3 -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wmissing-noreturn -Wsuggest-attribute=malloc -Wsuggest-attribute=format -Wmissing-format-attribute -Wsuggest-attribute=cold -Walloc-zero -Walloca -Wattribute-alias=2 -Wduplicated-branches -Wcast-qual") # Set Release build compiler arguments -set(CMAKE_CXX_FLAGS_RELEASE "-pipe -O2 -fno-builtin") -set(CMAKE_C_FLAGS_RELEASE "-pipe -O2 -fno-builtin") +set(CMAKE_CXX_FLAGS_RELEASE "-pipe -Os -fno-builtin") +set(CMAKE_C_FLAGS_RELEASE "-pipe -Os -fno-builtin") # Initialise the Raspberry Pi Pico SDK pico_sdk_init()