Updated teensy to build.

Refactored some stmhal files which are shared with teensy.
Added hexfile target
Add copysignf

* Fix #692
Add timer_deinit and call it just before doing a soft-restart

This fixes #733.
stackctrl: Add "mp_" prefix.
Try not to cause a MemoryError when raising an exception during nterrupt handling.

Step 1 fixes #732
Merge pull request #734 from iabdalkader/copysign

Add copysignf
Merge branch 'preserve-except' of github.com:dhylands/micropython into dhylands-preserve-except
py, objexcept: Only check for locked gc if gc is enabled.
Merge branch 'dhylands-preserve-except'
Merge branch 'teensy-new' of github.com:dhylands/micropython into dhylands-teensy-new

Conflicts:
	stmhal/pin_named_pins.c
	stmhal/readline.c

Renamed HAL_H to MICROPY_HAL_H.  Made stmhal/mphal.h which intends to
define the generic Micro Python HAL, which in stmhal sits above the ST
HAL.
Merge branch 'dhylands-teensy-new'
Merge pull request #709 from windelbouwman/master

Added hexfile target
Merge branch 'add-timer-deinit' of github.com:dhylands/micropython into dhylands-add-timer-deinit
stmhal: Some reordering of code/functions.
Merge branch 'dhylands-add-timer-deinit'
modsstruct: Foreign data interface module, roughly based on ctype ideas.

But much smaller and memory-efficient. Uses Python builtin data structures
(dict, tuple, int) to describe structure layout.

Currently, the only available docs are testcases.
modsstruct: sizeof(): Fix handling of recursive structs.
modsstruct: sizeof(): Operate on sstruct objects too (not just on layouts).
modsstruct: Replace some asserts with exceptions.