From 822ebb4cae2bb8bc9fe55915bd4acc4942fcd8ce Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 7 Oct 2021 17:28:26 -0500 Subject: Add support for IDLE Thread stack allocator Add a stack allocator hook specifically for allocation of IDLE thread stacks. This allows the user to decide if IDLE thread stacks are statically allocated or handled by the same custom allocator mechanism as other thread stacks. Closes #4524. --- spec/build/testsuites/sptests/grp.yml | 4 ++++ spec/build/testsuites/sptests/spstkalloc03.yml | 19 +++++++++++++++++++ spec/build/testsuites/sptests/spstkalloc04.yml | 19 +++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 spec/build/testsuites/sptests/spstkalloc03.yml create mode 100644 spec/build/testsuites/sptests/spstkalloc04.yml (limited to 'spec/build/testsuites/sptests') diff --git a/spec/build/testsuites/sptests/grp.yml b/spec/build/testsuites/sptests/grp.yml index d3cd53fb4a..6b16c115ba 100644 --- a/spec/build/testsuites/sptests/grp.yml +++ b/spec/build/testsuites/sptests/grp.yml @@ -395,6 +395,10 @@ links: uid: spstkalloc - role: build-dependency uid: spstkalloc02 +- role: build-dependency + uid: spstkalloc03 +- role: build-dependency + uid: spstkalloc04 - role: build-dependency uid: spsysinit01 - role: build-dependency diff --git a/spec/build/testsuites/sptests/spstkalloc03.yml b/spec/build/testsuites/sptests/spstkalloc03.yml new file mode 100644 index 0000000000..fbdb91bd6f --- /dev/null +++ b/spec/build/testsuites/sptests/spstkalloc03.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2030 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/sptests/spstkalloc03/init.c +stlib: [] +target: testsuites/sptests/spstkalloc03.exe +type: build +use-after: [] +use-before: [] diff --git a/spec/build/testsuites/sptests/spstkalloc04.yml b/spec/build/testsuites/sptests/spstkalloc04.yml new file mode 100644 index 0000000000..64340ed8f7 --- /dev/null +++ b/spec/build/testsuites/sptests/spstkalloc04.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2040 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/sptests/spstkalloc04/init.c +stlib: [] +target: testsuites/sptests/spstkalloc04.exe +type: build +use-after: [] +use-before: [] -- cgit v1.2.3