From fefbf6a5b30e688c3e6b8af4425a0729ae111f2a Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 29 Jun 2022 22:48:16 +0200 Subject: [PATCH] ci: check_public_headers: exclude sections generated on RISC-V target --- tools/ci/check_public_headers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/check_public_headers.py b/tools/ci/check_public_headers.py index 037352d6d3..427e8dacc0 100644 --- a/tools/ci/check_public_headers.py +++ b/tools/ci/check_public_headers.py @@ -88,7 +88,7 @@ class PublicHeaderChecker: self.error_macro = re.compile(r'#error') self.error_orphan_kconfig = re.compile(r'#error CONFIG_VARS_USED_WHILE_SDKCONFIG_NOT_INCLUDED') self.kconfig_macro = re.compile(r'\bCONFIG_[A-Z0-9_]+') - self.assembly_nocode = r'^\s*(\.file|\.text|\.ident).*$' + self.assembly_nocode = r'^\s*(\.file|\.text|\.ident|\.option|\.attribute).*$' self.check_threads = [] self.job_queue = queue.Queue()