d-a-v Automatic stack location selection (SYS or HEAP), enable per library …
…AR-chive in arduino build system (#5018)

Automatic stack location selection (SYS or HEAP), enable per library AR-chive in arduino build system 

* enable dot_a_linkage on internal libraries
* add device tests
* boards generator: deprecate --noextra4k/--allowWPS and fix documentation
Latest commit 85e6809 Aug 20, 2018