1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

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
This commit is contained in:
david gauchard
2018-08-20 14:35:52 +02:00
committed by GitHub
parent 9f67d83907
commit 85e68093e9
37 changed files with 268 additions and 151 deletions

View File

@ -1275,9 +1275,6 @@ def all_boards ():
if nofloat:
print(id + '.build.float=')
if noextra4kheap:
print(id + '.build.noextra4kheap=-DNO_EXTRA_4K_HEAP')
print('')
if boardsgen:
@ -1372,8 +1369,6 @@ def usage (name,ret):
print(" --speed s - change default serial speed")
print(" --customspeed s - new serial speed for all boards")
print(" --nofloat - disable float support in printf/scanf")
print(" --noextra4kheap - disable extra 4k heap (will enable WPS)")
print(" --allowWPS - synonym for --noextra4kheap")
print("")
print(" mandatory option (at least one):")
print("")
@ -1417,7 +1412,6 @@ default_speed = '115'
led_default = 2
led_max = 16
nofloat = False
noextra4kheap = False
ldgen = False
ldshow = False
boardsgen = False
@ -1478,7 +1472,7 @@ for o, a in opts:
nofloat=True
elif o in ("--noextra4kheap", "--allowWPS"):
noextra4kheap=True
print('option ' + o + ' is now deprecated, without effect, and will be removed')
elif o in ("--ldshow"):
ldshow = True