diff --git a/VERSION_HISTORY.md b/VERSION_HISTORY.md
index c02818c..3519869 100644
--- a/VERSION_HISTORY.md
+++ b/VERSION_HISTORY.md
@@ -79,10 +79,10 @@
* Fix timer0_mode2_reload - TH0 value should be set, now used TL0
* Fix INT0 should be defined in timer0 modes
* timerX_modeX_direct_{reload, start}(TxH, TxL) for direct set TLx, THx registers implemented
-* Does not recompile examples every time. Compile only when it changed.
+* Does not recompile examples every time. Compile only when it changed
+* Compiler output suppressed for examples building in non verbose mode
Next releases todo
-* TODO Suppress compiler output for examples on non verbose build
* TODO Implement counters
* TODO Implement UART
* TODO Optimize timer2 baud rate calculation. Use precalculated array of baudrates
diff --git a/compile_examples.py b/compile_examples.py
index 9186b35..f0a3cc0 100644
--- a/compile_examples.py
+++ b/compile_examples.py
@@ -4,7 +4,8 @@
Import("env")
-print("Add examples to build configuration")
+print("Building examples")
env.SConscript('examples/SConstruct', exports = 'env')
-#env.Execute(['cd examples ; scons ; rm -rf build'])
\ No newline at end of file
+
+print("Build examples finished")
\ No newline at end of file
diff --git a/docs/html/md_VERSION_HISTORY.html b/docs/html/md_VERSION_HISTORY.html
index 1fe775e..09f6d27 100644
--- a/docs/html/md_VERSION_HISTORY.html
+++ b/docs/html/md_VERSION_HISTORY.html
@@ -146,10 +146,10 @@
Fix timer0_mode2_reload - TH0 value should be set, now used TL0
Fix INT0 should be defined in timer0 modes
timerX_modeX_direct_{reload, start}(TxH, TxL) for direct set TLx, THx registers implemented
-Does not recompile examples every time. Compile only when it changed.
+Does not recompile examples every time. Compile only when it changed
+Compiler output suppressed for examples building in non verbose mode
Next releases todo
-- TODO Suppress compiler output for examples on non verbose build
- TODO Implement counters
- TODO Implement UART
- TODO Optimize timer2 baud rate calculation. Use precalculated array of baudrates
diff --git a/doxygen.conf b/doxygen.conf
index e03d4da..9468ff2 100644
--- a/doxygen.conf
+++ b/doxygen.conf
@@ -814,7 +814,7 @@ CITE_BIB_FILES =
# messages are off.
# The default value is: NO.
-QUIET = NO
+QUIET = YES
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
diff --git a/examples/SConstruct b/examples/SConstruct
index c089f0b..b7c47b6 100644
--- a/examples/SConstruct
+++ b/examples/SConstruct
@@ -5,6 +5,10 @@ env.Append(
"-Iinclude"
]
)
+verbose = int(ARGUMENTS.get('PIOVERBOSE', 0))
+
+if verbose == 0:
+ env.SetOption('silent', 1)
base_dir = env.subst("$BUILD_DIR") + "/examples"
diff --git a/examples/bits/SConscript b/examples/bits/SConscript
index 982fae3..4d63a87 100644
--- a/examples/bits/SConscript
+++ b/examples/bits/SConscript
@@ -1,8 +1,12 @@
Import("env")
+def pre_update_print(target, level, status, update, dependencies):
+ print("PreUpdate")
+
env.Default (
env.Object(
source = Glob('*.c'),
- target = 'bits.rel'
+ target = 'bits.rel',
+ pre_update = pre_update_print
)
)
\ No newline at end of file