Fix problem with ADC reads and multiple channels
stmhal: Toggle LED using ODR ^= pin_mask.
Merge pull request #698 from dhylands/adc-fix

Fix problem with ADC reads and multiple channels
bare-arm, stmhal: Fix --nostdlib to -nostdlib

-nostdlib is the correct option, gcc recognizes the double dash version
when in link-only mode, but not when compiling.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
bare-arm, stmhal, teensy: Duplicate -nostdlib to CFLAGS

As we are building with -nostdlib gcc features like the stack protector
will fail linking, because the failure handlers are in gcc's internal
libs. Such features are implicitly disabled during compilation when
-nostdlib is used in CFLAGS too.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>