3 Commits

Author SHA1 Message Date
Piotr Esden-Tempski
8545d9d565 Using while(1) instead of exit.
The exit function can significantly increase code size, and adds
dependency on stdlibc.
2013-04-21 19:13:35 -07:00
Andrey Smirnov
6cb7d8abf3 Add a "noreturn" attribute to 'scb_reset_system'
Adding this attribute allows to avoid warnings issued by GCC in cases
when 'scb_reset_system' is used as a last call in a function with
"noreturn" attribute set(usually reset handler of some sorts)
2013-04-16 16:57:58 -07:00
chrysn
e20f1c0d8f unify scb (system control block)
these register definitions are common to all cortex mcus. some of the
registers might not be implemented everywhere (especially the floating
point registers), but defining them does no harm.

this modification does not result in any changes in the example
binaries.
2012-10-18 21:45:20 +02:00